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

2020-12-29 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 11:43:49
  Author: felixonmars
Revision: 796915

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
796914, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 11:43:49 UTC (rev 796915)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.4.0
+pkgrel=169
+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' 'uusi' '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
+uusi -u megaparsec $_hkgname.cabal
+gen-setup
+}
+
+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
+}


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

2020-12-28 Thread Felix Yan via arch-commits
Date: Monday, December 28, 2020 @ 11:19:01
  Author: felixonmars
Revision: 794707

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
794706, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-28 11:19:01 UTC (rev 794707)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.4.0
+pkgrel=168
+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' 'uusi' '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
+uusi -u megaparsec $_hkgname.cabal
+gen-setup
+}
+
+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
+}


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

2020-12-26 Thread Felix Yan via arch-commits
Date: Saturday, December 26, 2020 @ 22:45:21
  Author: felixonmars
Revision: 793181

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
793180, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-26 22:45:21 UTC (rev 793181)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.4.0
+pkgrel=167
+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' 'uusi' '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
+uusi -u megaparsec $_hkgname.cabal
+gen-setup
+}
+
+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
+}


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

2020-12-25 Thread Felix Yan via arch-commits
Date: Saturday, December 26, 2020 @ 04:17:16
  Author: felixonmars
Revision: 791874

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
791873, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-26 04:17:16 UTC (rev 791874)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.4.0
+pkgrel=166
+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' 'uusi' '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
+uusi -u megaparsec $_hkgname.cabal
+gen-setup
+}
+
+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
+}


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

2020-12-24 Thread Felix Yan via arch-commits
Date: Friday, December 25, 2020 @ 03:26:28
  Author: felixonmars
Revision: 789524

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
789523, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-25 03:26:28 UTC (rev 789524)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.4.0
+pkgrel=165
+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' 'uusi' '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
+uusi -u megaparsec $_hkgname.cabal
+gen-setup
+}
+
+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
+}


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

2020-12-23 Thread Felix Yan via arch-commits
Date: Thursday, December 24, 2020 @ 06:22:00
  Author: felixonmars
Revision: 786558

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
786557, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-24 06:22:00 UTC (rev 786558)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.4.0
+pkgrel=164
+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' 'uusi' '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
+uusi -u megaparsec $_hkgname.cabal
+gen-setup
+}
+
+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
+}


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

2020-12-23 Thread Felix Yan via arch-commits
Date: Wednesday, December 23, 2020 @ 11:19:02
  Author: felixonmars
Revision: 784124

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
784123, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-23 11:19:02 UTC (rev 784124)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.4.0
+pkgrel=163
+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' 'uusi' '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
+uusi -u megaparsec $_hkgname.cabal
+gen-setup
+}
+
+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
+}


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

2020-12-22 Thread Felix Yan via arch-commits
Date: Tuesday, December 22, 2020 @ 17:28:32
  Author: felixonmars
Revision: 782693

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
782692, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-22 17:28:32 UTC (rev 782693)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.4.0
+pkgrel=162
+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' 'uusi' '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
+uusi -u megaparsec $_hkgname.cabal
+gen-setup
+}
+
+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
+}


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

2020-12-21 Thread Felix Yan via arch-commits
Date: Monday, December 21, 2020 @ 18:04:44
  Author: felixonmars
Revision: 781325

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
781324, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-21 18:04:44 UTC (rev 781325)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.4.0
+pkgrel=161
+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' 'uusi' '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
+uusi -u megaparsec $_hkgname.cabal
+gen-setup
+}
+
+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
+}


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

2020-12-18 Thread Felix Yan via arch-commits
Date: Friday, December 18, 2020 @ 10:48:32
  Author: felixonmars
Revision: 778457

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
778456, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-18 10:48:32 UTC (rev 778457)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.4.0
+pkgrel=160
+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' 'uusi' '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
+uusi -u megaparsec $_hkgname.cabal
+gen-setup
+}
+
+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
+}


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

2020-12-16 Thread Felix Yan via arch-commits
Date: Wednesday, December 16, 2020 @ 12:49:49
  Author: felixonmars
