Felix Yan pushed to branch main at Arch Linux / Packaging / Packages /
haskell-wl-pprint-terminfo
Commits:
575f2f2f by Felix Yan at 2024-02-26T12:36:39+00:00
upgpkg: 3.7.1.4-413: rebuild with GHC 9.2.8, doctest-parallel 0.3.1,
filepath-bytestring 1.4.2.1.13, ghc-lib-parser 9.2.8.20230729,
ghc-lib-parser-ex 9.2.1.1, resolv 0.2.0.2
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,11 +1,12 @@
pkgbase = haskell-wl-pprint-terminfo
pkgdesc = A color pretty printer with terminfo support
pkgver = 3.7.1.4
- pkgrel = 412
+ pkgrel = 413
url = https://github.com/ekmett/wl-pprint-terminfo/
arch = x86_64
license = BSD
makedepends = ghc
+ makedepends = uusi
depends = ghc-libs
depends = haskell-wl-pprint-extras
source =
https://hackage.haskell.org/packages/archive/wl-pprint-terminfo/3.7.1.4/wl-pprint-terminfo-3.7.1.4.tar.gz
=====================================
PKGBUILD
=====================================
@@ -3,26 +3,28 @@
_hkgname=wl-pprint-terminfo
pkgname=haskell-wl-pprint-terminfo
pkgver=3.7.1.4
-pkgrel=412
+pkgrel=413
pkgdesc="A color pretty printer with terminfo support"
url="https://github.com/ekmett/wl-pprint-terminfo/"
license=('BSD')
arch=('x86_64')
depends=('ghc-libs' 'haskell-wl-pprint-extras')
-makedepends=('ghc')
+makedepends=('ghc' 'uusi')
source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
sha512sums=('1f2a7bd195732fe297c49c50b59812190d5698efa7c2e9b2fbcfbbae71523c25dfcc2a0f098aebe22453cd867bc40480100c8231a6f43a7bd46202f3dcd924b3')
prepare() {
- sed -e '/nats/d' -e '/semigroups/d' -e 's/< *0.6/<1/' -i
${_hkgname}-${pkgver}/${_hkgname}.cabal
+ cd $_hkgname-$pkgver
+ uusi -d nats -d semigroups -u bytestring -u containers
}
build() {
cd $_hkgname-$pkgver
+ LDFLAGS="${LDFLAGS/-Wl,-z,pack-relative-relocs/}" \
runhaskell Setup configure -O --enable-shared --enable-executable-dynamic
--disable-library-vanilla \
--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname \
- --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
--ghc-option=-fllvm \
+ --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
-fCursed
runhaskell Setup build $MAKEFLAGS
runhaskell Setup register --gen-script
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/haskell-wl-pprint-terminfo/-/commit/575f2f2f8310629f699ebab44aabc7e01ab8770b
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/haskell-wl-pprint-terminfo/-/commit/575f2f2f8310629f699ebab44aabc7e01ab8770b
You're receiving this email because of your account on gitlab.archlinux.org.