[arch-commits] Commit in haskell-bencode/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Tue Nov 6 17:57:21 UTC 2018
Date: Tuesday, November 6, 2018 @ 17:57:20
Author: felixonmars
Revision: 401753
upgpkg: haskell-bencode 0.6.0.0-17
rebuild with ghc 8.6.1
Modified:
haskell-bencode/trunk/PKGBUILD
----------+
PKGBUILD | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-11-06 17:56:43 UTC (rev 401752)
+++ PKGBUILD 2018-11-06 17:57:20 UTC (rev 401753)
@@ -4,7 +4,7 @@
_hkgname=bencode
pkgname=haskell-bencode
pkgver=0.6.0.0
-pkgrel=16
+pkgrel=17
pkgdesc="Parser and printer for bencoded data."
url="https://hackage.haskell.org/package/${_hkgname}"
license=("custom:BSD3")
@@ -15,10 +15,10 @@
sha512sums=('be05a5a086d095e8ed79318c7b0a6e5e29f2483f8c9cbfe768c339353d473f8eb5c3060aaed9d60675bdfd13686e02b2261939ca6d34cc9488318daf2cc664d1')
build() {
- cd "${srcdir}/${_hkgname}-${pkgver}"
+ cd $_hkgname-$pkgver
runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
- --prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+ --prefix=/usr --docdir=/usr/share/doc/$pkgname \
--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
runhaskell Setup build
runhaskell Setup register --gen-script
@@ -28,11 +28,11 @@
}
package() {
- cd "${srcdir}/${_hkgname}-${pkgver}"
+ cd $_hkgname-$pkgver
- install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
- install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
- runhaskell Setup copy --destdir="${pkgdir}"
+ install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+ install -D -m744 unregister.sh "$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+ runhaskell Setup copy --destdir="$pkgdir"
install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
}
More information about the arch-commits
mailing list