[arch-commits] Commit in haskell-statevar/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Tue Nov 6 20:35:57 UTC 2018
Date: Tuesday, November 6, 2018 @ 20:35:57
Author: felixonmars
Revision: 402129
upgpkg: haskell-statevar 1.1.1.1-3
rebuild with ghc 8.6.1
Modified:
haskell-statevar/trunk/PKGBUILD
----------+
PKGBUILD | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-11-06 20:35:28 UTC (rev 402128)
+++ PKGBUILD 2018-11-06 20:35:57 UTC (rev 402129)
@@ -4,7 +4,7 @@
_hkgname=StateVar
pkgname=haskell-statevar
pkgver=1.1.1.1
-pkgrel=2
+pkgrel=3
pkgdesc="State variables"
url="https://github.com/haskell-opengl/StateVar"
license=("custom:BSD3")
@@ -15,10 +15,10 @@
sha512sums=('4b4d24dee812dafce1b5d08a6a7034edd005f2128012276cb8f43a413597a1303000ab625b3458a287840ea1d331d0659fbfde81bbf83933156870f107c31610')
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