aboutsummaryrefslogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorctucx <c@ctu.cx>2020-06-13 22:26:08 +0200
committerctucx <c@ctu.cx>2020-06-13 22:26:08 +0200
commitcc91219b0a45a034f35c9e510fb384a9abda0d99 (patch)
tree04a50b5737b71040db70b4895029adf83c38214a /PKGBUILD
parent82602f51c5e59a6a005736076a39e893585a93f7 (diff)
parentf4e7434c6c0552a87de74b86939b071c8204f114 (diff)
downloadgallery-cc91219b0a45a034f35c9e510fb384a9abda0d99.tar.gz
gallery-cc91219b0a45a034f35c9e510fb384a9abda0d99.tar.bz2
gallery-cc91219b0a45a034f35c9e510fb384a9abda0d99.zip
Merge branch 'master' of https://git.ctu.cx/ctucx/gallery
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
+}