updated on Sun Jan 22 08:00:21 UTC 2012
[aur-mirror.git] / raincat / PKGBUILD
blob46aad3f405066824a99446d984000e847eda9e33
1 # Maintainer: Alexander Rødseth <rodseth@gmail.com>
2 _hkgname=Raincat
3 pkgname=raincat
4 pkgver=1.1.1.2
5 pkgrel=4
6 pkgdesc="Guide the fuzzy cat to safety"
7 url="http://raincat.bysusanlin.com/"
8 license=('custom:BSD3')
9 arch=('x86_64' 'i686')
10 makedepends=('ghc' 'haskell-glut>=2.1.2.1' 'haskell-opengl>=2.2.3.0' 'haskell-sdl>=0.6.2' 'haskell-sdl-image>=0.6.1' 'haskell-sdl-mixer>=0.6.1' 'haskell-containers>=0.3.0.0' 'haskell-extensible-exceptions>=0.1.1.1' 'haskell-mtl' 'haddock')
11 depends=('gmp')
12 options=('strip')
13 source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
14 md5sums=('13574caddc5dc01d387c040db5a09c8d')
16 build() {
17     cd ${srcdir}/${_hkgname}-${pkgver}
18     runhaskell Setup configure --prefix=/usr --docdir=/usr/share/doc/${pkgname} -O
19     runhaskell Setup build
22 package() {
23     cd ${srcdir}/${_hkgname}-${pkgver}
24     runhaskell Setup copy --destdir=${pkgdir}
25     install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
26     rm -f ${pkgdir}/usr/share/doc/${pkgname}/LICENSE
29 # vim:set ts=2 sw=2 et: