[arch-commits] Commit in haskell-test-framework-hunit/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Tue Nov 6 23:20:33 UTC 2018
Date: Tuesday, November 6, 2018 @ 23:20:33
Author: felixonmars
Revision: 402447
upgpkg: haskell-test-framework-hunit 0.3.0.2-34
rebuild with ghc 8.6.2
Modified:
haskell-test-framework-hunit/trunk/PKGBUILD
----------+
PKGBUILD | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-11-06 23:19:58 UTC (rev 402446)
+++ PKGBUILD 2018-11-06 23:20:33 UTC (rev 402447)
@@ -4,7 +4,7 @@
_hkgname=test-framework-hunit
pkgname=haskell-test-framework-hunit
pkgver=0.3.0.2
-pkgrel=33
+pkgrel=34
pkgdesc="HUnit support for the test-framework package."
url="https://batterseapower.github.io/test-framework/"
license=("custom:BSD3")
@@ -19,10 +19,10 @@
}
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 \
-f-base3 -fbase4
runhaskell Setup build
@@ -33,11 +33,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