[arch-commits] Commit in haskell-nonce/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Tue Dec 12 07:53:37 UTC 2017
Date: Tuesday, December 12, 2017 @ 07:53:36
Author: felixonmars
Revision: 273946
upgpkg: haskell-nonce 1.0.5-1
rebuild with nonce,1.0.5
Modified:
haskell-nonce/trunk/PKGBUILD
----------+
PKGBUILD | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-12-12 07:51:47 UTC (rev 273945)
+++ PKGBUILD 2017-12-12 07:53:36 UTC (rev 273946)
@@ -4,20 +4,21 @@
_hkgname=nonce
pkgname=haskell-nonce
-pkgver=1.0.4
-pkgrel=6
+pkgver=1.0.5
+pkgrel=1
pkgdesc="Generate cryptographic nonces."
url="https://github.com/prowdsponsor/nonce"
license=("custom:BSD3")
arch=('x86_64')
-depends=('ghc-libs' "haskell-base64-bytestring" "haskell-entropy" "haskell-text")
+depends=('ghc-libs' 'haskell-base64-bytestring' 'haskell-entropy' 'haskell-text' 'haskell-unliftio'
+ 'haskell-unliftio-core')
makedepends=('ghc')
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha512sums=('ced3029562b6a4716bd93bbe552cb64007c0e96c9c2f16098e1feeafef0598d704970ae155cd630699e2cb7168cdadf2a7e707e8a7c2798e01bcceb23c0ef4b6')
+sha512sums=('234aac4ed72ed6d1a6bc990624362a40c6fd1941e51bb546c6119261e793b996eb410f746b2cae2b614b495aa109c781199a8c56ce66a16277c0316cbad3b0e3')
build() {
cd "${srcdir}/${_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
@@ -30,7 +31,7 @@
package() {
cd "${srcdir}/${_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"
runhaskell Setup copy --destdir="${pkgdir}"
More information about the arch-commits
mailing list