From 87ddee37564f57f7d67f632235fdacffbf9efa19 Mon Sep 17 00:00:00 2001 From: Felix Yan <felixonmars@archlinux.org> Date: Sun, 25 Feb 2024 20:52:52 +0000 Subject: [PATCH] upgpkg: 0.3-10: rebuild with GHC 9.2.8 --- .SRCINFO | 13 +++++++++++++ PKGBUILD | 6 +++--- 2 files changed, 16 insertions(+), 3 deletions(-) create mode 100644 .SRCINFO diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000..80ecd6a --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,13 @@ +pkgbase = haskell-patience + pkgdesc = Patience diff and longest increasing subsequence + pkgver = 0.3 + pkgrel = 10 + url = https://hackage.haskell.org/package/patience + arch = x86_64 + license = BSD + makedepends = ghc + depends = ghc-libs + source = https://hackage.haskell.org/packages/archive/patience/0.3/patience-0.3.tar.gz + sha512sums = 12bc0005d6ca47ac9954aee8950d00f5c6af133958015fe791d2e100295660bebe967e37ce859abb67ae38bedefa1bd1d81a7770842448485d2f7466652e7ea5 + +pkgname = haskell-patience diff --git a/PKGBUILD b/PKGBUILD index 1bbbd16..f2aa10f 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -4,7 +4,7 @@ _hkgname=patience pkgname=haskell-patience pkgver=0.3 -pkgrel=9 +pkgrel=10 pkgdesc="Patience diff and longest increasing subsequence" url="https://hackage.haskell.org/package/${_hkgname}" license=("BSD") @@ -18,8 +18,8 @@ build() { cd $_hkgname-$pkgver runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ - --prefix=/usr --docdir=/usr/share/doc/$pkgname \ - --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm + --prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname \ + --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid runhaskell Setup build $MAKEFLAGS runhaskell Setup register --gen-script runhaskell Setup unregister --gen-script -- GitLab