mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
36 lines
982 B
Bash
36 lines
982 B
Bash
# Maintainer: Vesa Kaihlavirta <vesa@archlinux.org>
|
|
|
|
pkgname=ghc
|
|
pkgver=6.10.4
|
|
pkgrel=1
|
|
pkgdesc="The Glasgow Haskell Compiler"
|
|
arch=('arm')
|
|
url="http://www.haskell.org/ghc/"
|
|
license=("custom")
|
|
depends=(gmp)
|
|
makedepends=(ghc happy perl)
|
|
provides=(haskell-cabal)
|
|
replaces=("haskell-cabal<1.6.0.3")
|
|
backup=(usr/lib/ghc-6.10.4/package.conf)
|
|
install=(ghc.install)
|
|
|
|
source=("http://www.haskell.org/ghc/dist/stable/dist/$pkgname-$pkgver-src.tar.bz2" \
|
|
"http://www.haskell.org/ghc/dist/stable/dist/$pkgname-$pkgver-src-extralibs.tar.bz2"
|
|
build.mk ghc.install)
|
|
|
|
build() {
|
|
cd $startdir/src/$pkgname-$pkgver
|
|
|
|
cp $startdir/build.mk mk/build.mk
|
|
|
|
./configure --prefix=/usr
|
|
make -j2 || return 1
|
|
make DESTDIR=$startdir/pkg install
|
|
|
|
install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/ghc/license
|
|
}
|
|
|
|
md5sums=('167687fa582ef6702aaac24e139ec982'
|
|
'37ce285617d7cebabc3cf6805bdbca25'
|
|
'a05681b982aad44cc6770bd021e35b67'
|
|
'd03bca6b591043c0fe996d72dd448919')
|