[arch-commits] Commit in haskell-ini/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sat Jan 26 09:40:36 UTC 2019
Date: Saturday, January 26, 2019 @ 09:40:36
Author: felixonmars
Revision: 428044
upgpkg: haskell-ini 0.4.1-1
rebuild with ini 0.4.1
Modified:
haskell-ini/trunk/PKGBUILD
----------+
PKGBUILD | 15 ++++++++++-----
1 file changed, 10 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-01-26 09:37:14 UTC (rev 428043)
+++ PKGBUILD 2019-01-26 09:40:36 UTC (rev 428044)
@@ -3,22 +3,22 @@
_hkgname=ini
pkgname=haskell-ini
-pkgver=0.3.6
-pkgrel=26
+pkgver=0.4.1
+pkgrel=1
pkgdesc="Quick and easy configuration files in the INI format."
url="https://github.com/chrisdone/ini"
license=("BSD")
arch=('x86_64')
depends=('ghc-libs' 'haskell-attoparsec' 'haskell-unordered-containers')
-makedepends=('ghc')
+makedepends=('ghc' 'haskell-hspec')
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha512sums=('b24ca8bf970147cda81be8edee78166e26feee021e5ab00814033de73c7a0b9017b51f9da85f0be6cf5e7e8116bf6ac2b232c3eb76094a20f672fcb162e192a1')
+sha512sums=('ac61a17a29ba82827287aad641f2afcb51ab6b26dab024d761ef0bcbaf960d0288f4715c7a87c1751ecfabc586f43ca3206d0abde2e6b7005cf8e1dd9ece5301')
build() {
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 --enable-tests \
--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
runhaskell Setup build
runhaskell Setup register --gen-script
@@ -27,6 +27,11 @@
sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
}
+check() {
+ cd $_hkgname-$pkgver
+ runhaskell Setup test
+}
+
package() {
cd $_hkgname-$pkgver
More information about the arch-commits
mailing list