[arch-commits] Commit in haskell-skylighting/repos/community-staging-x86_64 (2 files)

Felix Yan felixonmars at archlinux.org
Sat May 19 08:46:12 UTC 2018


    Date: Saturday, May 19, 2018 @ 08:46:11
  Author: felixonmars
Revision: 324484

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-skylighting/repos/community-staging-x86_64/PKGBUILD
    (from rev 324483, haskell-skylighting/trunk/PKGBUILD)
Deleted:
  haskell-skylighting/repos/community-staging-x86_64/PKGBUILD

----------+
 PKGBUILD |   82 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 41 insertions(+), 41 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-05-19 08:45:48 UTC (rev 324483)
+++ PKGBUILD	2018-05-19 08:46:11 UTC (rev 324484)
@@ -1,41 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-_hkgname=skylighting
-pkgname=haskell-skylighting
-pkgver=0.7.1
-pkgrel=3
-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')
-makedepends=('ghc')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha512sums=('a768bc80685bc0d8fad34c1f381664ed2b1f25873c5736ab35b4ae7e999bed035e9fbd1a30cf36d21979822d51edb571a090fa59f4529392fc2dcba3b4d5f19a')
-
-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 \
-            -fsystem-pcre -fexecutable
-    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"
-}

Copied: haskell-skylighting/repos/community-staging-x86_64/PKGBUILD (from rev 324483, haskell-skylighting/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-05-19 08:46:11 UTC (rev 324484)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+_hkgname=skylighting
+pkgname=haskell-skylighting
+pkgver=0.7.1
+pkgrel=4
+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')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
+sha512sums=('a768bc80685bc0d8fad34c1f381664ed2b1f25873c5736ab35b4ae7e999bed035e9fbd1a30cf36d21979822d51edb571a090fa59f4529392fc2dcba3b4d5f19a')
+
+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 \
+            -fsystem-pcre -fexecutable
+    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"
+}



More information about the arch-commits mailing list