[arch-commits] Commit in haskell-placeholders/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Tue Nov 6 19:56:38 UTC 2018
Date: Tuesday, November 6, 2018 @ 19:56:38
Author: felixonmars
Revision: 402038
upgpkg: haskell-placeholders 0.1-10
rebuild with ghc 8.6.1
Modified:
haskell-placeholders/trunk/PKGBUILD
----------+
PKGBUILD | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-11-06 19:55:35 UTC (rev 402037)
+++ PKGBUILD 2018-11-06 19:56:38 UTC (rev 402038)
@@ -4,7 +4,7 @@
_hkgname=placeholders
pkgname=haskell-placeholders
pkgver=0.1
-pkgrel=9
+pkgrel=10
pkgdesc="Placeholders for use while developing Haskell code"
url="https://github.com/ahammar/placeholders"
license=("custom:BSD3")
@@ -15,10 +15,10 @@
sha512sums=('29248b791853ab28e79238f454754ab8a87364c46387a2c026f5cad315bf26782924ff86516ad4948e7ed2ac8a9e1074dfbb8f8c73506ff66b93f2c8158599c9')
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