5 # PKGBUILD options/directives
9 pkgdesc="Rename JPEG photo files based on shoot date"
10 url="http://ui3.info/d/proj/photoname.html"
12 arch=('i686' 'x86_64')
13 makedepends=("ghc=7.0.3-2"
14 "haskell-directory=1.1.0.0"
15 "haskell-exif=3000.0.0"
16 "haskell-filepath=1.2.0.0"
18 "haskell-old-locale=1.0.0.2"
19 "haskell-parsec=3.1.1"
20 "haskell-time=1.2.0.3"
21 "haskell-unix=2.4.2.0")
24 source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
26 sha256sums=("8f67c5fc53adcaab713439df14f43f11617c07235b402660023f66cbfca07b03")
30 cd ${srcdir}/${_hkgname}-${pkgver}
31 runhaskell Setup configure -O --prefix=/usr --docdir=/usr/share/doc/${pkgname}
32 runhaskell Setup build
36 cd ${srcdir}/${_hkgname}-${pkgver}
37 runhaskell Setup copy --destdir=${pkgdir}