PKGBUILDs/community/haskell-x11-xft/PKGBUILD
2009-10-09 21:15:33 -05:00

25 lines
1 KiB
Bash

# Package generated by cabal2arch 0.5.2
pkgname=haskell-x11-xft
pkgver=0.3
pkgrel=7
pkgdesc="Bindings to the Xft, X Free Type interface library, and some Xrender parts"
url="http://hackage.haskell.org/cgi-bin/hackage-scripts/package/X11-xft"
license=('LGPL')
arch=('i686' 'x86_64')
makedepends=()
depends=('ghc' 'haskell-cabal' 'haskell-x11>=1.2.1' 'haskell-utf8-string>=0.1')
options=('strip')
source=(http://hackage.haskell.org/packages/archive/X11-xft/0.3/X11-xft-0.3.tar.gz)
install=haskell-x11-xft.install
md5sums=('1b4a528a2a4fe5e9de715f6758ff9015')
build() {
cd $startdir/src/X11-xft-0.3
runhaskell Setup configure --prefix=/usr || return 1
runhaskell Setup build || return 1
runhaskell Setup register --gen-script || return 1
runhaskell Setup unregister --gen-script || return 1
install -D -m744 register.sh $startdir/pkg/usr/share/haskell/$pkgname/register.sh
install -m744 unregister.sh $startdir/pkg/usr/share/haskell/$pkgname/unregister.sh
runhaskell Setup copy --destdir=$startdir/pkg || return 1
}