mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-05 16:07:26 +08:00
26 lines
710 B
Bash
26 lines
710 B
Bash
# Maintainer: Adrián Chaves Frenández (Gallaecio) <adriyetichaves@gmail.com>
|
|
|
|
pkgname=happy
|
|
pkgver=1.19.3
|
|
pkgrel=1
|
|
pkgdesc="The Parser Generator for Haskell"
|
|
url="http://hackage.haskell.org/package/happy"
|
|
arch=('x86_64')
|
|
license=("custom:BSD3")
|
|
depends=('gmp')
|
|
makedepends=('ghc=7.6.3-1' 'haskell-mtl')
|
|
options=(strip)
|
|
source=(http://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz)
|
|
md5sums=('fb9f4aec9d9e3b92be95a8abc43704b4')
|
|
|
|
|
|
package() {
|
|
cd ${srcdir}/${pkgname}-${pkgver}
|
|
|
|
runhaskell Setup.lhs configure --prefix=/usr
|
|
runhaskell Setup.lhs build
|
|
runhaskell Setup.lhs copy --destdir=$pkgdir
|
|
|
|
install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/$pkgname/LICENSE
|
|
}
|