[arch-commits] Commit in dhall-yaml/repos/community-x86_64 (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Fri Dec 25 12:27:49 UTC 2020


    Date: Friday, December 25, 2020 @ 12:27:48
  Author: felixonmars
Revision: 790756

archrelease: copy trunk to community-x86_64

Added:
  dhall-yaml/repos/community-x86_64/PKGBUILD
    (from rev 790755, dhall-yaml/trunk/PKGBUILD)
Deleted:
  dhall-yaml/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   90 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 45 insertions(+), 45 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-12-25 12:27:36 UTC (rev 790755)
+++ PKGBUILD	2020-12-25 12:27:48 UTC (rev 790756)
@@ -1,45 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=dhall-yaml
-pkgver=1.2.3
-pkgrel=38
-pkgdesc="Convert between Dhall and YAML"
-url="https://github.com/dhall-lang/dhall-haskell/tree/master/dhall-yaml"
-license=("GPL3")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-hsyaml' 'haskell-hsyaml-aeson' 'haskell-aeson' 'haskell-ansi-terminal'
-         'dhall' 'dhall-json' 'haskell-optparse-applicative' 'haskell-prettyprinter'
-         'haskell-prettyprinter-ansi-terminal' 'haskell-vector')
-makedepends=('ghc' 'haskell-tasty' 'haskell-tasty-expected-failure' 'haskell-tasty-hunit')
-source=("https://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz")
-sha512sums=('6b7fe7c6f29906e946d6034b31736bba2d6701b6a9af8b2de81fff3971273c1052e85eb688352c5e72d6652b648452cc0f05f5d9f3db2479e7c6812d19f6d8da')
-
-build() {
-  cd $pkgname-$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 \
-    --ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
-    --ghc-option='-pie'
-  
-  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 $pkgname-$pkgver
-  runhaskell Setup test
-}
-
-package() {
-  cd $pkgname-$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: dhall-yaml/repos/community-x86_64/PKGBUILD (from rev 790755, dhall-yaml/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-12-25 12:27:48 UTC (rev 790756)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=dhall-yaml
+pkgver=1.2.4
+pkgrel=1
+pkgdesc="Convert between Dhall and YAML"
+url="https://github.com/dhall-lang/dhall-haskell/tree/master/dhall-yaml"
+license=("GPL3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hsyaml' 'haskell-hsyaml-aeson' 'haskell-aeson' 'haskell-ansi-terminal'
+         'dhall' 'dhall-json' 'haskell-optparse-applicative' 'haskell-prettyprinter'
+         'haskell-prettyprinter-ansi-terminal' 'haskell-vector')
+makedepends=('ghc' 'haskell-tasty' 'haskell-tasty-expected-failure' 'haskell-tasty-hunit')
+source=("https://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('b545b8f28ab4221ba525fba5cdce7e1fbeb66894c9f270d6347d259a92f14a618810b97137e6459aed91363a1c6bfc0163f35d18ca5ccf548a8380428d829944')
+
+build() {
+  cd $pkgname-$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 \
+    --ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+    --ghc-option='-pie'
+  
+  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 $pkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $pkgname-$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