summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfelixonmars <felixonmars@9fca08f4-af9d-4005-b8df-a31f2cc04f65>2019-11-24 16:24:18 +0000
committerfelixonmars <felixonmars@9fca08f4-af9d-4005-b8df-a31f2cc04f65>2019-11-24 16:24:18 +0000
commit6c114d649556805cf2b1823b3c322e0a4b5862c4 (patch)
treec6fa2e77580b2184327676eb576069c0eb8615a5
parentbcfeb0fcddd951cbb098657b3343c470f272adf4 (diff)
db-move: moved haskell-skylighting from [community-staging] to [community] (x86_64)
git-svn-id: file:///srv/repos/svn-community/svn@533075 9fca08f4-af9d-4005-b8df-a31f2cc04f65
-rw-r--r--haskell-skylighting/repos/community-staging-x86_64/PKGBUILD37
-rw-r--r--haskell-skylighting/repos/community-x86_64/PKGBUILD13
2 files changed, 5 insertions, 45 deletions
diff --git a/haskell-skylighting/repos/community-staging-x86_64/PKGBUILD b/haskell-skylighting/repos/community-staging-x86_64/PKGBUILD
deleted file mode 100644
index 8f0ea5c58ff..00000000000
--- a/haskell-skylighting/repos/community-staging-x86_64/PKGBUILD
+++ /dev/null
@@ -1,37 +0,0 @@
-# Maintainer: Felix Yan <felixonmars@archlinux.org>
-
-_hkgname=skylighting
-pkgname=haskell-skylighting
-pkgver=0.8.2.3
-pkgrel=1
-pkgdesc="Syntax highlighting library"
-url="https://github.com/jgm/skylighting"
-license=('GPL2')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-skylighting-core')
-makedepends=('ghc')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha512sums=('53aefc987900526eab1b5122ccc7236e81beb016fe96a4b1dfa4981ccf690b35e8fc0fe635e637e987de5366e6f7f6105db811820245329d3fda43550cbfe837')
-
-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 \
- -f-executable
- 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"
- rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
-}
diff --git a/haskell-skylighting/repos/community-x86_64/PKGBUILD b/haskell-skylighting/repos/community-x86_64/PKGBUILD
index e9f8c604f40..8f0ea5c58ff 100644
--- a/haskell-skylighting/repos/community-x86_64/PKGBUILD
+++ b/haskell-skylighting/repos/community-x86_64/PKGBUILD
@@ -2,19 +2,16 @@
_hkgname=skylighting
pkgname=haskell-skylighting
-pkgver=0.8.2
-pkgrel=19
+pkgver=0.8.2.3
+pkgrel=1
pkgdesc="Syntax highlighting library"
url="https://github.com/jgm/skylighting"
license=('GPL2')
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-pretty-show' 'haskell-regex-pcre'
- 'haskell-safe' 'haskell-skylighting-core' 'haskell-utf8-string')
+depends=('ghc-libs' 'haskell-skylighting-core')
makedepends=('ghc')
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha512sums=('3d1f5fe5189b702b9b692b9c63cf0a59e3072841d904f44d08fbc55c27f713150cc19e2764f7c8619316563d2a6ec2b0dec23a6a970e2fe48700a3f900091614')
+sha512sums=('53aefc987900526eab1b5122ccc7236e81beb016fe96a4b1dfa4981ccf690b35e8fc0fe635e637e987de5366e6f7f6105db811820245329d3fda43550cbfe837')
build() {
cd $_hkgname-$pkgver
@@ -22,7 +19,7 @@ build() {
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 \
- -fsystem-pcre -fexecutable
+ -f-executable
runhaskell Setup build
runhaskell Setup register --gen-script
runhaskell Setup unregister --gen-script