aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorctucx <c@ctu.cx>2020-05-24 21:33:58 +0200
committerctucx <c@ctu.cx>2020-05-24 21:33:58 +0200
commitf4e7434c6c0552a87de74b86939b071c8204f114 (patch)
treebae3eb65660f1d0f9375232e44d8eb57a4744852
parent3a13fa6b7b58ed80fb95312e361358d4c924b402 (diff)
downloadgallery-f4e7434c6c0552a87de74b86939b071c8204f114.tar.gz
gallery-f4e7434c6c0552a87de74b86939b071c8204f114.tar.bz2
gallery-f4e7434c6c0552a87de74b86939b071c8204f114.zip
added arch-pkgbuild (untested)
-rw-r--r--PKGBUILD20
1 files changed, 20 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 0000000..937a49c
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,20 @@
+pkgname=gallery
+pkgver=0.1
+pkgrel=1
+arch=('x86_64')
+url="https://git.ctu.cx/ctucx/gallery/"
+license=('GPL-3')
+depends=('glibc' 'imagemagick')
+makedepends=( 'nim' 'nimble' )
+source=("${pkgname}-${pkgver}.tar.xz::https://git.ctu.cx/ctucx/gallery/archive/${pkgver}.tar.gz")
+sha256sums=('92b7672160000bd601e62e6608cf27151c0229d045465572d371c221443a96b4')
+
+build() {
+ cd "$srcdir/${pkgname}/"
+ nimble build -d:release -y
+}
+
+package() {
+ cd "$srcdir/${pkgname}"
+ install -Dm755 ./gallery "$pkgdir"/usr/bin/ctucx_gallery
+}