Felix Yan pushed to branch main at Arch Linux / Packaging / Packages /
haskell-here
Commits:
8f1fdce5 by Felix Yan at 2023-11-20T16:24:04+02:00
upgpkg: 1.2.14-1: rebuild with here 1.2.14
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,14 +1,15 @@
pkgbase = haskell-here
pkgdesc = Here docs & interpolated strings via quasiquotation
- pkgver = 1.2.13
- pkgrel = 356
+ pkgver = 1.2.14
+ pkgrel = 1
url = https://github.com/tmhedberg/here
arch = x86_64
license = BSD
makedepends = ghc
+ makedepends = haskell-hspec
depends = ghc-libs
depends = haskell-src-meta
- source =
https://hackage.haskell.org/packages/archive/here/1.2.13/here-1.2.13.tar.gz
- sha512sums =
aa6ddfad039a90950389c50699dd5f7230bd1ac9b2b9345d5d0c8e8470707216093553dfe89480c31f19374b905e319b8216b8939051278ae41d79ccc5b160fb
+ source =
https://hackage.haskell.org/packages/archive/here/1.2.14/here-1.2.14.tar.gz
+ sha512sums =
e77e22a114fbe187d237354605d4ed01c9e4e38cf6da136f559bca36b6117f4e5b603c5cb0cb1709f7c3e3fb0b53165e659ff6ac114ed3f4960d84dab7500f02
pkgname = haskell-here
=====================================
PKGBUILD
=====================================
@@ -3,22 +3,22 @@
_hkgname=here
pkgname=haskell-here
-pkgver=1.2.13
-pkgrel=356
+pkgver=1.2.14
+pkgrel=1
pkgdesc="Here docs & interpolated strings via quasiquotation"
url="https://github.com/tmhedberg/here"
license=("BSD")
arch=('x86_64')
-depends=('ghc-libs' "haskell-src-meta")
-makedepends=('ghc')
+depends=('ghc-libs' 'haskell-src-meta')
+makedepends=('ghc' 'haskell-hspec')
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha512sums=('aa6ddfad039a90950389c50699dd5f7230bd1ac9b2b9345d5d0c8e8470707216093553dfe89480c31f19374b905e319b8216b8939051278ae41d79ccc5b160fb')
+sha512sums=('e77e22a114fbe187d237354605d4ed01c9e4e38cf6da136f559bca36b6117f4e5b603c5cb0cb1709f7c3e3fb0b53165e659ff6ac114ed3f4960d84dab7500f02')
build() {
cd $_hkgname-$pkgver
runhaskell Setup configure -O --enable-shared --enable-executable-dynamic
--disable-library-vanilla \
- --prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname \
+ --prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname
--enable-tests \
--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
--ghc-option=-fllvm
runhaskell Setup build $MAKEFLAGS
runhaskell Setup register --gen-script
@@ -27,6 +27,11 @@ build() {
sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
}
+check() {
+ cd $_hkgname-$pkgver
+ runhaskell Setup test --show-details=direct
+}
+
package() {
cd $_hkgname-$pkgver
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/haskell-here/-/commit/8f1fdce5750e51cc9149ef2d2b08526c0f435364
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/haskell-here/-/commit/8f1fdce5750e51cc9149ef2d2b08526c0f435364
You're receiving this email because of your account on gitlab.archlinux.org.