[arch-commits] Commit in haskell-neat-interpolation/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Wed Nov 7 09:07:41 UTC 2018
Date: Wednesday, November 7, 2018 @ 09:07:40
Author: felixonmars
Revision: 402523
upgpkg: haskell-neat-interpolation 0.3.2.2-18
rebuild with ghc 8.6.2
Modified:
haskell-neat-interpolation/trunk/PKGBUILD
----------+
PKGBUILD | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-11-07 09:07:07 UTC (rev 402522)
+++ PKGBUILD 2018-11-07 09:07:40 UTC (rev 402523)
@@ -4,7 +4,7 @@
_hkgname=neat-interpolation
pkgname=haskell-neat-interpolation
pkgver=0.3.2.2
-pkgrel=17
+pkgrel=18
pkgdesc="A quasiquoter for neat and simple multiline text interpolation"
url="https://github.com/nikita-volkov/neat-interpolation"
license=("MIT")
@@ -15,10 +15,10 @@
sha512sums=('04461212cf29ac0ca4afb92db4860c97105827924559e21433615c979964a72a44c816d502211b5f479d8a6c2e072f0cd5cf1bef4f5b07eeaa576e500759d86a')
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