Revision: 776661

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
776660, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-16 12:49:49 UTC (rev 776661)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.4.0
+pkgrel=159
+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' 'uusi' '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
+uusi -u megaparsec $_hkgname.cabal
+gen-setup
+}
+
+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
+}


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

2020-12-14 Thread Felix Yan via arch-commits
Date: Monday, December 14, 2020 @ 12:03:09
  Author: felixonmars
Revision: 774926

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
774925, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-14 12:03:09 UTC (rev 774926)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.4.0
+pkgrel=158
+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
+}


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

2020-11-27 Thread Felix Yan via arch-commits
Date: Friday, November 27, 2020 @ 23:09:38
  Author: felixonmars
Revision: 764774

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
764773, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-27 23:09:38 UTC (rev 764774)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.4.0
+pkgrel=157
+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
+}


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

2020-11-22 Thread Felix Yan via arch-commits
Date: Sunday, November 22, 2020 @ 22:53:03
  Author: felixonmars
Revision: 759667

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
759666, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-22 22:53:03 UTC (rev 759667)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.4.0
+pkgrel=156
+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
+}


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

2020-11-16 Thread Felix Yan via arch-commits
Date: Monday, November 16, 2020 @ 12:58:50
  Author: felixonmars
Revision: 755226

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
755225, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-16 12:58:50 UTC (rev 755226)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.4.0
+pkgrel=155
+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
+}


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

2020-11-07 Thread Felix Yan via arch-commits
Date: Saturday, November 7, 2020 @ 10:50:59
  Author: felixonmars
Revision: 745655

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
745654, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-07 10:50:59 UTC (rev 745655)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.4.0
+pkgrel=154
+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
+}


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

2020-11-06 Thread Felix Yan via arch-commits
Date: Friday, November 6, 2020 @ 18:38:56
  Author: felixonmars
Revision: 744473

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
744472, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-06 18:38:56 UTC (rev 744473)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.4.0
+pkgrel=153
+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
+}


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

2020-11-02 Thread Felix Yan via arch-commits
Date: Tuesday, November 3, 2020 @ 04:40:30
  Author: felixonmars
Revision: 740197

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
740196, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-03 04:40:30 UTC (rev 740197)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.4.0
+pkgrel=152
+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
+}


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

2020-10-31 Thread Felix Yan via arch-commits
Date: Saturday, October 31, 2020 @ 07:50:10
  Author: felixonmars
Revision: 737441

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
737440, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-31 07:50:10 UTC (rev 737441)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.4.0
+pkgrel=151
+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
+}


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

2020-10-28 Thread Felix Yan via arch-commits
Date: Wednesday, October 28, 2020 @ 11:13:10
  Author: felixonmars
Revision: 735428

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
735427, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-28 11:13:10 UTC (rev 735428)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.4.0
+pkgrel=150
+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
+}


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

2020-10-25 Thread Felix Yan via arch-commits
Date: Sunday, October 25, 2020 @ 09:21:57
  Author: felixonmars
Revision: 732201

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
732200, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-25 09:21:57 UTC (rev 732201)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.4.0
+pkgrel=149
+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
+}


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

2020-10-22 Thread Felix Yan via arch-commits
Date: Thursday, October 22, 2020 @ 10:17:00
  Author: felixonmars
Revision: 728927

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
728926, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-22 10:17:00 UTC (rev 728927)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.4.0
+pkgrel=148
+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
+}


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

2020-10-17 Thread Felix Yan via arch-commits
Date: Saturday, October 17, 2020 @ 20:39:15
  Author: felixonmars
Revision: 725641

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
725640, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-17 20:39:15 UTC (rev 725641)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.4.0
+pkgrel=147
+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
+}


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

2020-10-09 Thread Felix Yan via arch-commits
Date: Friday, October 9, 2020 @ 16:53:00
  Author: felixonmars
Revision: 722487

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
722486, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-09 16:53:00 UTC (rev 722487)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.4.0
+pkgrel=146
+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
+}


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

