updated on Sun Jan 22 12:09:12 UTC 2012
[aur-mirror.git] / pxsl-tools / PKGBUILD
blob779df74595aa85e600058a1d82d53081fa8691b1
1 # custom variables
2 _hkgname=pxsl-tools
3 _licensefile=LICENSE
5 # PKGBUILD options/directives
6 pkgname=pxsl-tools
7 pkgver=1.0.1
8 pkgrel=18
9 pkgdesc="Parsimonious XML Shorthand Language--to-XML compiler"
10 url="http://community.moertel.com/ss/space/PXSL"
11 license=("GPL")
12 arch=('i686' 'x86_64')
13 makedepends=("ghc=7.0.3-2"
14              "haskell-containers=0.4.0.0"
15              "haskell-mtl=2.0.1.0"
16              "haskell-parsec=3.1.1")
17 depends=()
18 options=('strip')
19 source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
21 sha256sums=("dc311c012b0b6b482cdd26337f44cff8259269d3dd83f482ab4049965fa085e0")
23 # PKGBUILD functions
24 build() {
25     cd ${srcdir}/${_hkgname}-${pkgver}
26     runhaskell Setup configure -O --prefix=/usr --docdir=/usr/share/doc/${pkgname}
27     runhaskell Setup build
30 package() {
31     cd ${srcdir}/${_hkgname}-${pkgver}
32     runhaskell Setup copy --destdir=${pkgdir}