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

Felix Yan felixonmars at archlinux.org
Wed Aug 5 09:28:30 UTC 2020


    Date: Wednesday, August 5, 2020 @ 09:28:29
  Author: felixonmars
Revision: 669196

archrelease: copy trunk to community-staging-x86_64

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

----------+
 PKGBUILD |   88 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 44 insertions(+), 44 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-08-05 09:28:17 UTC (rev 669195)
+++ PKGBUILD	2020-08-05 09:28:29 UTC (rev 669196)
@@ -1,44 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-_hkgname=prettyprinter
-pkgname=haskell-prettyprinter
-pkgver=1.6.2
-pkgrel=6
-pkgdesc="A modern, easy to use, well-documented, extensible prettyprinter."
-url="https://github.com/hspec/prettyprinter"
-license=('custom:BSD2')
-arch=('x86_64')
-depends=('ghc-libs')
-makedepends=('ghc' 'haskell-doctest' 'haskell-pgp-wordlist' 'haskell-quickcheck-instances'
-             'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('f5815a013472fcd613c15bc02371a216887924c9f938813a8b1bfceb64777998334b4327b6e7cd8c50a21871f985a497e066d7c902e16719bd9da7c62ab7167e')
-
-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 \
-            -f-buildReadme
-    runhaskell Setup build $MAKEFLAGS
-    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.md "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.md
-    rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
-}

Copied: haskell-prettyprinter/repos/community-staging-x86_64/PKGBUILD (from rev 669195, haskell-prettyprinter/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-08-05 09:28:29 UTC (rev 669196)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+_hkgname=prettyprinter
+pkgname=haskell-prettyprinter
+pkgver=1.6.2
+pkgrel=7
+pkgdesc="A modern, easy to use, well-documented, extensible prettyprinter."
+url="https://github.com/hspec/prettyprinter"
+license=('custom:BSD2')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-doctest' 'haskell-pgp-wordlist' 'haskell-quickcheck-instances'
+             'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('f5815a013472fcd613c15bc02371a216887924c9f938813a8b1bfceb64777998334b4327b6e7cd8c50a21871f985a497e066d7c902e16719bd9da7c62ab7167e')
+
+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 \
+            -f-buildReadme
+    runhaskell Setup build $MAKEFLAGS
+    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.md "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.md
+    rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}


More information about the arch-commits mailing list