Felix Yan pushed to branch main at Arch Linux / Packaging / Packages / 
haskell-pgp-wordlist


Commits:
b099f8ce by Felix Yan at 2025-08-10T04:10:54+08:00
upgpkg: 0.1.0.3-278: rebuild with data-default-instances-old-locale 0.0.1.1 
(rebuild pass 1, specified --nocheck)

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,16 +1,16 @@
 pkgbase = haskell-pgp-wordlist
        pkgdesc = Translate between binary data and a human-readable collection 
of words.
        pkgver = 0.1.0.3
-       pkgrel = 277
+       pkgrel = 278
        url = https://github.com/quchen/pgp-wordlist
        arch = x86_64
        license = BSD
+       checkdepends = haskell-doctest
+       checkdepends = haskell-hunit
+       checkdepends = haskell-tasty
+       checkdepends = haskell-tasty-hunit
+       checkdepends = haskell-tasty-quickcheck
        makedepends = ghc
-       makedepends = haskell-doctest
-       makedepends = haskell-hunit
-       makedepends = haskell-tasty
-       makedepends = haskell-tasty-hunit
-       makedepends = haskell-tasty-quickcheck
        depends = ghc-libs
        depends = haskell-vector
        source = 
https://hackage.haskell.org/packages/archive/pgp-wordlist/0.1.0.3/pgp-wordlist-0.1.0.3.tar.gz


=====================================
PKGBUILD
=====================================
@@ -3,22 +3,29 @@
 _hkgname=pgp-wordlist
 pkgname=haskell-pgp-wordlist
 pkgver=0.1.0.3
-pkgrel=277
+pkgrel=278
 pkgdesc="Translate between binary data and a human-readable collection of 
words."
 url="https://github.com/quchen/pgp-wordlist";
 license=('BSD')
 arch=('x86_64')
 depends=('ghc-libs' 'haskell-vector')
-makedepends=('ghc' 'haskell-doctest' 'haskell-hunit' 'haskell-tasty' 
'haskell-tasty-hunit'
-             'haskell-tasty-quickcheck')
+makedepends=('ghc')
+checkdepends=('haskell-doctest' 'haskell-hunit' 'haskell-tasty' 
'haskell-tasty-hunit'
+              'haskell-tasty-quickcheck')
 
source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
 
sha512sums=('b7c6db47c1f9a0b10c5c94ea46b8eee282988e5990ef3dafa2d07a5bfc0718572b04494d23ddab063811ef2452546d6b17010c6490a89031f4b071f1a43d989b')
 
 build() {
     cd $_hkgname-$pkgver
     
+    if (( CHECKFUNC )); then
+        _opts=('--enable-tests')
+    else
+        _opts=('--disable-tests')
+    fi
+    
     runhaskell Setup configure -O --enable-shared --enable-debug-info 
--enable-executable-dynamic --disable-library-vanilla \
-        --prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+        --prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
"${_opts[@]}" \
         --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
     runhaskell Setup build $MAKEFLAGS
     runhaskell Setup register --gen-script



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/haskell-pgp-wordlist/-/commit/b099f8ce28d20c7175c44d6dc98f202d4413e44b

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/haskell-pgp-wordlist/-/commit/b099f8ce28d20c7175c44d6dc98f202d4413e44b
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to