[arch-commits] Commit in haskell-hex/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Tue Nov 6 19:02:25 UTC 2018
Date: Tuesday, November 6, 2018 @ 19:02:24
Author: felixonmars
Revision: 401905
upgpkg: haskell-hex 0.1.2-10
rebuild with ghc 8.6.1
Modified:
haskell-hex/trunk/PKGBUILD
----------+
PKGBUILD | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-11-06 19:01:50 UTC (rev 401904)
+++ PKGBUILD 2018-11-06 19:02:24 UTC (rev 401905)
@@ -4,7 +4,7 @@
_hkgname=hex
pkgname=haskell-hex
pkgver=0.1.2
-pkgrel=9
+pkgrel=10
pkgdesc="Convert strings into hexadecimal and back."
url="https://hackage.haskell.org/package/${_hkgname}"
license=("custom:BSD3")
@@ -15,10 +15,10 @@
sha512sums=('30608035819260b94759d644644b92a7145defa000685de53323ab4e765250ead410010e4ab96e99b97af647e97394c86edaf92cb811aa5df8228669b8ff9b4d')
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 "COPYING" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
rm -f "${pkgdir}/usr/share/doc/${pkgname}/COPYING"
}
More information about the arch-commits
mailing list