[arch-commits] Commit in haskell-hledger-lib/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Wed Oct 4 16:17:18 UTC 2017
Date: Wednesday, October 4, 2017 @ 16:17:17
Author: felixonmars
Revision: 261531
upgpkg: haskell-hledger-lib 1.4-1
rebuild with hledger,1.4 hledger-api,1.4 hledger-lib,1.4 hledger-ui,1.4 hledger-web,1.4
Modified:
haskell-hledger-lib/trunk/PKGBUILD
----------+
PKGBUILD | 13 ++++++-------
1 file changed, 6 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-10-04 16:15:11 UTC (rev 261530)
+++ PKGBUILD 2017-10-04 16:17:17 UTC (rev 261531)
@@ -4,8 +4,8 @@
_hkgname=hledger-lib
pkgname=haskell-hledger-lib
-pkgver=1.3.2
-pkgrel=5
+pkgver=1.4
+pkgrel=1
pkgdesc="Core data types, parsers and functionality for the hledger accounting tools"
url="http://hledger.org"
license=("GPL")
@@ -18,7 +18,7 @@
'haskell-semigroups')
makedepends=('ghc')
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha512sums=('f03a39f183263a9e2a4f46c148ed8fe8357c5731b6bde385655b0f7f252e4a1422c2ac547d9f8ffd0f046fd12f6195004d8dea3de248c565561bd02a07f005e7')
+sha512sums=('21882c36c8998cc8fb21a57f907d52fe193b9091a4cb44774cb98b3fce7f50a148abae7acaa6d0bfafffc96803a7ccc60c52dd92efd5256757da106f33bafc60')
prepare() {
# It does nothing
@@ -28,11 +28,10 @@
build() {
cd "${srcdir}/${_hkgname}-${pkgver}"
-
+
runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
- --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
- -f-oldtime
+ --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
runhaskell Setup build
runhaskell Setup register --gen-script
runhaskell Setup unregister --gen-script
@@ -42,7 +41,7 @@
package() {
cd "${srcdir}/${_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}"
More information about the arch-commits
mailing list