[arch-commits] Commit in haskell-binary-tagged/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Mon Jun 22 06:49:53 UTC 2020


    Date: Monday, June 22, 2020 @ 06:49:53
  Author: felixonmars
Revision: 650333

upgpkg: haskell-binary-tagged 0.3-1

Modified:
  haskell-binary-tagged/trunk/PKGBUILD

----------+
 PKGBUILD |   26 +++++++++++++-------------
 1 file changed, 13 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-06-22 06:48:04 UTC (rev 650332)
+++ PKGBUILD	2020-06-22 06:49:53 UTC (rev 650333)
@@ -3,29 +3,24 @@
 
 _hkgname=binary-tagged
 pkgname=haskell-binary-tagged
-pkgver=0.2
-pkgrel=68
+pkgver=0.3
+pkgrel=1
 pkgdesc="Tagged binary serialisation."
 url="https://github.com/phadej/binary-tagged#readme"
 license=("BSD")
 arch=('x86_64')
-depends=('ghc-libs' 'haskell-aeson' 'haskell-base16-bytestring' 'haskell-cryptohash-sha1'
-         'haskell-generics-sop' 'haskell-hashable' 'haskell-scientific' 'haskell-tagged'
-         'haskell-unordered-containers' 'haskell-vector')
-makedepends=('ghc')
+depends=('ghc-libs' 'haskell-base16-bytestring' 'haskell-structured' 'haskell-tagged')
+makedepends=('ghc' 'haskell-binary-instances' 'haskell-quickcheck' 'haskell-quickcheck-instances'
+             'haskell-singleton-bool' 'haskell-tasty' 'haskell-tasty-hunit'
+             'haskell-tasty-quickcheck')
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha512sums=('03bcf80b39d5f8e1256ac45b557904d6750d1786f4b4da0c1b9e5c004503d5375699480f89426145a3eea103555c5f4fc820cb87053a2b6ccf4c7e1d6faf7120')
+sha512sums=('731f94d53eabd0a00c1c116836a5e2eb9543911561b99f91c85df32534b73d7a441f25fdb5e98d2b6cba5523ceeaa112b5671ca8196535dc35c391943cb58b5e')
 
-prepare() {
-    cd $_hkgname-$pkgver
-    sed -i -e 's/< *1/<2/' -e 's/< *4.13/<5/' $_hkgname.cabal
-}
-
 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 $MAKEFLAGS
     runhaskell Setup register --gen-script
@@ -34,6 +29,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