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

Felix Yan felixonmars at archlinux.org
Mon May 21 05:27:02 UTC 2018


    Date: Monday, May 21, 2018 @ 05:27:02
  Author: felixonmars
Revision: 325745

archrelease: copy trunk to community-staging-x86_64

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

----------+
 PKGBUILD |   92 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 46 insertions(+), 46 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-05-21 05:26:40 UTC (rev 325744)
+++ PKGBUILD	2018-05-21 05:27:02 UTC (rev 325745)
@@ -1,46 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
-
-_hkgname=texmath
-pkgname=haskell-texmath
-pkgver=0.11
-pkgrel=3
-pkgdesc="Conversion between formats used to represent mathematics."
-url="https://github.com/jgm/texmath"
-license=("GPL2")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-network-uri' 'haskell-pandoc-types'
-         'haskell-syb' 'haskell-xml')
-makedepends=('ghc' 'haskell-split' 'haskell-temporary' 'haskell-utf8-string')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha512sums=('f15849801fd00e2fe4df7b3bad7df5c181113ac6bc054c3f3318ed8559867084f985f3ba61df33104add8ab627e7dd0dd2f7d565318c524dd83e45d217340803')
-
-build() {
-    cd $_hkgname-$pkgver
-
-    runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
-        --prefix=/usr --docdir="/usr/share/doc/$pkgname" --enable-tests \
-        --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
-            -fnetwork-uri -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
-}
-
-check() {
-    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"
-}

Copied: haskell-texmath/repos/community-staging-x86_64/PKGBUILD (from rev 325744, haskell-texmath/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-05-21 05:27:02 UTC (rev 325745)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
+
+_hkgname=texmath
+pkgname=haskell-texmath
+pkgver=0.11
+pkgrel=4
+pkgdesc="Conversion between formats used to represent mathematics."
+url="https://github.com/jgm/texmath"
+license=("GPL2")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-network-uri' 'haskell-pandoc-types'
+         'haskell-syb' 'haskell-xml')
+makedepends=('ghc' 'haskell-split' 'haskell-temporary' 'haskell-utf8-string')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
+sha512sums=('f15849801fd00e2fe4df7b3bad7df5c181113ac6bc054c3f3318ed8559867084f985f3ba61df33104add8ab627e7dd0dd2f7d565318c524dd83e45d217340803')
+
+build() {
+    cd $_hkgname-$pkgver
+
+    runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
+        --prefix=/usr --docdir="/usr/share/doc/$pkgname" --enable-tests \
+        --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+            -fnetwork-uri -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
+}
+
+check() {
+    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"
+}



More information about the arch-commits mailing list