Skip to content
Snippets Groups Projects
Commit a7460f6c authored by Felix Yan's avatar Felix Yan
Browse files

upgpkg: 0.5-13

parent be4d2192
No related branches found
Tags 1.23.1-1
No related merge requests found
......@@ -4,7 +4,7 @@
_hkgname=tf-random
pkgname=haskell-tf-random
pkgver=0.5
pkgrel=12
pkgrel=13
pkgdesc='High-quality splittable pseudorandom number generator'
url="https://hackage.haskell.org/package/${_hkgname}"
license=('custom:BSD3')
......@@ -12,12 +12,12 @@ arch=('i686' 'x86_64')
depends=('ghc-libs' 'haskell-random' 'haskell-primitive')
makedepends=('ghc')
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
md5sums=('569f8acb14d09227f136a53ffd84b7b2')
sha512sums=('a766909571b4b37daaaaa9fa1aa9739bd2db8c32c0f64452fd7c3717f4578090e5227b763772858c6c311c5f366dd461421ffc3beb295455902fea1fb133deb7')
build() {
cd "${srcdir}/${_hkgname}-${pkgver}"
runhaskell Setup configure -O --enable-shared --enable-executable-dynamic \
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
runhaskell Setup build
......@@ -35,7 +35,4 @@ package() {
runhaskell Setup copy --destdir="${pkgdir}"
install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
# Remove static libs
find "$pkgdir"/usr/lib -name "*.a" -delete
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment