mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
26 lines
1.2 KiB
Bash
26 lines
1.2 KiB
Bash
# Maintainer: Vesa Kaihlavirta <vegai@iki.fi>
|
|
# Contributor: Arch Haskell Team <arch-haskell@haskell.org>
|
|
# Package generated by cabal2arch 0.5.2
|
|
pkgname=haskell-terminfo
|
|
pkgrel=1
|
|
pkgver=0.3.0.2
|
|
pkgdesc="Haskell bindings to the terminfo library."
|
|
url="http://hackage.haskell.org/cgi-bin/hackage-scripts/package/terminfo"
|
|
license=('custom:BSD3')
|
|
arch=('i686' 'x86_64')
|
|
depends=('ghc' 'haskell-cabal' 'haskell-extensible-exceptions' sh)
|
|
options=('strip')
|
|
source=(http://hackage.haskell.org/packages/archive/terminfo/$pkgver/terminfo-$pkgver.tar.gz)
|
|
install=haskell-terminfo.install
|
|
md5sums=('912b9e5613d447b22a69d044988e97ac')
|
|
build() {
|
|
cd $startdir/src/terminfo-$pkgver
|
|
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
|
|
install -D -m644 LICENSE $startdir/pkg/usr/share/licenses/$pkgname/LICENSE || return 1
|
|
}
|