[arch-commits] Commit in haskell-options/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Tue Nov 6 19:47:08 UTC 2018
Date: Tuesday, November 6, 2018 @ 19:47:08
Author: felixonmars
Revision: 402014
upgpkg: haskell-options 1.2.1.1-5
rebuild with ghc 8.6.1
Modified:
haskell-options/trunk/PKGBUILD
----------+
PKGBUILD | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-11-06 19:46:29 UTC (rev 402013)
+++ PKGBUILD 2018-11-06 19:47:08 UTC (rev 402014)
@@ -3,7 +3,7 @@
_hkgname=options
pkgname=haskell-options
pkgver=1.2.1.1
-pkgrel=4
+pkgrel=5
pkgdesc="A powerful and easy-to-use command-line option parser"
url="https://john-millikin.com/software/haskell-options/"
license=('MIT')
@@ -14,10 +14,10 @@
sha512sums=('615a3767b74ca0ba2eae993f6e475963df2a0933f1e6c9bbfe35144c4dc6018af276144b2ec1b608b695dc7fca904784ebc63cd58a432f966588846cb36f94ea')
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
@@ -29,11 +29,11 @@
# Tests not enabled due to circular dependency on chell
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.txt" "${pkgdir}/usr/share/licenses/${pkgname}/license.txt"
rm -f "${pkgdir}/usr/share/doc/${pkgname}/license.txt"
}
More information about the arch-commits
mailing list