[arch-commits] Commit in haskell-libmpd/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sun Jan 3 14:27:39 UTC 2021
Date: Sunday, January 3, 2021 @ 14:27:38
Author: felixonmars
Revision: 805368
upgpkg: haskell-libmpd 0.9.3.0-1: rebuild with libmpd 0.9.3.0
Modified:
haskell-libmpd/trunk/PKGBUILD
----------+
PKGBUILD | 21 +++++++++++++--------
1 file changed, 13 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-01-03 14:26:13 UTC (rev 805367)
+++ PKGBUILD 2021-01-03 14:27:38 UTC (rev 805368)
@@ -6,23 +6,22 @@
_hkgname=libmpd
pkgname=haskell-libmpd
-pkgver=0.9.2.0
-pkgrel=27
+pkgver=0.9.3.0
+pkgrel=1
pkgdesc='Client library for MPD, the Music Player Daemon'
url='https://hackage.haskell.org/package/libmpd'
license=('MIT')
arch=('x86_64')
-depends=('ghc-libs' 'gmp' 'haskell-attoparsec' 'haskell-bytestring' 'haskell-containers' 'haskell-data-default'
- 'haskell-filepath' 'haskell-network' 'haskell-safe-exceptions' 'haskell-time' 'haskell-utf8-string'
- 'haskell-primitive')
-makedepends=('ghc')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-data-default-class' 'haskell-network'
+ 'haskell-safe-exceptions' 'haskell-utf8-string')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-hspec')
source=(${pkgname}-${pkgver}.tar.gz::https://github.com/vimus/libmpd-haskell/archive/v${pkgver}.tar.gz)
-sha512sums=('de02e7688aabf3bd060d44201d3cbf7c86672d5c21e5b60742d29c8c49aa26bdd9d08f76141c396b3a4dd4b7d3ab6d60d8e827de84d4defc94f5966bc38e51c7')
+sha512sums=('15f1700443513a5fb0cdff78c4bbf07dde6a27bb124480124eb5a5d5c41822d4514f591ce3c456226cf6e5eafed7a387addd55d19ff6e09603da36f25d091b3b')
build() {
cd ${_hkgname}-haskell-${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 $MAKEFLAGS
runhaskell Setup haddock
@@ -31,6 +30,12 @@
sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
}
+
+check() {
+ cd ${_hkgname}-haskell-${pkgver}
+ runhaskell Setup test
+}
+
package() {
cd ${_hkgname}-haskell-${pkgver}
install -Dm 744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
More information about the arch-commits
mailing list