[arch-commits] Commit in haskell-old-time/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Tue Nov 6 19:43:41 UTC 2018
Date: Tuesday, November 6, 2018 @ 19:43:41
Author: felixonmars
Revision: 402006
upgpkg: haskell-old-time 1.1.0.3-16
rebuild with ghc 8.6.1
Modified:
haskell-old-time/trunk/PKGBUILD
----------+
PKGBUILD | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-11-06 19:43:04 UTC (rev 402005)
+++ PKGBUILD 2018-11-06 19:43:41 UTC (rev 402006)
@@ -3,7 +3,7 @@
_hkgname=old-time
pkgname=haskell-old-time
pkgver=1.1.0.3
-pkgrel=15
+pkgrel=16
pkgdesc="This package provides the ability to adapt to locale conventions such as date and time formats."
url="https://hackage.haskell.org/package/${_hkgname}"
license=('custom:BSD3')
@@ -18,10 +18,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-debug
runhaskell Setup build
@@ -32,11 +32,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