summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfelixonmars <felixonmars@9fca08f4-af9d-4005-b8df-a31f2cc04f65>2019-11-24 14:37:42 +0000
committerfelixonmars <felixonmars@9fca08f4-af9d-4005-b8df-a31f2cc04f65>2019-11-24 14:37:42 +0000
commit21ecf9d74453c20a7e3b245e0cabc4801d43aadf (patch)
treea5c0b2a82cbb5c84e6c99c45ebc61feafa2c0373
parent95f79d54606982aa210542303d8f640649c1a442 (diff)
db-move: moved haskell-vty from [community-staging] to [community] (x86_64)
git-svn-id: file:///srv/repos/svn-community/svn@533055 9fca08f4-af9d-4005-b8df-a31f2cc04f65
-rw-r--r--haskell-vty/repos/community-staging-x86_64/PKGBUILD50
-rw-r--r--haskell-vty/repos/community-x86_64/PKGBUILD11
2 files changed, 3 insertions, 58 deletions
diff --git a/haskell-vty/repos/community-staging-x86_64/PKGBUILD b/haskell-vty/repos/community-staging-x86_64/PKGBUILD
deleted file mode 100644
index cbe8a3cb98f..00000000000
--- a/haskell-vty/repos/community-staging-x86_64/PKGBUILD
+++ /dev/null
@@ -1,50 +0,0 @@
-# Maintainer: Felix Yan <felixonmars@archlinux.org>
-# Contributor: Arch Haskell Team <arch-haskell@haskell.org>
-
-_hkgname=vty
-pkgname=haskell-vty
-pkgver=5.26
-pkgrel=1
-pkgdesc="A simple terminal UI library"
-url="https://github.com/jtdaugherty/vty"
-license=("BSD")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-blaze-builder' 'haskell-microlens' 'haskell-microlens-mtl'
- 'haskell-microlens-th' 'haskell-hashable' 'haskell-parallel'
- 'haskell-utf8-string' 'haskell-vector')
-makedepends=('ghc' 'haskell-hunit' 'haskell-quickcheck' 'haskell-smallcheck'
- 'haskell-quickcheck-assertions' 'haskell-test-framework'
- 'haskell-test-framework-smallcheck' 'haskell-test-framework-hunit' 'haskell-random'
- 'haskell-string-qq')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha512sums=('aa546d3845c3b1a052d8dd966ea82d02cd8584eb83ee17c40ff095f0835999a9cb7efb8b90da91b23e93ffa78f4cdd22fc7e46282717386712dff54643cb8fb4')
-
-build() {
- cd $_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
- 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() {
- # https://github.com/jtdaugherty/vty/issues/132
- # https://github.com/haskell/cabal/issues/4918
- 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-vty/repos/community-x86_64/PKGBUILD b/haskell-vty/repos/community-x86_64/PKGBUILD
index 3d4bed6bff9..cbe8a3cb98f 100644
--- a/haskell-vty/repos/community-x86_64/PKGBUILD
+++ b/haskell-vty/repos/community-x86_64/PKGBUILD
@@ -3,8 +3,8 @@
_hkgname=vty
pkgname=haskell-vty
-pkgver=5.25.1
-pkgrel=37
+pkgver=5.26
+pkgrel=1
pkgdesc="A simple terminal UI library"
url="https://github.com/jtdaugherty/vty"
license=("BSD")
@@ -17,12 +17,7 @@ makedepends=('ghc' 'haskell-hunit' 'haskell-quickcheck' 'haskell-smallcheck'
'haskell-test-framework-smallcheck' 'haskell-test-framework-hunit' 'haskell-random'
'haskell-string-qq')
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha512sums=('cc1ce5801dc02e86523b5cc40989d871e516476f5560fd0b3bb7fc815bedbc66f14fe8dd9f832e0ecf10c0f68a11195311833b9080cb5b9447ea95c2113da489')
-
-prepare() {
- cd $_hkgname-$pkgver
- sed -i 's/< *0.4/<0.5/' $_hkgname.cabal
-}
+sha512sums=('aa546d3845c3b1a052d8dd966ea82d02cd8584eb83ee17c40ff095f0835999a9cb7efb8b90da91b23e93ffa78f4cdd22fc7e46282717386712dff54643cb8fb4')
build() {
cd $_hkgname-$pkgver