2020-10-07 Thread Felix Yan via arch-commits
Date: Wednesday, October 7, 2020 @ 13:30:15
  Author: felixonmars
Revision: 720537

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
720536, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-07 13:30:15 UTC (rev 720537)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.4.0
+pkgrel=145
+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
+}


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

2020-10-04 Thread Felix Yan via arch-commits
Date: Sunday, October 4, 2020 @ 10:29:09
  Author: felixonmars
Revision: 717523

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
717522, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-04 10:29:09 UTC (rev 717523)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.4.0
+pkgrel=144
+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
+}


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

2020-10-02 Thread Felix Yan via arch-commits
Date: Friday, October 2, 2020 @ 11:29:53
  Author: felixonmars
Revision: 715300

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
715299, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-02 11:29:53 UTC (rev 715300)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.4.0
+pkgrel=143
+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
+}


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

2020-09-17 Thread Felix Yan via arch-commits
Date: Friday, September 18, 2020 @ 04:02:05
  Author: felixonmars
Revision: 709671

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
709670, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-18 04:02:05 UTC (rev 709671)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.4.0
+pkgrel=142
+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
+}


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

2020-09-15 Thread Felix Yan via arch-commits
Date: Tuesday, September 15, 2020 @ 07:18:32
  Author: felixonmars
Revision: 706951

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
706950, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-15 07:18:32 UTC (rev 706951)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.4.0
+pkgrel=141
+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
+}


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

2020-09-12 Thread Felix Yan via arch-commits
Date: Saturday, September 12, 2020 @ 20:21:44
  Author: felixonmars
Revision: 704757

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
704756, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-12 20:21:44 UTC (rev 704757)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.4.0
+pkgrel=140
+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
+}


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

2020-09-11 Thread Felix Yan via arch-commits
Date: Friday, September 11, 2020 @ 10:03:30
  Author: felixonmars
Revision: 702624

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
702623, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-11 10:03:30 UTC (rev 702624)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.4.0
+pkgrel=139
+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
+}


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

2020-09-07 Thread Felix Yan via arch-commits
Date: Monday, September 7, 2020 @ 19:30:15
  Author: felixonmars
Revision: 700213

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
700212, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-07 19:30:15 UTC (rev 700213)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.4.0
+pkgrel=138
+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
+}


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

2020-09-04 Thread Felix Yan via arch-commits
Date: Friday, September 4, 2020 @ 20:01:08
  Author: felixonmars
Revision: 698550

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
698549, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-04 20:01:08 UTC (rev 698550)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.4.0
+pkgrel=137
+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
+}


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

2020-09-03 Thread Felix Yan via arch-commits
Date: Thursday, September 3, 2020 @ 13:36:37
  Author: felixonmars
Revision: 697372

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
697370, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-03 13:36:37 UTC (rev 697372)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.4.0
+pkgrel=136
+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
+}


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

2020-08-31 Thread Felix Yan via arch-commits
Date: Monday, August 31, 2020 @ 09:30:27
  Author: felixonmars
Revision: 693996

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
693995, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-31 09:30:27 UTC (rev 693996)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.4.0
+pkgrel=135
+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
+}


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

2020-08-28 Thread Felix Yan via arch-commits
Date: Friday, August 28, 2020 @ 18:53:56
  Author: felixonmars
Revision: 691145

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
691144, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-28 18:53:56 UTC (rev 691145)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.4.0
+pkgrel=134
+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
+}


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

2020-08-25 Thread Felix Yan via arch-commits
Date: Tuesday, August 25, 2020 @ 21:22:54
  Author: felixonmars
Revision: 688754

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
688753, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-25 21:22:54 UTC (rev 688754)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.4.0
+pkgrel=133
+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
+}


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

2020-08-19 Thread Felix Yan via arch-commits
Date: Wednesday, August 19, 2020 @ 16:46:05
  Author: felixonmars
Revision: 685029

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
685028, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-19 16:46:05 UTC (rev 685029)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.4.0
+pkgrel=132
+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
+}


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

