blob: 7fc5c214c64d667629d16ec109677ef4fd7f584d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# $Id: PKGBUILD 115965 2014-07-19 16:04:49Z td123 $
# Maintainer: Thomas Dziedzic <gostrc@gmail.com>
# Contributor: simo <simo@archlinux.org>
# Contributor: Vesa Kaihlavirta <vegai@iki.fi>
pkgname=happy
pkgver=1.19.3
pkgrel=3
pkgdesc="The Parser Generator for Haskell"
url="http://hackage.haskell.org/package/happy"
arch=('i686' 'x86_64')
license=("custom:BSD3")
depends=('gmp')
makedepends=('ghc=7.8.3-1' 'haskell-mtl=2.1.3.1-3')
source=("http://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
md5sums=('fb9f4aec9d9e3b92be95a8abc43704b4')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
runhaskell Setup.lhs configure -O --prefix=/usr
runhaskell Setup.lhs build
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
runhaskell Setup.lhs copy --destdir="${pkgdir}"
install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|