[arch-commits] Commit in haskell-unordered-containers/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sat Feb 10 07:44:53 UTC 2018
Date: Saturday, February 10, 2018 @ 07:44:52
Author: felixonmars
Revision: 290765
upgpkg: haskell-unordered-containers 0.2.9.0-1
rebuild with unordered-containers,0.2.9.0
Modified:
haskell-unordered-containers/trunk/PKGBUILD
----------+
PKGBUILD | 23 +++++++++++++++--------
1 file changed, 15 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-02-10 07:43:30 UTC (rev 290764)
+++ PKGBUILD 2018-02-10 07:44:52 UTC (rev 290765)
@@ -7,22 +7,24 @@
_hkgname=unordered-containers
pkgname=haskell-unordered-containers
-pkgver=0.2.8.0
-pkgrel=9
+pkgver=0.2.9.0
+pkgrel=1
pkgdesc="Efficient hashing-based container types"
url="https://github.com/tibbe/unordered-containers"
license=("custom:BSD3")
arch=('x86_64')
-depends=('ghc-libs' "haskell-hashable")
-makedepends=('ghc')
+depends=('ghc-libs' 'haskell-hashable')
+makedepends=('ghc' 'haskell-chasingbottoms' 'haskell-hunit' 'haskell-quickcheck'
+ 'haskell-test-framework' 'haskell-test-framework-hunit'
+ 'haskell-test-framework-quickcheck2')
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha512sums=('4cd717aee0519db84dd0f7ac6407df681a1340d7276f3546eb67072e85e464b1c58b427739d66bf28f1075fd8a52310a7637a8169608c2759694196319c36189')
+sha512sums=('d9fb6d173f7d07494cffeffa74d3827e4011957be7f309e9f9c16d484b46d04824a21269185d340b09d65d386d19fd5f6b78a51036a5292e5d33e29819fd225a')
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}" --enable-tests \
--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
-f-debug
runhaskell Setup build
@@ -32,8 +34,13 @@
sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
}
+check() {
+ cd $_hkgname-$pkgver
+ runhaskell Setup test
+}
+
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"
More information about the arch-commits
mailing list