Skip to content

Commit c45ae0a

Browse files
committed
pkg: create scip PKGBUILD
1 parent e585678 commit c45ae0a

5 files changed

Lines changed: 62 additions & 0 deletions

File tree

scip/.SRCINFO

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
pkgbase = scip-bin
2+
pkgdesc = Language-agnostic protocol for indexing source code
3+
pkgver = 0.9.0
4+
pkgrel = 1
5+
url = https://github.com/scip-code/scip
6+
arch = x86_64
7+
arch = aarch64
8+
license = Apache-2.0
9+
provides = scip=0.9.0
10+
conflicts = scip
11+
options = !debug
12+
options = !strip
13+
source_x86_64 = https://github.com/scip-code/scip/releases/download/v0.9.0/scip-linux-amd64.tar.gz
14+
sha256sums_x86_64 = fc2e7273e110be9f35924da1066000183791e8bfdb0391355de6eaaa070fec75
15+
source_aarch64 = https://github.com/scip-code/scip/releases/download/v0.9.0/scip-linux-arm64.tar.gz
16+
sha256sums_aarch64 = e97aaf597ab6a6b6fbb1bbc43993e6efb596284aa9c3fa5b20d75186367c5e
17+
18+
pkgname = scip-bin

scip/.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
/pkg/
2+
/src/
3+
/*.pkg.tar.*
4+
/*.src.tar.*
5+
/scip-*.tar.gz

scip/LICENSE

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
Copyright Arch Linux Contributors
2+
3+
Permission to use, copy, modify, and/or distribute this software for
4+
any purpose with or without fee is hereby granted.
5+
6+
THE SOFTWARE IS PROVIDED “AS IS” AND THE AUTHOR DISCLAIMS ALL
7+
WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES
8+
OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE
9+
FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY
10+
DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN
11+
AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
12+
OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

scip/PKGBUILD

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Maintainer: Travis Lyons <pkgbuild at trly dot dev>
2+
pkgname=scip-bin
3+
pkgver=0.9.0
4+
pkgrel=1
5+
pkgdesc="Language-agnostic protocol for indexing source code"
6+
arch=('x86_64' 'aarch64')
7+
url="https://github.com/scip-code/scip"
8+
license=('Apache-2.0')
9+
provides=("scip=${pkgver}")
10+
conflicts=('scip')
11+
options=('!debug' '!strip')
12+
source_x86_64=("${url}/releases/download/v${pkgver}/scip-linux-amd64.tar.gz")
13+
source_aarch64=("${url}/releases/download/v${pkgver}/scip-linux-arm64.tar.gz")
14+
sha256sums_x86_64=('fc2e7273e110be9f35924da1066000183791e8bfdb0391355de6eaaa070fec75')
15+
sha256sums_aarch64=('e97aaf597ab6a6b6fbb1bbc43993e6efb596284aa9c3fa5b20d75186367c5e')
16+
17+
package() {
18+
install -Dm755 scip -t "${pkgdir}/usr/bin/"
19+
install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}/"
20+
}

scip/REUSE.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
version = 1
2+
3+
[[annotations]]
4+
path = [".gitignore", ".SRCINFO", "PKGBUILD"]
5+
precedence = "aggregate"
6+
SPDX-FileCopyrightText = "Arch Linux Contributors"
7+
SPDX-License-Identifier = "0BSD"

0 commit comments

Comments
 (0)