2020-08-17 Thread Felix Yan via arch-commits
Date: Tuesday, August 18, 2020 @ 00:15:37
  Author: felixonmars
Revision: 683600

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
683599, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-18 00:15:37 UTC (rev 683600)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.4.0
+pkgrel=131
+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
+}


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

2020-08-16 Thread Felix Yan via arch-commits
Date: Sunday, August 16, 2020 @ 16:08:47
  Author: felixonmars
Revision: 681607

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
681606, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-16 16:08:47 UTC (rev 681607)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.4.0
+pkgrel=129
+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
+}


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

2020-08-15 Thread Felix Yan via arch-commits
Date: Sunday, August 16, 2020 @ 03:09:58
  Author: felixonmars
Revision: 680622

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
680621, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-16 03:09:58 UTC (rev 680622)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.4.0
+pkgrel=128
+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
+}


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

2020-08-13 Thread Felix Yan via arch-commits
Date: Thursday, August 13, 2020 @ 22:10:31
  Author: felixonmars
Revision: 678176

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
678175, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-13 22:10:31 UTC (rev 678176)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.4.0
+pkgrel=127
+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
+}


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

2020-08-11 Thread Felix Yan via arch-commits
Date: Wednesday, August 12, 2020 @ 01:47:55
  Author: felixonmars
Revision: 675436

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
675435, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-12 01:47:55 UTC (rev 675436)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.4.0
+pkgrel=126
+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
+}


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

2020-08-07 Thread Felix Yan via arch-commits
Date: Saturday, August 8, 2020 @ 05:12:18
  Author: felixonmars
Revision: 671837

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
671836, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-08 05:12:18 UTC (rev 671837)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.4.0
+pkgrel=125
+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
+}


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

2020-08-05 Thread Felix Yan via arch-commits
Date: Wednesday, August 5, 2020 @ 19:56:16
  Author: felixonmars
Revision: 670347

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
670346, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-05 19:56:16 UTC (rev 670347)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.4.0
+pkgrel=124
+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
+}


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

2020-07-31 Thread Felix Yan via arch-commits
Date: Saturday, August 1, 2020 @ 05:07:13
  Author: felixonmars
Revision: 667199

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
667198, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-01 05:07:13 UTC (rev 667199)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_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
+}


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

2020-06-29 Thread Felix Yan via arch-commits
Date: Monday, June 29, 2020 @ 10:19:28
  Author: felixonmars
Revision: 656101

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
656100, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-06-29 10:19:28 UTC (rev 656101)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.4.0
+pkgrel=121
+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
+}


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

2020-06-27 Thread Felix Yan via arch-commits
Date: Friday, June 26, 2020 @ 15:59:36
  Author: felixonmars
Revision: 654144

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
654143, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-06-26 15:59:36 UTC (rev 654144)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.4.0
+pkgrel=120
+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
+}


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

2020-06-24 Thread Felix Yan via arch-commits
Date: Wednesday, June 24, 2020 @ 10:49:27
  Author: felixonmars
Revision: 652295

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
652294, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-06-24 10:49:27 UTC (rev 652295)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.4.0
+pkgrel=118
+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
+}


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

2020-06-22 Thread Felix Yan via arch-commits
Date: Monday, June 22, 2020 @ 12:06:16
  Author: felixonmars
Revision: 650419

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
650418, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-06-22 12:06:16 UTC (rev 650419)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.4.0
+pkgrel=117
+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
+}


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

2020-06-17 Thread Felix Yan via arch-commits
Date: Wednesday, June 17, 2020 @ 18:20:08
  Author: felixonmars
Revision: 646427

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
646426, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-06-17 18:20:08 UTC (rev 646427)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.4.0
+pkgrel=116
+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
+}


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

2020-06-15 Thread Felix Yan via arch-commits
Date: Monday, June 15, 2020 @ 17:14:47
  Author: felixonmars
Revision: 645362

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
645361, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-06-15 17:14:47 UTC (rev 645362)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.4.0
+pkgrel=115
+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
+}


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

