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

Felix Yan felixonmars at archlinux.org
Mon Oct 15 20:53:34 UTC 2018


    Date: Monday, October 15, 2018 @ 20:53:33
  Author: felixonmars
Revision: 394360

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-th-desugar/repos/community-staging-x86_64/PKGBUILD
    (from rev 394359, haskell-th-desugar/trunk/PKGBUILD)
Deleted:
  haskell-th-desugar/repos/community-staging-x86_64/PKGBUILD

----------+
 PKGBUILD |   84 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 42 insertions(+), 42 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-10-15 20:53:09 UTC (rev 394359)
+++ PKGBUILD	2018-10-15 20:53:33 UTC (rev 394360)
@@ -1,42 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-_hkgname=th-desugar
-pkgname=haskell-th-desugar
-pkgver=1.8
-pkgrel=5
-pkgdesc="Functions to desugar Template Haskell"
-url="https://github.com/goldfirere/th-desugar"
-license=('BSD')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-syb' 'haskell-th-lift' 'haskell-th-orphans' 'haskell-th-expand-syns')
-makedepends=('ghc' 'haskell-hunit' 'haskell-hspec')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('485bada31cc16ed41e7f867d4fbd519e926d6053e56926478e25ed7be4a5c561f21c350c07727c794c3480404650637be9015268853bc45c017692ced6a2be5f')
-
-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
-    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-th-desugar/repos/community-staging-x86_64/PKGBUILD (from rev 394359, haskell-th-desugar/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-10-15 20:53:33 UTC (rev 394360)
@@ -0,0 +1,42 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+_hkgname=th-desugar
+pkgname=haskell-th-desugar
+pkgver=1.9
+pkgrel=1
+pkgdesc="Functions to desugar Template Haskell"
+url="https://github.com/goldfirere/th-desugar"
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-syb' 'haskell-th-lift' 'haskell-th-orphans' 'haskell-th-expand-syns')
+makedepends=('ghc' 'haskell-hunit' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('00c27e183499af36d6a70570c4ec524563514376e7b239b929666916150b016d8060d79df01fe111c6924ba908d5b2b5dc33311b4e46f21ebe4102cb0795437f')
+
+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
+    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