diff options
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 20 |
2 files changed, 16 insertions, 19 deletions
@@ -1,20 +1,17 @@ # Generated by mksrcinfo v8 -# Fri Oct 28 13:15:44 UTC 2016 +# Wed Dec 27 22:33:16 UTC 2017 pkgbase = photoname pkgdesc = Rename JPEG photo files based on shoot date - pkgver = 3.2 - pkgrel = 2 - url = http://hub.darcs.net/dino/photoname - arch = i686 + pkgver = 3.3 + pkgrel = 1 + url = https://github.com/dino-/photoname arch = x86_64 license = BSD3 - makedepends = ghc - makedepends = stack depends = gmp depends = libexif depends = libffi - source = http://hackage.haskell.org/package/photoname-3.2/photoname-3.2.tar.gz - sha256sums = 6a4ee3e631d005b6904444d025ec1ccd9aa4dd0e841f4068806567998e86fcf9 + source = https://github.com/dino-/photoname/releases/download/3.3/photoname-3.3-linux.tar.gz + sha256sums = e6651cc9f3037ea5c34183a176b2199229c2f6b6023e3ebffe71d3ab6fd4bd4f pkgname = photoname @@ -1,23 +1,23 @@ # Maintainer: Dino Morelli <dino@ui3.info> pkgname=photoname -pkgver=3.2 -pkgrel=2 +pkgver=3.3 +pkgrel=1 pkgdesc='Rename JPEG photo files based on shoot date' -arch=('i686' 'x86_64') -url="http://hub.darcs.net/dino/photoname" +arch=('x86_64') +url="https://github.com/dino-/photoname" license=('BSD3') -depends=('gmp' 'libexif' 'libffi') -makedepends=('ghc' 'stack') -source=("http://hackage.haskell.org/package/${pkgname}-${pkgver}/${pkgname}-${pkgver}.tar.gz") +depends=('gmp' 'libexif') +makedepends=() +source=("https://github.com/dino-/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}-linux.tar.gz") -sha256sums=('6a4ee3e631d005b6904444d025ec1ccd9aa4dd0e841f4068806567998e86fcf9') +sha256sums=('e6651cc9f3037ea5c34183a176b2199229c2f6b6023e3ebffe71d3ab6fd4bd4f') # PKGBUILD functions package() { cd ${srcdir}/${pkgname}-${pkgver} - - stack runghc -- ./util/install.hs --prefix=${pkgdir}/usr + mkdir "${pkgdir}/usr" + cp -r * "${pkgdir}/usr" } |