updated on Mon Jan 9 08:00:21 UTC 2012
[aur-mirror.git] / nyan / PKGBUILD
blob1683af29e4d46167be560fb3fa4769a59ba9971e
1 # custom variables
2 _hkgname=nyan
3 _licensefile=LICENSE
5 # PKGBUILD options/directives
6 pkgname=nyan
7 pkgver=0.2
8 pkgrel=1
9 pkgdesc="Bored? Nyan cat!"
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-mtl=2.0.1.0"
16              "haskell-ncurses=0.2"
17              "haskell-text=0.11.0.5")
18 depends=()
19 options=('strip')
20 source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
22 sha256sums=("89184df9cb730b5b51b0655c1a76025ba6bd7601f79a2c1a41d5ac15cdf26c09")
24 # PKGBUILD functions
25 build() {
26     cd ${srcdir}/${_hkgname}-${pkgver}
27     runhaskell Setup configure -O --prefix=/usr --docdir=/usr/share/doc/${pkgname}
28     runhaskell Setup build
31 package() {
32     cd ${srcdir}/${_hkgname}-${pkgver}
33     runhaskell Setup copy --destdir=${pkgdir}