2020-06-14 Thread Felix Yan via arch-commits
Date: Sunday, June 14, 2020 @ 06:19:07
  Author: felixonmars
Revision: 643841

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
643840, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-06-14 06:19:07 UTC (rev 643841)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.4.0
+pkgrel=114
+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
+}


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

2020-06-12 Thread Felix Yan via arch-commits
Date: Friday, June 12, 2020 @ 17:30:50
  Author: felixonmars
Revision: 642441

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
642440, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-06-12 17:30:50 UTC (rev 642441)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.4.0
+pkgrel=113
+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
+}


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

2020-06-11 Thread Felix Yan via arch-commits
Date: Thursday, June 11, 2020 @ 07:12:12
  Author: felixonmars
Revision: 641932

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
641931, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-06-11 07:12:12 UTC (rev 641932)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.4.0
+pkgrel=112
+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
+}


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

2020-06-09 Thread Felix Yan via arch-commits
Date: Tuesday, June 9, 2020 @ 20:41:19
  Author: felixonmars
Revision: 640945

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
640944, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-06-09 20:41:19 UTC (rev 640945)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.4.0
+pkgrel=111
+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
+}


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

2020-06-07 Thread Felix Yan via arch-commits
Date: Sunday, June 7, 2020 @ 20:59:09
  Author: felixonmars
Revision: 640126

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
640125, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-06-07 20:59:09 UTC (rev 640126)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.4.0
+pkgrel=110
+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
+}


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

2020-06-06 Thread Felix Yan via arch-commits
Date: Saturday, June 6, 2020 @ 10:43:22
  Author: felixonmars
Revision: 639414

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
639413, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-06-06 10:43:22 UTC (rev 639414)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.4.0
+pkgrel=109
+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
+}


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

2020-06-03 Thread Felix Yan via arch-commits
Date: Wednesday, June 3, 2020 @ 17:59:48
  Author: felixonmars
Revision: 638418

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
638417, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-06-03 17:59:48 UTC (rev 638418)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.4.0
+pkgrel=108
+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
+}


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

2020-05-23 Thread Felix Yan via arch-commits
Date: Saturday, May 23, 2020 @ 22:04:32
  Author: felixonmars
Revision: 632655

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
632654, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-05-23 22:04:32 UTC (rev 632655)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.4.0
+pkgrel=107
+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
+}


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

2020-05-19 Thread Felix Yan via arch-commits
Date: Tuesday, May 19, 2020 @ 18:58:31
  Author: felixonmars
Revision: 630054

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
630053, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-05-19 18:58:31 UTC (rev 630054)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.4.0
+pkgrel=106
+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
+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
+}


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

2020-05-12 Thread Felix Yan via arch-commits
Date: Wednesday, May 13, 2020 @ 05:37:42
  Author: felixonmars
Revision: 627366

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
627365, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-05-13 05:37:42 UTC (rev 627366)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.4.0
+pkgrel=105
+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
+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
+}


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

2020-04-30 Thread Felix Yan via arch-commits
Date: Thursday, April 30, 2020 @ 20:52:37
  Author: felixonmars
Revision: 623444

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
623443, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-30 20:52:37 UTC (rev 623444)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.4.0
+pkgrel=104
+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
+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
+}


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

2020-04-24 Thread Felix Yan via arch-commits
Date: Friday, April 24, 2020 @ 17:30:12
  Author: felixonmars
Revision: 619361

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
619360, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-24 17:30:12 UTC (rev 619361)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.4.0
+pkgrel=103
+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
+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
+}


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

2020-04-19 Thread Felix Yan via arch-commits
Date: Sunday, April 19, 2020 @ 21:11:16
  Author: felixonmars
Revision: 616582

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
616581, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-19 21:11:16 UTC (rev 616582)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.4.0
+pkgrel=102
+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
+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
+}


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

2020-04-14 Thread Felix Yan via arch-commits
Date: Tuesday, April 14, 2020 @ 22:45:01
  Author: felixonmars
