[arch-commits] Commit in hindent/repos/community-staging-x86_64 (PKGBUILD PKGBUILD)

Felix Yan felixonmars at gemini.archlinux.org
Wed Jul 13 05:22:12 UTC 2022


    Date: Wednesday, July 13, 2022 @ 05:22:12
  Author: felixonmars
Revision: 1251716

archrelease: copy trunk to community-staging-x86_64

Added:
  hindent/repos/community-staging-x86_64/PKGBUILD
    (from rev 1251715, hindent/trunk/PKGBUILD)
Deleted:
  hindent/repos/community-staging-x86_64/PKGBUILD

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-07-13 05:21:58 UTC (rev 1251715)
+++ PKGBUILD	2022-07-13 05:22:12 UTC (rev 1251716)
@@ -1,45 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
-
-pkgname=hindent
-pkgver=5.3.2
-pkgrel=165
-pkgdesc="Extensible Haskell pretty printer"
-url="https://github.com/mihaimaruseac/hindent"
-license=("BSD")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-monad-loops' 'haskell-optparse-applicative'
-         'haskell-path' 'haskell-path-io' 'haskell-src-exts' 'haskell-unix-compat'
-         'haskell-utf8-string' 'haskell-yaml')
-makedepends=('ghc' 'haskell-diff' 'haskell-hspec')
-source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
-sha512sums=('3daa84b1b19479af4ecbb4caee8c3be757da65067708c3af31e2d66f227faff43a269e5a6a06a35033329dbee8a0f5a077c4583fb253aab01951718031986a62')
-
-build() {
-    cd $pkgname-$pkgver
-
-    runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
-        --prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests --datasubdir=$pkgname \
-        --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \
-        --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 --show-details=direct
-}
-
-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}"
-    install -D -m644 LICENSE.md "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.md
-    rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
-}

Copied: hindent/repos/community-staging-x86_64/PKGBUILD (from rev 1251715, hindent/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-07-13 05:22:12 UTC (rev 1251716)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
+
+pkgname=hindent
+pkgver=5.3.2
+pkgrel=166
+pkgdesc="Extensible Haskell pretty printer"
+url="https://github.com/mihaimaruseac/hindent"
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-monad-loops' 'haskell-optparse-applicative'
+         'haskell-path' 'haskell-path-io' 'haskell-src-exts' 'haskell-unix-compat'
+         'haskell-utf8-string' 'haskell-yaml')
+makedepends=('ghc' 'haskell-diff' 'haskell-hspec')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha512sums=('3daa84b1b19479af4ecbb4caee8c3be757da65067708c3af31e2d66f227faff43a269e5a6a06a35033329dbee8a0f5a077c4583fb253aab01951718031986a62')
+
+build() {
+    cd $pkgname-$pkgver
+
+    runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
+        --prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests --datasubdir=$pkgname \
+        --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \
+        --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 --show-details=direct
+}
+
+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}"
+    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