summaryrefslogtreecommitdiff
path: root/community/alex/PKGBUILD
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2013-12-27 23:55:53 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2013-12-27 23:55:53 +0000
commit65eeff79fff8a1bfdf67ca51d147384f46f4d5c0 (patch)
treefbfdff322b28d9a3c37e6e31c94caf1d8e48dac1 /community/alex/PKGBUILD
parentd53c44f055929b18d7d1b25f8367ee5836c435fc (diff)
Fri Dec 27 23:54:04 UTC 2013
Diffstat (limited to 'community/alex/PKGBUILD')
-rw-r--r--community/alex/PKGBUILD16
1 files changed, 8 insertions, 8 deletions
diff --git a/community/alex/PKGBUILD b/community/alex/PKGBUILD
index 25345ec7e..9c2cdff22 100644
--- a/community/alex/PKGBUILD
+++ b/community/alex/PKGBUILD
@@ -1,34 +1,34 @@
-# $Id: PKGBUILD 89285 2013-04-28 16:52:06Z td123 $
+# $Id: PKGBUILD 102107 2013-12-05 10:44:35Z arodseth $
# 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.5
-pkgrel=2
+pkgver=3.1.3
+pkgrel=1
pkgdesc='Lexical analyser generator for Haskell'
arch=('x86_64' 'i686')
url='http://hackage.haskell.org/package/alex'
license=('custom:BSD3')
depends=('gmp')
-makedepends=('ghc=7.6.3-1' 'haskell-quickcheck>=2')
+makedepends=('ghc=7.6.3-1' 'haskell-quickcheck>=2' 'happy')
source=("http://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz")
-sha256sums=('c3326417a0538e355e5ad1871ab931b9c8145391e8b2ff79668eb643d9b99659')
+sha256sums=('8d41a6e72a016155f00c846f7146ab4b27fe9640668a4b592d6a9b856f970a92')
build() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd "$pkgname-$pkgver"
runghc Setup.lhs configure --prefix=/usr --datasubdir="$pkgname"
runghc Setup.lhs build
}
package() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd "$pkgname-$pkgver"
runghc Setup.lhs copy --destdir="$pkgdir"
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/alex/BSD3"
- # doc only contains the license
+ # Doc only contains the license
rm -rf $pkgdir/usr/share/doc
}