aboutsummaryrefslogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-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
+}