aboutsummaryrefslogtreecommitdiffstats
path: root/PKGBUILD
blob: 937a49c9d40dedd13675b0182d1065342fe6d7eb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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
}