diff options
author | root <root@rshg054.dnsready.net> | 2012-03-06 00:01:33 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-03-06 00:01:33 +0000 |
commit | b8afacf1f28ac27321feb9b92bd50dd8961b7736 (patch) | |
tree | de441882aca38091a1e438e1d8da8a9af3bd023a /community/alex | |
parent | 11711de1942a141f28faef695c4c78c8357fbf23 (diff) |
Tue Mar 6 00:01:33 UTC 2012
Diffstat (limited to 'community/alex')
-rw-r--r-- | community/alex/PKGBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/community/alex/PKGBUILD b/community/alex/PKGBUILD new file mode 100644 index 000000000..4f078a8ca --- /dev/null +++ b/community/alex/PKGBUILD @@ -0,0 +1,31 @@ +# $Id: PKGBUILD 67160 2012-03-05 00:29:42Z pschmitz $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Maintainer: Vesa Kaihlavirta <vegai@iki.fi> +# Contributor: Philip Nilsson <pnilsson@nullref.se> + +pkgname=alex +pkgver=3.0.1 +pkgrel=1 +pkgdesc='a lexical analyser generator for Haskell' +arch=('i686' 'x86_64') +url='http://www.haskell.org/alex/' +license=('custom:BSD3') +depends=('gmp') +makedepends=('ghc=7.4.1-2' 'haskell-quickcheck=2.4.2-1') +source=("http://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz") +md5sums=('5dec239c89165d159faa2154bc0724cd') + +build() { + cd $srcdir/$pkgname-$pkgver + runghc Setup.lhs configure --prefix=/usr --datasubdir=$pkgname + runghc Setup.lhs build +} + +package() { + cd $srcdir/$pkgname-$pkgver + runghc Setup.lhs copy --destdir=$pkgdir + install -D -m644 LICENSE $pkgdir/usr/share/licenses/alex/BSD3 + + # doc/ contains only license which already installed into proper place + rm -rf $pkgdir/usr/share/doc +} |