Revision: 614370

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
614369, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-14 22:45:01 UTC (rev 614370)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.4.0
+pkgrel=101
+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
+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
+}


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

2020-04-02 Thread Felix Yan via arch-commits
Date: Thursday, April 2, 2020 @ 20:06:10
  Author: felixonmars
Revision: 610221

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
610220, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-02 20:06:10 UTC (rev 610221)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.4.0
+pkgrel=100
+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
+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
+}


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

2020-04-01 Thread Felix Yan via arch-commits
Date: Wednesday, April 1, 2020 @ 20:56:26
  Author: felixonmars
Revision: 609206

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
609205, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-01 20:56:26 UTC (rev 609206)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.4.0
+pkgrel=99
+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
+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
+}


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

2020-03-30 Thread Felix Yan via arch-commits
Date: Monday, March 30, 2020 @ 20:08:39
  Author: felixonmars
Revision: 607146

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
607145, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-03-30 20:08:39 UTC (rev 607146)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.4.0
+pkgrel=98
+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
+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
+}


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

2020-03-29 Thread Felix Yan via arch-commits
Date: Sunday, March 29, 2020 @ 16:59:59
  Author: felixonmars
Revision: 606129

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
606128, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-03-29 16:59:59 UTC (rev 606129)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.4.0
+pkgrel=97
+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
+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
+}


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

2020-03-28 Thread Felix Yan via arch-commits
Date: Saturday, March 28, 2020 @ 15:00:22
  Author: felixonmars
Revision: 605178

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
605177, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-03-28 15:00:22 UTC (rev 605178)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.4.0
+pkgrel=96
+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
+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
+}


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

2020-03-21 Thread Felix Yan via arch-commits
Date: Saturday, March 21, 2020 @ 06:46:26
  Author: felixonmars
Revision: 602302

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
602301, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-03-21 06:46:26 UTC (rev 602302)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.4.0
+pkgrel=95
+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
+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
+}


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

2020-03-15 Thread Felix Yan via arch-commits
Date: Sunday, March 15, 2020 @ 22:30:47
  Author: felixonmars
Revision: 598736

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
598735, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-03-15 22:30:47 UTC (rev 598736)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.4.0
+pkgrel=94
+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
+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
+}


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

2020-03-13 Thread Felix Yan via arch-commits
Date: Friday, March 13, 2020 @ 13:57:19
  Author: felixonmars
Revision: 595967

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
595966, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-03-13 13:57:19 UTC (rev 595967)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.4.0
+pkgrel=93
+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
+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
+}


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

2020-03-11 Thread Felix Yan via arch-commits
Date: Wednesday, March 11, 2020 @ 18:44:02
  Author: felixonmars
Revision: 594571

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
594570, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-03-11 18:44:02 UTC (rev 594571)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.4.0
+pkgrel=92
+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
+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
+}


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

2020-03-09 Thread Felix Yan via arch-commits
Date: Monday, March 9, 2020 @ 23:05:02
  Author: felixonmars
Revision: 593342

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   50 ++
 1 file changed, 50 insertions(+)

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
593341, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-03-09 23:05:02 UTC (rev 593342)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.4.0
+pkgrel=91
+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
+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
+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
+}


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

2020-03-07 Thread Felix Yan via arch-commits
Date: Saturday, March 7, 2020 @ 21:59:05
  Author: felixonmars
Revision: 591312

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   50 ++
 1 file changed, 50 insertions(+)

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
591311, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-03-07 21:59:05 UTC (rev 591312)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.4.0
+pkgrel=90
+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
+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
+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
+}


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

2020-03-02 Thread Felix Yan via arch-commits
Date: Tuesday, March 3, 2020 @ 06:40:47
  Author: felixonmars
Revision: 589372

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   50 ++
 1 file changed, 50 insertions(+)

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
589371, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-03-03 06:40:47 UTC (rev 589372)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.4.0
+pkgrel=89
+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
+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
+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
+}


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

2020-03-01 Thread Felix Yan via arch-commits
Date: Sunday, March 1, 2020 @ 23:49:55
  Author: felixonmars
