summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfelixonmars <felixonmars@9fca08f4-af9d-4005-b8df-a31f2cc04f65>2019-11-24 16:24:16 +0000
committerfelixonmars <felixonmars@9fca08f4-af9d-4005-b8df-a31f2cc04f65>2019-11-24 16:24:16 +0000
commitbcfeb0fcddd951cbb098657b3343c470f272adf4 (patch)
tree2578e863f0441ef2c01fff7c7664ee7e4fbca263
parent93a162fe15f2741444255b5fd89a23cb4d6d7afc (diff)
db-move: moved haskell-skylighting-core from [community-staging] to [community] (x86_64)
git-svn-id: file:///srv/repos/svn-community/svn@533074 9fca08f4-af9d-4005-b8df-a31f2cc04f65
-rw-r--r--haskell-skylighting-core/repos/community-staging-x86_64/PKGBUILD43
-rw-r--r--haskell-skylighting-core/repos/community-x86_64/PKGBUILD6
2 files changed, 3 insertions, 46 deletions
diff --git a/haskell-skylighting-core/repos/community-staging-x86_64/PKGBUILD b/haskell-skylighting-core/repos/community-staging-x86_64/PKGBUILD
deleted file mode 100644
index 1c0d994c7d1..00000000000
--- a/haskell-skylighting-core/repos/community-staging-x86_64/PKGBUILD
+++ /dev/null
@@ -1,43 +0,0 @@
-# Maintainer: Felix Yan <felixonmars@archlinux.org>
-
-_hkgname=skylighting-core
-pkgname=haskell-skylighting-core
-pkgver=0.8.2.3
-pkgrel=1
-pkgdesc="Syntax highlighting library"
-url="https://github.com/jgm/skylighting"
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-aeson' 'haskell-ansi-terminal' 'haskell-attoparsec'
- 'haskell-base64-bytestring' 'haskell-blaze-html' 'haskell-case-insensitive'
- 'haskell-colour' 'haskell-hxt' 'haskell-regex-pcre' 'haskell-safe'
- 'haskell-utf8-string')
-makedepends=('ghc' 'haskell-diff' 'haskell-hunit' 'haskell-pretty-show' 'haskell-quickcheck'
- 'haskell-random' 'haskell-tasty' 'haskell-tasty-golden' 'haskell-tasty-hunit'
- 'haskell-tasty-quickcheck')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('512814356ce23673a75dd639946e8d0ae19fc47d96d7611bb0f66638d3256d6a1b01f7f7cfc6ad00e658392106bfbb39a69e2c298bfa891cded7e6baa6dd1984')
-
-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 \
- -fexecutable -fsystem-pcre
- 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
-}
-
-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-skylighting-core/repos/community-x86_64/PKGBUILD b/haskell-skylighting-core/repos/community-x86_64/PKGBUILD
index 61941805169..1c0d994c7d1 100644
--- a/haskell-skylighting-core/repos/community-x86_64/PKGBUILD
+++ b/haskell-skylighting-core/repos/community-x86_64/PKGBUILD
@@ -2,8 +2,8 @@
_hkgname=skylighting-core
pkgname=haskell-skylighting-core
-pkgver=0.8.2
-pkgrel=19
+pkgver=0.8.2.3
+pkgrel=1
pkgdesc="Syntax highlighting library"
url="https://github.com/jgm/skylighting"
license=('BSD')
@@ -16,7 +16,7 @@ makedepends=('ghc' 'haskell-diff' 'haskell-hunit' 'haskell-pretty-show' 'haskell
'haskell-random' 'haskell-tasty' 'haskell-tasty-golden' 'haskell-tasty-hunit'
'haskell-tasty-quickcheck')
source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('fbbe8c6eabc9522aabb1cffccc25fd45baa924a64bf38c0f932282762f8f39ea9164f383d4cfb86aa74dce1d68973273759255c9e6b60a7e8f411645c996e78d')
+sha512sums=('512814356ce23673a75dd639946e8d0ae19fc47d96d7611bb0f66638d3256d6a1b01f7f7cfc6ad00e658392106bfbb39a69e2c298bfa891cded7e6baa6dd1984')
build() {
cd $_hkgname-$pkgver