diff options
author | Alexandre Pujol | 2018-07-15 21:33:49 +0100 |
---|---|---|
committer | Alexandre Pujol | 2018-07-15 21:33:49 +0100 |
commit | c1f4c73411ff4f2ab58e39ca4ff631c2915c6481 (patch) | |
tree | c9af66ac948b78beb5f45e8ceea59d1e26673082 | |
download | aur-c1f4c73411ff4f2ab58e39ca4ff631c2915c6481.tar.gz |
harvest 0.4
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 35 |
2 files changed, 51 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..3ec0f0bdcb61 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = harvest + pkgdesc = Tool to sort large collections of files according to common typologies + pkgver = 0.4 + pkgrel = 1 + url = https://github.com/dyne/harvest + arch = any + license = GPL3 + depends = zsh + source = https://files.dyne.org/harvest/harvest-0.4.tar.gz + source = https://files.dyne.org/harvest/harvest-0.4.tar.gz.asc + validpgpkeys = 6113D89CA825C5CEDD02C87273B35DA54ACB7D10 + sha512sums = 6a2de69e5ac5d7a3c79c2f27ceae52f4c8386fa648b1c8521cf6925b09b7334429b95f3352adba842e82b8f66214bd7b74f479fad96bc5df08a2d11e103419d8 + sha512sums = 1277ff4d225867eb01c7e1b05c7a44bc9d82b987df720052509f457d546e6c3fa96338e02f3e48e84e1b91cb03cf3de162cd7fe599bb145d830a7f1df8dcd176 + +pkgname = harvest + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..58f17fe53fbb --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,35 @@ +# Maintainer: Alexandre Pujol <alexandre@pujol.io> + +pkgname='harvest' +pkgver=0.4 +pkgrel=1 +pkgdesc='Tool to sort large collections of files according to common typologies' +arch=('any') +url='https://github.com/dyne/harvest' +license=('GPL3') +depends=('zsh') +source=(https://files.dyne.org/${pkgname}/${pkgname}-${pkgver}.tar.gz + https://files.dyne.org/${pkgname}/${pkgname}-${pkgver}.tar.gz.asc) +sha512sums=('6a2de69e5ac5d7a3c79c2f27ceae52f4c8386fa648b1c8521cf6925b09b7334429b95f3352adba842e82b8f66214bd7b74f479fad96bc5df08a2d11e103419d8' + '1277ff4d225867eb01c7e1b05c7a44bc9d82b987df720052509f457d546e6c3fa96338e02f3e48e84e1b91cb03cf3de162cd7fe599bb145d830a7f1df8dcd176') +_prefix=usr/ + +# The public key is found at https://keybase.io/jaromil +# gpg --recv-keys 6113D89CA825C5CEDD02C87273B35DA54ACB7D10 +validpgpkeys=('6113D89CA825C5CEDD02C87273B35DA54ACB7D10') + +prepare() { + cd "${srcdir}/${pkgname}-${pkgver}/" + sed -i -e "s|/usr/local/share/harvest|/${_prefix}/share/harvest|" harvest +} + +build() { + cd "${srcdir}/${pkgname}-${pkgver}/" + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}/" + install -v -d "${pkgdir}/${_prefix}bin" + make PREFIX="${pkgdir}/${_prefix}" install +} |