[arch-commits] Commit in haskell-binary-orphans/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Wed Nov 7 10:29:03 UTC 2018
Date: Wednesday, November 7, 2018 @ 10:29:03
Author: felixonmars
Revision: 402660
upgpkg: haskell-binary-orphans 0.1.8.0-67
rebuild with ghc 8.6.2
Modified:
haskell-binary-orphans/trunk/PKGBUILD
----------+
PKGBUILD | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-11-07 10:28:27 UTC (rev 402659)
+++ PKGBUILD 2018-11-07 10:29:03 UTC (rev 402660)
@@ -4,7 +4,7 @@
_hkgname=binary-orphans
pkgname=haskell-binary-orphans
pkgver=0.1.8.0
-pkgrel=66
+pkgrel=67
pkgdesc="Orphan instances for binary"
url="https://github.com/phadej/binary-orphans"
license=("custom:BSD3")
@@ -22,10 +22,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
runhaskell Setup build
runhaskell Setup register --gen-script
@@ -35,11 +35,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