updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / haskell-data-trie-general-ordgt / PKGBUILD
blob777e809c186ccf8cf9df7ebfde8b4a6143a8ddec
1 # Contributor: Arch Haskell Team <arch-haskell@haskell.org>
2 # Package generated by cabal2arch 0.3.4
3 pkgname=haskell-data-trie-general-ordgt
4 pkgrel=1
5 pkgver=0.4
6 pkgdesc="A generalised trie instance for any key that is an instance of Ord."
7 url="http://hackage.haskell.org/cgi-bin/hackage-scripts/package/Data-Trie-General-OrdGT"
8 license=('custom:BSD3')
9 arch=('i686' 'x86_64')
10 makedepends=('ghc' 'haskell-data-cordering' 'haskell-data-tree-avl' 'haskell-data-trie-general')
11 source=(http://hackage.haskell.org/packages/archive/Data-Trie-General-OrdGT/0.4/Data-Trie-General-OrdGT-0.4.tar.gz)
12 install=haskell-data-trie-general-ordgt.install
13 md5sums=('469c793587c0d0d33d50047c33aee38e')
14 build() {
15     cd $startdir/src/Data-Trie-General-OrdGT-0.4
16     runhaskell Setup configure --prefix=/usr || return 1
17     runhaskell Setup build                   || return 1
18     runhaskell Setup register   --gen-script || return 1
19     runhaskell Setup unregister --gen-script || return 1
20     install -D -m744 register.sh   $startdir/pkg/usr/share/haskell/$pkgname/register.sh
21     install    -m744 unregister.sh $startdir/pkg/usr/share/haskell/$pkgname/unregister.sh
22     runhaskell Setup copy --destdir=$startdir/pkg || return 1
23     install -D -m644 LICENSE $startdir/pkg/usr/share/licenses/$pkgname/LICENSE || return 1