[arch-commits] Commit in haskell-network-multicast/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Sat Mar 7 18:15:27 UTC 2020


    Date: Saturday, March 7, 2020 @ 18:15:27
  Author: felixonmars
Revision: 591240

upgpkg: haskell-network-multicast 0.3.2-1: rebuild with network-multicast 0.3.2

Modified:
  haskell-network-multicast/trunk/PKGBUILD

----------+
 PKGBUILD |   15 ++++++++++-----
 1 file changed, 10 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-07 18:14:31 UTC (rev 591239)
+++ PKGBUILD	2020-03-07 18:15:27 UTC (rev 591240)
@@ -3,22 +3,22 @@
 
 _hkgname=network-multicast
 pkgname=haskell-network-multicast
-pkgver=0.2.0
-pkgrel=87
+pkgver=0.3.2
+pkgrel=1
 pkgdesc="Simple multicast library"
 url="https://hackage.haskell.org/package/${_hkgname}"
 license=("custom:PublicDomain")
 arch=('x86_64')
-depends=('ghc-libs' "haskell-network")
+depends=('ghc-libs' 'haskell-network' 'haskell-network-bsd')
 makedepends=('ghc')
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha512sums=('121b42abeb2be9dd254f3ec54f2303c2eda50cf2ae232c354ddcdae87d36fe535cf8d70ee2a87fb782a8114ec55587122075270b08a69418a9f9b0827f692626')
+sha512sums=('6308b09e882a3b99ce762cc30da790d6ff83b777d322842d342f555a307c59f0110b9a46557559e9bb5bfba258644f25ebfb9007f33e62cf6855dec8fd48da99')
 
 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