Revision: 588368

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   50 ++
 1 file changed, 50 insertions(+)

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
588367, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-03-01 23:49:55 UTC (rev 588368)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.4.0
+pkgrel=88
+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
+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
+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
+}


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

2020-02-29 Thread Felix Yan via arch-commits
Date: Saturday, February 29, 2020 @ 17:19:55
  Author: felixonmars
Revision: 586964

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   50 ++
 1 file changed, 50 insertions(+)

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
586963, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-29 17:19:55 UTC (rev 586964)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.4.0
+pkgrel=87
+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
+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
+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
+}


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

2020-02-27 Thread Felix Yan via arch-commits
Date: Thursday, February 27, 2020 @ 19:02:33
  Author: felixonmars
Revision: 584639

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   50 ++
 1 file changed, 50 insertions(+)

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
584638, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-27 19:02:33 UTC (rev 584639)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.4.0
+pkgrel=86
+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
+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
+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
+}


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

2020-02-25 Thread Felix Yan via arch-commits
Date: Tuesday, February 25, 2020 @ 21:59:31
  Author: felixonmars
Revision: 582105

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   50 ++
 1 file changed, 50 insertions(+)

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
582104, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-25 21:59:31 UTC (rev 582105)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.4.0
+pkgrel=85
+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
+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
+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
+}


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

2020-02-24 Thread Felix Yan via arch-commits
Date: Monday, February 24, 2020 @ 19:11:53
  Author: felixonmars
Revision: 580723

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   50 ++
 1 file changed, 50 insertions(+)

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
580722, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-24 19:11:53 UTC (rev 580723)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.4.0
+pkgrel=84
+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
+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
+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
+}


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

2020-02-22 Thread Felix Yan via arch-commits
Date: Sunday, February 23, 2020 @ 05:47:10
  Author: felixonmars
Revision: 579305

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   50 ++
 1 file changed, 50 insertions(+)

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
579304, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-23 05:47:10 UTC (rev 579305)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.4.0
+pkgrel=83
+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
+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
+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
+}


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

2020-02-22 Thread Felix Yan via arch-commits
Date: Saturday, February 22, 2020 @ 15:04:10
  Author: felixonmars
Revision: 578717

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   50 ++
 1 file changed, 50 insertions(+)

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
578716, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-22 15:04:10 UTC (rev 578717)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.4.0
+pkgrel=82
+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
+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
+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
+}


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

2020-02-22 Thread Felix Yan via arch-commits
Date: Saturday, February 22, 2020 @ 10:05:13
  Author: felixonmars
Revision: 578270

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   50 ++
 1 file changed, 50 insertions(+)

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
578269, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-22 10:05:13 UTC (rev 578270)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.4.0
+pkgrel=81
+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
+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
+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
+}


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

2020-02-21 Thread Felix Yan via arch-commits
Date: Friday, February 21, 2020 @ 16:00:51
  Author: felixonmars
Revision: 577688

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   50 ++
 1 file changed, 50 insertions(+)

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
577687, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-21 16:00:51 UTC (rev 577688)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.4.0
+pkgrel=80
+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
+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
+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
+}


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

2020-02-19 Thread Felix Yan via arch-commits
Date: Wednesday, February 19, 2020 @ 20:32:46
  Author: felixonmars
Revision: 576825

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   50 ++
 1 file changed, 50 insertions(+)

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
576824, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-19 20:32:46 UTC (rev 576825)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.4.0
+pkgrel=79
+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
+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
+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"
+}


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

2020-02-17 Thread Felix Yan via arch-commits
Date: Monday, February 17, 2020 @ 16:43:11
  Author: felixonmars
Revision: 574384

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   50 ++
 1 file changed, 50 insertions(+)

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
574382, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-17 16:43:11 UTC (rev 574384)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.4.0
+pkgrel=78
+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
+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
+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"
+}


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

2020-02-16 Thread Felix Yan via arch-commits
Date: Sunday, February 16, 2020 @ 11:42:17
  Author: felixonmars
