[arch-commits] Commit in haskell-skylighting/repos/community-staging-x86_64 (2 files)
Felix Yan
felixonmars at archlinux.org
Mon May 27 17:21:34 UTC 2019
Date: Monday, May 27, 2019 @ 17:21:33
Author: felixonmars
Revision: 471711
archrelease: copy trunk to community-staging-x86_64
Added:
haskell-skylighting/repos/community-staging-x86_64/PKGBUILD
(from rev 471710, haskell-skylighting/trunk/PKGBUILD)
Deleted:
haskell-skylighting/repos/community-staging-x86_64/PKGBUILD
----------+
PKGBUILD | 80 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 40 insertions(+), 40 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-05-27 17:21:22 UTC (rev 471710)
+++ PKGBUILD 2019-05-27 17:21:33 UTC (rev 471711)
@@ -1,40 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-_hkgname=skylighting
-pkgname=haskell-skylighting
-pkgver=0.7.7
-pkgrel=19
-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=('807fd86548fcc0c20869c6cf38b5b8c1498af5622d000200bee11ae4ce3df8d05353b8902215f9d914204a041344f33bcd59acc4446a1d4a2a4f82d45ece2fde')
-
-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 471710, haskell-skylighting/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-05-27 17:21:33 UTC (rev 471711)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+_hkgname=skylighting
+pkgname=haskell-skylighting
+pkgver=0.7.7
+pkgrel=20
+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=('807fd86548fcc0c20869c6cf38b5b8c1498af5622d000200bee11ae4ce3df8d05353b8902215f9d914204a041344f33bcd59acc4446a1d4a2a4f82d45ece2fde')
+
+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