[arch-commits] Commit in haskell-reflection/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Tue Nov 6 20:14:13 UTC 2018
Date: Tuesday, November 6, 2018 @ 20:14:12
Author: felixonmars
Revision: 402076
upgpkg: haskell-reflection 2.1.4-3
rebuild with ghc 8.6.1
Modified:
haskell-reflection/trunk/PKGBUILD
----------+
PKGBUILD | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-11-06 20:13:35 UTC (rev 402075)
+++ PKGBUILD 2018-11-06 20:14:12 UTC (rev 402076)
@@ -4,7 +4,7 @@
_hkgname=reflection
pkgname=haskell-reflection
pkgver=2.1.4
-pkgrel=2
+pkgrel=3
pkgdesc="Reifies arbitrary terms into types that can be reflected back into terms"
url="https://github.com/ekmett/reflection"
license=("custom:BSD3")
@@ -15,10 +15,10 @@
sha512sums=('3209bb44a07fedddbb2aeb5f2f09414e6672faff6c8fbdb78eaa8f61a1af4d9fba43be193854f8978ffdd82c0ce54bd79a5d875638a41b6a738bc489bd718295')
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 \
-ftemplate-haskell -f-slow
runhaskell Setup build
@@ -29,11 +29,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