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

Felix Yan felixonmars at archlinux.org
Wed Aug 5 08:37:19 UTC 2020


    Date: Wednesday, August 5, 2020 @ 08:37:19
  Author: felixonmars
Revision: 669089

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-config-ini/repos/community-staging-x86_64/PKGBUILD
    (from rev 669088, haskell-config-ini/trunk/PKGBUILD)
Deleted:
  haskell-config-ini/repos/community-staging-x86_64/PKGBUILD

----------+
 PKGBUILD |  102 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 51 insertions(+), 51 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-08-05 08:37:06 UTC (rev 669088)
+++ PKGBUILD	2020-08-05 08:37:19 UTC (rev 669089)
@@ -1,51 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
-
-_hkgname=config-ini
-pkgname=haskell-config-ini
-pkgver=0.2.4.0
-pkgrel=122
-pkgdesc="A library for simple INI-based configuration files."
-url="https://github.com/aisamanra/config-ini"
-license=("BSD")
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-unordered-containers' 'haskell-megaparsec')
-makedepends=('ghc' 'haskell-ini' 'haskell-hedgehog' 'haskell-doctest' 'haskell-microlens')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha512sums=('76af8bf132d545425d9db5579df2e37fa08cad479adf5f586fb3becd0712e2329eae019db1796cd24c6fda80aa958e45450ebae74a5bcbdfad9337ae44696a5e')
-
-prepare() {
-    cd $_hkgname-$pkgver
-    sed -i 's/<8/<9/' $_hkgname.cabal
-    echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
-}
-
-build() {
-    cd $_hkgname-$pkgver
-
-    runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
-        --prefix=/usr --docdir=/usr/share/doc/$pkgname --disable-tests \
-        --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
-            -fenable-doctests
-    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
-    # https://github.com/aisamanra/config-ini/issues/22
-    # 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-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 669088, haskell-config-ini/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-08-05 08:37:19 UTC (rev 669089)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.4.0
+pkgrel=123
+pkgdesc="A library for simple INI-based configuration files."
+url="https://github.com/aisamanra/config-ini"
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-unordered-containers' 'haskell-megaparsec')
+makedepends=('ghc' 'haskell-ini' 'haskell-hedgehog' 'haskell-doctest' 'haskell-microlens')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
+sha512sums=('76af8bf132d545425d9db5579df2e37fa08cad479adf5f586fb3becd0712e2329eae019db1796cd24c6fda80aa958e45450ebae74a5bcbdfad9337ae44696a5e')
+
+prepare() {
+    cd $_hkgname-$pkgver
+    sed -i 's/<8/<9/' $_hkgname.cabal
+    echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+build() {
+    cd $_hkgname-$pkgver
+
+    runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
+        --prefix=/usr --docdir=/usr/share/doc/$pkgname --disable-tests \
+        --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+            -fenable-doctests
+    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
+    # https://github.com/aisamanra/config-ini/issues/22
+    # 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