updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / hasktags / PKGBUILD
blobd5e1172d93bc391548878c3c3dd7e7fc09a0764c
1 # custom variables
2 _hkgname=hasktags
3 _licensefile=LICENSE
5 # PKGBUILD options/directives
6 pkgname=hasktags
7 pkgver=0.68.1
8 pkgrel=18
9 pkgdesc="Produces ctags "tags" and etags "TAGS" files for Haskell programs"
10 url="http://hackage.haskell.org/package/${_hkgname}"
11 license=("BSD3")
12 arch=('i686' 'x86_64')
13 makedepends=("ghc=7.0.3-2"
14              "haskell-bytestring=0.9.1.10"
15              "haskell-haskell98=1.1.0.1")
16 depends=()
17 options=('strip')
18 source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
20 sha256sums=("32ce9c8f7812158cf1573d6da6700c3e78879f8c7b4dd87c9c03c6c0e5d29226")
22 # PKGBUILD functions
23 build() {
24     cd ${srcdir}/${_hkgname}-${pkgver}
25     runhaskell Setup configure -O --prefix=/usr --docdir=/usr/share/doc/${pkgname}
26     runhaskell Setup build
29 package() {
30     cd ${srcdir}/${_hkgname}-${pkgver}
31     runhaskell Setup copy --destdir=${pkgdir}