Update GHC chain

This commit is contained in:
totte 2013-08-28 09:28:58 +02:00
parent 304a639af1
commit 429048740f
4 changed files with 11 additions and 7 deletions

View File

@ -15,7 +15,7 @@ depends=('ghc' 'haskell-mtl' 'haskell-network' 'haskell-parsec')
options=('strip')
source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
install=${pkgname}.install
md5sums=('0b3433b470e2ae114b356719d3928e0c')
md5sums=('94be05278da4e9324aaef6e012e751e2')
build() {
cd ${srcdir}/${_hkgname}-${pkgver}
runhaskell Setup configure \

View File

@ -15,7 +15,7 @@ depends=('ghc' 'haskell-parsec')
options=('strip')
source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
install=${pkgname}.install
md5sums=('b120c85d327ba9bca5a340db781a9b57')
md5sums=('032075c35dea5d23923af3928f9a5511')
build() {
cd ${srcdir}/${_hkgname}-${pkgver}
runhaskell Setup configure \

View File

@ -15,7 +15,7 @@ depends=('ghc' 'zlib')
options=('strip')
source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
install=${pkgname}.install
md5sums=('eb5984b936a7c37a0cdaa357149176b2')
md5sums=('d0d10786d2bbd1d401a8b28a83e88475')
build() {
cd ${srcdir}/${_hkgname}-${pkgver}
runhaskell Setup configure \

View File

@ -15,19 +15,23 @@ md5sums=('5387ac07a273e08dffb3e3a0f03f7a46')
build() {
cd $srcdir/$pkgname-$pkgver
runhaskell Setup configure -O \
runhaskell Setup configure \
-O \
--prefix=/usr
runhaskell Setup build
}
package() {
cd $srcdir/$pkgname-$pkgver
runhaskell Setup copy --destdir=$pkgdir
runhaskell Setup copy \
--destdir=$pkgdir
# Documentation
install -Dm644 README $pkgdir/usr/share/doc/$pkgname/usage.txt
install -Dm644 README \
$pkgdir/usr/share/doc/$pkgname/usage.txt
rm -R $pkgdir/usr/share/doc/$pkgname-$pkgver
# License
install -Dm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/license.txt
install -Dm644 LICENSE \
$pkgdir/usr/share/licenses/$pkgname/license.txt
}