summaryrefslogtreecommitdiff
path: root/community/alex
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-02-09 00:07:22 -0800
committerroot <root@rshg054.dnsready.net>2013-02-09 00:07:22 -0800
commite9c244cac8e5dc1c59c7e8b7bc885fef04224b70 (patch)
tree64f1532d7e6e652c2ea5a0bb5efd7ea36f431535 /community/alex
parent7c92c5fcfb5653f63243842299e413672653d1ad (diff)
Sat Feb 9 00:07:22 PST 2013
Diffstat (limited to 'community/alex')
-rw-r--r--community/alex/PKGBUILD30
1 files changed, 17 insertions, 13 deletions
diff --git a/community/alex/PKGBUILD b/community/alex/PKGBUILD
index a5d24c2d0..e48b9db79 100644
--- a/community/alex/PKGBUILD
+++ b/community/alex/PKGBUILD
@@ -1,31 +1,35 @@
-# $Id: PKGBUILD 79007 2012-10-29 02:24:24Z arodseth $
-# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
-# Maintainer: Vesa Kaihlavirta <vegai@iki.fi>
+# $Id: PKGBUILD 83990 2013-02-08 04:15:22Z td123 $
+# Maintainer: Alexander Rødseth <rodseth@gmail.com>
+# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Contributor: Vesa Kaihlavirta <vegai@iki.fi>
# Contributor: Philip Nilsson <pnilsson@nullref.se>
pkgname=alex
pkgver=3.0.2
-pkgrel=3
+pkgrel=4
pkgdesc='Lexical analyser generator for Haskell'
-arch=('i686' 'x86_64')
+arch=('x86_64' 'i686')
url='http://hackage.haskell.org/package/alex'
license=('custom:BSD3')
depends=('gmp')
-makedepends=('ghc=7.6.1' 'haskell-quickcheck>=2')
+makedepends=('ghc=7.6.2-1' 'haskell-quickcheck>=2')
source=("http://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz")
-md5sums=('b8f0d831b65d05e5f54ff08bd3d9d10d')
+sha256sums=('997e33342c3c6e0edfff862f051fc286bd661f442d09d1bc02cd6e9d22083164')
build() {
- cd $srcdir/$pkgname-$pkgver
- runghc Setup.lhs configure --prefix=/usr --datasubdir=$pkgname
+ 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
+ cd "$srcdir/$pkgname-$pkgver"
- # doc/ contains only license which already installed into proper place
+ runghc Setup.lhs copy --destdir="$pkgdir"
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/alex/BSD3"
+ # doc only contains the license
rm -rf $pkgdir/usr/share/doc
}
+
+# vim:set ts=2 sw=2 et: