summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfelixonmars <felixonmars@9fca08f4-af9d-4005-b8df-a31f2cc04f65>2019-11-24 14:37:44 +0000
committerfelixonmars <felixonmars@9fca08f4-af9d-4005-b8df-a31f2cc04f65>2019-11-24 14:37:44 +0000
commit71f2484b29b09c66b3f54dd042979023491a47c5 (patch)
tree55f0d2258225c2c3e6be8203a9af75b4af312d12
parent21ecf9d74453c20a7e3b245e0cabc4801d43aadf (diff)
db-move: moved haskell-brick from [community-staging] to [community] (x86_64)
git-svn-id: file:///srv/repos/svn-community/svn@533056 9fca08f4-af9d-4005-b8df-a31f2cc04f65
-rw-r--r--haskell-brick/repos/community-staging-x86_64/PKGBUILD46
-rw-r--r--haskell-brick/repos/community-x86_64/PKGBUILD2
2 files changed, 1 insertions, 47 deletions
diff --git a/haskell-brick/repos/community-staging-x86_64/PKGBUILD b/haskell-brick/repos/community-staging-x86_64/PKGBUILD
deleted file mode 100644
index 8dd0c49cc02..00000000000
--- a/haskell-brick/repos/community-staging-x86_64/PKGBUILD
+++ /dev/null
@@ -1,46 +0,0 @@
-# Maintainer: Felix Yan <felixonmars@archlinux.org>
-# Contributor: Arch Haskell Team <arch-haskell@haskell.org>
-
-_hkgname=brick
-pkgname=haskell-brick
-pkgver=0.48
-pkgrel=3
-pkgdesc="A declarative terminal user interface library"
-url="https://github.com/jtdaugherty/brick"
-license=("BSD")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-vty' 'haskell-data-clist' 'haskell-dlist' 'haskell-microlens'
- 'haskell-microlens-th' 'haskell-microlens-mtl' 'haskell-config-ini' 'haskell-vector'
- 'haskell-contravariant' 'haskell-text-zipper' 'haskell-word-wrap')
-makedepends=('ghc' 'haskell-quickcheck')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha512sums=('8cd849608026fba77c2b96923d47264ef4fdf1b8faacba33f4b19081524b7de6454a8e94f4fdb3ef199bc79479ccebe2599b4b79155381c4c3abf396a4a6c4be')
-
-build() {
- 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 \
- -f-demos
- runhaskell Setup build
- runhaskell Setup register --gen-script
- runhaskell Setup unregister --gen-script
- sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
- sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-check() {
- cd $_hkgname-$pkgver
- runhaskell Setup test
-}
-
-package() {
- 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
- runhaskell Setup copy --destdir="$pkgdir"
- install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
- rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
-}
diff --git a/haskell-brick/repos/community-x86_64/PKGBUILD b/haskell-brick/repos/community-x86_64/PKGBUILD
index f55793ef335..8dd0c49cc02 100644
--- a/haskell-brick/repos/community-x86_64/PKGBUILD
+++ b/haskell-brick/repos/community-x86_64/PKGBUILD
@@ -4,7 +4,7 @@
_hkgname=brick
pkgname=haskell-brick
pkgver=0.48
-pkgrel=2
+pkgrel=3
pkgdesc="A declarative terminal user interface library"
url="https://github.com/jtdaugherty/brick"
license=("BSD")