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

upgpkg: 3.4-21

parent 3049c127
No related branches found
Tags 3.3.1-26
No related merge requests found
......@@ -4,21 +4,21 @@
_hkgname=vector-instances
pkgname=haskell-vector-instances
pkgver=3.4
pkgrel=20
pkgrel=21
pkgdesc="Orphan Instances for \'Data.Vector\'"
url="http://github.com/ekmett/vector-instances"
url="https://github.com/ekmett/vector-instances"
license=("custom:BSD3")
arch=('i686' 'x86_64')
depends=('ghc-libs' "haskell-comonad" "haskell-hashable" "haskell-keys" "haskell-pointed"
"haskell-semigroupoids" "haskell-semigroups" "haskell-vector")
makedepends=('ghc')
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
sha256sums=('1b0246ef0cf8372d61d5c7840d857f49299af2304b5107510377255ed4dd5381')
sha512sums=('67ffd6b941909bda1b6f26c8c7579fc495267425461f15f20bbaecf22b67d3dbf4ee88eb2ac76232f47917c26558eb325fedfe8ffc97368bbe1ad90fb427a7b1')
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 \
-fhashable
......@@ -37,7 +37,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