[arch-commits] Commit in haskell-th-reify-many/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Tue Nov 6 21:42:09 UTC 2018
Date: Tuesday, November 6, 2018 @ 21:42:08
Author: felixonmars
Revision: 402250
upgpkg: haskell-th-reify-many 0.1.8-12
rebuild with ghc 8.6.2
Modified:
haskell-th-reify-many/trunk/PKGBUILD
----------+
PKGBUILD | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-11-06 21:41:30 UTC (rev 402249)
+++ PKGBUILD 2018-11-06 21:42:08 UTC (rev 402250)
@@ -3,7 +3,7 @@
_hkgname=th-reify-many
pkgname=haskell-th-reify-many
pkgver=0.1.8
-pkgrel=11
+pkgrel=12
pkgdesc="Recurseively reify template haskell datatype info"
url="https://github.com/mgsloan/th-reify-many"
license=('custom:BSD3')
@@ -14,10 +14,10 @@
sha512sums=('cea205dea58bbca997c35c2d1bc5def46f415f5a35582913aef212b4b4f0ec7646fb425d94db4c4880b3a6ad7360f116dec7ad670fbee04c3d3e8ec520b18721')
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}" --enable-tests \
+ --prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
runhaskell Setup build
runhaskell Setup register --gen-script
@@ -32,11 +32,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