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

upgpkg: 0.1.0.1-4

parent 2f47a954
No related branches found
No related tags found
No related merge requests found
......@@ -3,7 +3,7 @@
_hkgname=data-bword
pkgname=haskell-data-bword
pkgver=0.1.0.1
pkgrel=3
pkgrel=4
pkgdesc="Extra operations on binary words of fixed length"
url="https://github.com/mvv/data-bword"
license=('custom:BSD3')
......@@ -11,12 +11,12 @@ arch=('i686' 'x86_64')
depends=('ghc-libs')
makedepends=('ghc')
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
md5sums=('734e3aa7628497ae4707fc5f2c1e698c')
sha512sums=('16338a0c4c8bd2cd9c676ae6986fdb167809c361d770f953074fecc3cb5626ca99cc9999826c3e5a2e925177f95e3f8ef40715764b0ffb09ddde6ecd593d0e76')
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
......@@ -34,7 +34,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