diff options
author | ctucx <c@ctu.cx> | 2020-06-13 22:26:08 +0200 |
---|---|---|
committer | ctucx <c@ctu.cx> | 2020-06-13 22:26:08 +0200 |
commit | cc91219b0a45a034f35c9e510fb384a9abda0d99 (patch) | |
tree | 04a50b5737b71040db70b4895029adf83c38214a /PKGBUILD | |
parent | 82602f51c5e59a6a005736076a39e893585a93f7 (diff) | |
parent | f4e7434c6c0552a87de74b86939b071c8204f114 (diff) | |
download | gallery-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-- | PKGBUILD | 20 |
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 +} |