Revision: 572360

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   50 ++
 1 file changed, 50 insertions(+)

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
572359, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-16 11:42:17 UTC (rev 572360)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.4.0
+pkgrel=77
+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
+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
+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"
+}


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

2020-02-12 Thread Felix Yan via arch-commits
Date: Wednesday, February 12, 2020 @ 19:16:49
  Author: felixonmars
Revision: 569642

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   50 ++
 1 file changed, 50 insertions(+)

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
569641, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-12 19:16:49 UTC (rev 569642)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.4.0
+pkgrel=76
+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
+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
+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"
+}


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

2020-02-11 Thread Felix Yan via arch-commits
Date: Tuesday, February 11, 2020 @ 19:42:36
  Author: felixonmars
Revision: 567978

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   50 ++
 1 file changed, 50 insertions(+)

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
567977, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-11 19:42:36 UTC (rev 567978)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.4.0
+pkgrel=75
+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
+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
+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"
+}


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

2020-02-11 Thread Felix Yan via arch-commits
Date: Tuesday, February 11, 2020 @ 11:03:38
  Author: felixonmars
Revision: 567021

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   50 ++
 1 file changed, 50 insertions(+)

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
567020, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-11 11:03:38 UTC (rev 567021)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.4.0
+pkgrel=74
+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
+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
+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"
+}


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

2020-02-09 Thread Felix Yan via arch-commits
Date: Sunday, February 9, 2020 @ 15:16:26
  Author: felixonmars
Revision: 565339

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   50 ++
 1 file changed, 50 insertions(+)

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
565338, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-09 15:16:26 UTC (rev 565339)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.4.0
+pkgrel=73
+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
+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
+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"
+}


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

2020-02-08 Thread Felix Yan via arch-commits
Date: Saturday, February 8, 2020 @ 08:27:00
  Author: felixonmars
Revision: 563833

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   50 ++
 1 file changed, 50 insertions(+)

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
563832, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-08 08:27:00 UTC (rev 563833)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.4.0
+pkgrel=72
+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
+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
+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"
+}


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

2020-01-29 Thread Felix Yan via arch-commits
Date: Wednesday, January 29, 2020 @ 22:55:27
  Author: felixonmars
Revision: 559255

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   50 ++
 1 file changed, 50 insertions(+)

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
559254, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-01-29 22:55:27 UTC (rev 559255)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.4.0
+pkgrel=71
+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
+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
+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"
+}


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

2020-01-28 Thread Felix Yan via arch-commits
Date: Tuesday, January 28, 2020 @ 09:30:04
  Author: felixonmars
Revision: 557545

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   50 ++
 1 file changed, 50 insertions(+)

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
557544, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-01-28 09:30:04 UTC (rev 557545)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.4.0
+pkgrel=70
+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
+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
+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"
+}


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

2020-01-27 Thread Felix Yan via arch-commits
Date: Monday, January 27, 2020 @ 09:48:52
  Author: felixonmars
Revision: 555806

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   50 ++
 1 file changed, 50 insertions(+)

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
555805, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-01-27 09:48:52 UTC (rev 555806)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.4.0
+pkgrel=69
+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
+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
+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"
+}


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

2020-01-22 Thread Felix Yan via arch-commits
Date: Thursday, January 23, 2020 @ 05:24:25
  Author: felixonmars
Revision: 554788

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   50 ++
 1 file changed, 50 insertions(+)

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
554787, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-01-23 05:24:25 UTC (rev 554788)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.4.0
+pkgrel=68
+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
+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
+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"
+}


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

2020-01-10 Thread Felix Yan via arch-commits
Date: Friday, January 10, 2020 @ 16:20:47
  Author: felixonmars
Revision: 551695

archrelease: copy trunk to community-staging-x86_64

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

--+
 PKGBUILD |   50 ++
 1 file changed, 50 insertions(+)

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
551694, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-01-10 16:20:47 UTC (rev 551695)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.4.0
+pkgrel=67
+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
+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
+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"
+}


  1   2   3   >