aboutsummaryrefslogtreecommitdiff
path: root/distribute/arch_linux/PKGBUILD
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2018-05-21 05:16:43 +0200
committerdec05eba <dec05eba@protonmail.com>2020-07-06 07:39:26 +0200
commitba6c42faeaaf43014d611096659718e90656f974 (patch)
tree0fd3f6a8b3887ec7562c9152e810584529814f29 /distribute/arch_linux/PKGBUILD
parentcfc39476f7b038893bcaa19fb80b18aefd57ad2a (diff)
Add arch linux pkg file
Diffstat (limited to 'distribute/arch_linux/PKGBUILD')
-rw-r--r--distribute/arch_linux/PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/distribute/arch_linux/PKGBUILD b/distribute/arch_linux/PKGBUILD
new file mode 100644
index 0000000..2bde90d
--- /dev/null
+++ b/distribute/arch_linux/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer: dec05eba <dec05eba at protonmail.com>
+pkgname=sibs-git
+pkgver=0.1.2rf3d7.5272351f
+pkgrel=1
+pkgdesc='Simple build system for native languages'
+arch=('i686' 'x86_64')
+url='https://github.com/DEC05EBA/sibs'
+license=('GPL-3.0')
+depends=('cmake' 'ninja' 'libgit2' 'curl' 'ccache')
+makedepends=('cmake')
+source=('git://github.com/DEC05EBA/sibs.git')
+md5sums=('SKIP')
+provides=(sibs)
+conflicts=(sibs)
+
+build() {
+ cd "$srcdir/$provides/cmake"
+ cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+check() {
+ cd "$srcdir/$provides"
+ ./cmake/sibs test
+}
+
+package() {
+ cd "$srcdir/$provides/cmake"
+ install -Dm644 "$srcdir/$provides/LICENSE" "$pkgdir/usr/share/licenses/$provides/LICENSE"
+ install -Dm755 "$srcdir/$provides/cmake/sibs" "$pkgdir/usr/bin/sibs"
+}