[arch-commits] Commit in haskell-tasty-th/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Wed Nov 7 09:35:09 UTC 2018
Date: Wednesday, November 7, 2018 @ 09:35:08
Author: felixonmars
Revision: 402557
upgpkg: haskell-tasty-th 0.1.7-42
rebuild with ghc 8.6.2
Modified:
haskell-tasty-th/trunk/PKGBUILD
----------+
PKGBUILD | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-11-07 09:34:14 UTC (rev 402556)
+++ PKGBUILD 2018-11-07 09:35:08 UTC (rev 402557)
@@ -4,7 +4,7 @@
_hkgname=tasty-th
pkgname=haskell-tasty-th
pkgver=0.1.7
-pkgrel=41
+pkgrel=42
pkgdesc="Automatic tasty test case discovery using TH"
url="http://github.com/bennofs/tasty-th"
license=("custom:BSD3")
@@ -15,10 +15,10 @@
sha512sums=('7302220ab27aaed22e064518e915610fd5dc7033a931f862fbc63e8a0b1cadcf9306ab3d54d48a10a200c8c8a62b9259462f513a6350df5a02836c6a29f51aef')
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
@@ -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 "BSD3.txt" "${pkgdir}/usr/share/licenses/${pkgname}/BSD3.txt"
rm -f "${pkgdir}/usr/share/doc/${pkgname}/BSD3.txt"
}
More information about the arch-commits
mailing list