summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDino Morelli2017-12-27 17:35:24 -0500
committerDino Morelli2017-12-27 17:35:24 -0500
commit62b0da5eb5f7b84068f388636d73272b7ba05e26 (patch)
treeed595126021d11d03b31521e664dad517050403c
parentc922a52231c88a99fa849fee25d74e6bf39cb307 (diff)
downloadaur-62b0da5eb5f7b84068f388636d73272b7ba05e26.tar.gz
Adjusted build for upstream version 3.3
This release also now builds from pre-compiled binaries instead of requiring a ton of Haskell build tools to be installed. Much smaller, faster and less prone to breakage.
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD20
2 files changed, 16 insertions, 19 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 669327dcc41..32b7b5ff863 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index 64709645bb4..ad8531079b6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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"
}