[arch-commits] Commit in haskell-hpack/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sat Feb 17 15:52:44 UTC 2018
Date: Saturday, February 17, 2018 @ 15:52:43
Author: felixonmars
Revision: 296093
upgpkg: haskell-hpack 0.27.0-1
rebuild with stack,1.6.3.1 hpack,0.27.0
Modified:
haskell-hpack/trunk/PKGBUILD
----------+
PKGBUILD | 17 +++++++++--------
1 file changed, 9 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-02-17 15:47:39 UTC (rev 296092)
+++ PKGBUILD 2018-02-17 15:52:43 UTC (rev 296093)
@@ -5,21 +5,22 @@
pkgname=haskell-hpack
_hkgname=hpack
-pkgver=0.21.2
-pkgrel=32
+pkgver=0.27.0
+pkgrel=1
pkgdesc="An alternative format for Haskell packages"
url="https://github.com/sol/hpack#readme"
license=("MIT")
arch=('x86_64')
depends=('ghc-libs' 'haskell-aeson' 'haskell-bifunctors' 'haskell-cryptonite' 'haskell-glob'
- 'haskell-scientific' 'haskell-text' 'haskell-unordered-containers' 'haskell-yaml')
+ 'haskell-http-client' 'haskell-http-client-tls' 'haskell-http-types' 'haskell-scientific'
+ 'haskell-text' 'haskell-unordered-containers' 'haskell-vector' 'haskell-yaml')
makedepends=('ghc' 'haskell-hunit' 'haskell-quickcheck' 'haskell-hspec' 'haskell-interpolate'
'haskell-mockery' 'haskell-temporary')
source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-${pkgver}.tar.gz")
-sha512sums=('4f84c8d427fe81c80c30411908b29234f6f7539e834935b8b36fa33024217ca0fab003e69b5b88f7194d44ddbb75a28a286601afadd39b3b0e48abdb8d82b284')
+sha512sums=('fd52e986ba1b5746cda14cf9159927fe6122cc277243cf87e7bb89a3a52c9d0f4195dfd1bd0d2bd3cb87f8359f9011af94a1df1e0518a077d38f356e0a2f07db')
build() {
- cd "$srcdir/$_hkgname-$pkgver"
+ cd $_hkgname-$pkgver
runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
@@ -31,12 +32,12 @@
}
check() {
- cd $_hkgname-$pkgver
- runhaskell Setup test
+ cd $_hkgname-$pkgver
+ runhaskell Setup test
}
package() {
- cd "${srcdir}/${_hkgname}-${pkgver}"
+ cd $_hkgname-$pkgver
install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
More information about the arch-commits
mailing list