mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
27 lines
759 B
Bash
27 lines
759 B
Bash
# $Id: PKGBUILD 37875 2009-05-04 06:41:22Z vesa $
|
|
# Maintainer: simo <simo@archlinux.org>
|
|
# Contributor: Vesa Kaihlavirta <vegai@iki.fi>
|
|
|
|
pkgname=happy
|
|
pkgver=1.18.4
|
|
pkgrel=1
|
|
pkgdesc="The Parser Generator for Haskell"
|
|
url="http://www.haskell.org/happy/"
|
|
arch=('i686' 'x86_64')
|
|
license=("custom:BSD3")
|
|
depends=(gmp)
|
|
makedepends=(ghc)
|
|
options=(strip)
|
|
source=(http://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz)
|
|
md5sums=('614e3ef9623dbeefc4c8ca699912efb4')
|
|
|
|
|
|
build() {
|
|
cd $startdir/src/${pkgname}-${pkgver}
|
|
|
|
./Setup.lhs configure --prefix=/usr || return 1
|
|
./Setup.lhs build || return 1
|
|
./Setup.lhs copy --destdir=$startdir/pkg || return 1
|
|
|
|
install -D -m644 LICENSE $startdir/pkg/usr/share/licenses/$pkgname/LICENSE
|
|
}
|