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

Felix Yan felixonmars at archlinux.org
Wed Jan 22 08:46:34 UTC 2020


    Date: Wednesday, January 22, 2020 @ 08:46:34
  Author: felixonmars
Revision: 553423

upgpkg: haskell-safecopy 0.10.2-1: rebuild with ghc 8.8.1, cabal-doctest 1.0.7, polyparse 1.13, primitive 0.7.0.0, regex-base 0.94.0.0, regex-pcre 0.95.0.0, regex-posix 0.96.0.0, regex-tdfa 1.3.1.0, easytest 0.3, unexceptionalio 0.5.0, gtk2hs-buildtools 0.13.8.0, ghc-typelits-natnormalise 0.7, resolv 0.1.1.3, ghc-typelits-knownnat 0.7.1, memory 0.15.0, RSA 2.4.1, foldl 1.4.6, lens 4.18, postgresql-binary 0.12.2, tls 1.5.0, safecopy 0.10.2

Modified:
  haskell-safecopy/trunk/PKGBUILD

----------+
 PKGBUILD |   18 ++++++++++++------
 1 file changed, 12 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-01-22 08:45:24 UTC (rev 553422)
+++ PKGBUILD	2020-01-22 08:46:34 UTC (rev 553423)
@@ -2,22 +2,23 @@
 
 _hkgname=safecopy
 pkgname=haskell-safecopy
-pkgver=0.9.4.3
-pkgrel=33
+pkgver=0.10.2
+pkgrel=1
 pkgdesc="Binary serialization with version control."
 url="http://acid-state.seize.it/safecopy"
 license=('custom:PublicDomain')
 arch=('x86_64')
-depends=('ghc-libs' 'haskell-cereal' 'haskell-old-time' 'haskell-vector')
-makedepends=('ghc')
+depends=('ghc-libs' 'haskell-cereal' 'haskell-generic-data' 'haskell-old-time' 'haskell-vector')
+makedepends=('ghc' 'haskell-hunit' 'haskell-lens' 'haskell-lens-action' 'haskell-quickcheck'
+             'haskell-quickcheck-instances' 'haskell-tasty' 'haskell-tasty-quickcheck')
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha512sums=('65ad018a6300f80e0c37568ca564a4762ab458db29ae6fcf7d52d10c6438292a071eb20dbee25113c958f3883c15039447c9a30692ab8f7e5e2f3e1848828d48')
+sha512sums=('d92754d96372a2f617cca551b1b4979ce971e3cf87292dd7255fd7c1c31f8ca6c55c948524e683da92183a2ecb60dbe8c1928f711a16d82f85dd830e805061aa')
 
 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
@@ -26,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