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

2018-11-15 Thread Felix Yan via arch-commits
Date: Friday, November 16, 2018 @ 06:03:09
  Author: felixonmars
Revision: 407834

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 407833, haskell-config-ini/trunk/PKGBUILD)

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
407833, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-11-16 06:03:09 UTC (rev 407834)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.2.0
+pkgrel=94
+pkgdesc="A library for simple INI-based configuration files."
+url="https://github.com/aisamanra/config-ini;
+license=("custom:BSD3")
+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=('901745b9e6f2eb5d6458c8702a4a112f115448a89152eeec6610096ffb82577f132f0ab748835a9a55c293840674652791a54c746289fd718f37bd41ea3b4ed1')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i 's/< *0.6/<1/' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-enable-doctests
+# https://github.com/aisamanra/config-ini/issues/12
+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
+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)

2018-11-07 Thread Felix Yan via arch-commits
Date: Wednesday, November 7, 2018 @ 11:20:47
  Author: felixonmars
Revision: 402737

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 402736, haskell-config-ini/trunk/PKGBUILD)

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
402736, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-11-07 11:20:47 UTC (rev 402737)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.2.0
+pkgrel=93
+pkgdesc="A library for simple INI-based configuration files."
+url="https://github.com/aisamanra/config-ini;
+license=("custom:BSD3")
+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=('901745b9e6f2eb5d6458c8702a4a112f115448a89152eeec6610096ffb82577f132f0ab748835a9a55c293840674652791a54c746289fd718f37bd41ea3b4ed1')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i 's/< *0.6/<1/' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-enable-doctests
+# https://github.com/aisamanra/config-ini/issues/12
+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
+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)

2018-11-03 Thread Felix Yan via arch-commits
Date: Sunday, November 4, 2018 @ 01:31:53
  Author: felixonmars
Revision: 401361

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 401360, haskell-config-ini/trunk/PKGBUILD)

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
401360, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-11-04 01:31:53 UTC (rev 401361)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.2.0
+pkgrel=92
+pkgdesc="A library for simple INI-based configuration files."
+url="https://github.com/aisamanra/config-ini;
+license=("custom:BSD3")
+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=('901745b9e6f2eb5d6458c8702a4a112f115448a89152eeec6610096ffb82577f132f0ab748835a9a55c293840674652791a54c746289fd718f37bd41ea3b4ed1')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i 's/< *0.6/<1/' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-enable-doctests
+# https://github.com/aisamanra/config-ini/issues/12
+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
+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)

2018-10-31 Thread Felix Yan via arch-commits
Date: Wednesday, October 31, 2018 @ 16:13:21
  Author: felixonmars
Revision: 400323

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 400322, haskell-config-ini/trunk/PKGBUILD)

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
400322, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-10-31 16:13:21 UTC (rev 400323)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.2.0
+pkgrel=91
+pkgdesc="A library for simple INI-based configuration files."
+url="https://github.com/aisamanra/config-ini;
+license=("custom:BSD3")
+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=('901745b9e6f2eb5d6458c8702a4a112f115448a89152eeec6610096ffb82577f132f0ab748835a9a55c293840674652791a54c746289fd718f37bd41ea3b4ed1')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i 's/< *0.6/<1/' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-enable-doctests
+# https://github.com/aisamanra/config-ini/issues/12
+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
+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)

2018-10-18 Thread Felix Yan via arch-commits
Date: Friday, October 19, 2018 @ 05:26:02
  Author: felixonmars
Revision: 397162

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 397161, haskell-config-ini/trunk/PKGBUILD)

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
397161, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-10-19 05:26:02 UTC (rev 397162)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.2.0
+pkgrel=90
+pkgdesc="A library for simple INI-based configuration files."
+url="https://github.com/aisamanra/config-ini;
+license=("custom:BSD3")
+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=('901745b9e6f2eb5d6458c8702a4a112f115448a89152eeec6610096ffb82577f132f0ab748835a9a55c293840674652791a54c746289fd718f37bd41ea3b4ed1')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i 's/< *0.6/<1/' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-enable-doctests
+# https://github.com/aisamanra/config-ini/issues/12
+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
+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)

2018-10-16 Thread Felix Yan via arch-commits
Date: Tuesday, October 16, 2018 @ 07:56:43
  Author: felixonmars
Revision: 394529

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 394528, haskell-config-ini/trunk/PKGBUILD)

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
394528, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-10-16 07:56:43 UTC (rev 394529)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.2.0
+pkgrel=89
+pkgdesc="A library for simple INI-based configuration files."
+url="https://github.com/aisamanra/config-ini;
+license=("custom:BSD3")
+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=('901745b9e6f2eb5d6458c8702a4a112f115448a89152eeec6610096ffb82577f132f0ab748835a9a55c293840674652791a54c746289fd718f37bd41ea3b4ed1')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i 's/< *0.6/<1/' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-enable-doctests
+# https://github.com/aisamanra/config-ini/issues/12
+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
+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)

2018-10-11 Thread Felix Yan via arch-commits
Date: Thursday, October 11, 2018 @ 19:18:56
  Author: felixonmars
Revision: 392664

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 392663, haskell-config-ini/trunk/PKGBUILD)

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
392663, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-10-11 19:18:56 UTC (rev 392664)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.2.0
+pkgrel=88
+pkgdesc="A library for simple INI-based configuration files."
+url="https://github.com/aisamanra/config-ini;
+license=("custom:BSD3")
+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=('901745b9e6f2eb5d6458c8702a4a112f115448a89152eeec6610096ffb82577f132f0ab748835a9a55c293840674652791a54c746289fd718f37bd41ea3b4ed1')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-enable-doctests
+# https://github.com/aisamanra/config-ini/issues/12
+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
+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)

2018-10-09 Thread Felix Yan via arch-commits
Date: Tuesday, October 9, 2018 @ 19:11:14
  Author: felixonmars
Revision: 391774

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 391773, haskell-config-ini/trunk/PKGBUILD)

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
391773, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-10-09 19:11:14 UTC (rev 391774)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.2.0
+pkgrel=87
+pkgdesc="A library for simple INI-based configuration files."
+url="https://github.com/aisamanra/config-ini;
+license=("custom:BSD3")
+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=('901745b9e6f2eb5d6458c8702a4a112f115448a89152eeec6610096ffb82577f132f0ab748835a9a55c293840674652791a54c746289fd718f37bd41ea3b4ed1')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-enable-doctests
+# https://github.com/aisamanra/config-ini/issues/12
+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
+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)

2018-10-05 Thread Felix Yan via arch-commits
Date: Friday, October 5, 2018 @ 19:09:57
  Author: felixonmars
Revision: 390270

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 390269, haskell-config-ini/trunk/PKGBUILD)

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
390269, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-10-05 19:09:57 UTC (rev 390270)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.2.0
+pkgrel=86
+pkgdesc="A library for simple INI-based configuration files."
+url="https://github.com/aisamanra/config-ini;
+license=("custom:BSD3")
+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=('901745b9e6f2eb5d6458c8702a4a112f115448a89152eeec6610096ffb82577f132f0ab748835a9a55c293840674652791a54c746289fd718f37bd41ea3b4ed1')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-enable-doctests
+# https://github.com/aisamanra/config-ini/issues/12
+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
+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)

2018-09-29 Thread Felix Yan via arch-commits
Date: Saturday, September 29, 2018 @ 15:04:33
  Author: felixonmars
Revision: 387744

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 387743, haskell-config-ini/trunk/PKGBUILD)

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
387743, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-09-29 15:04:33 UTC (rev 387744)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.2.0
+pkgrel=85
+pkgdesc="A library for simple INI-based configuration files."
+url="https://github.com/aisamanra/config-ini;
+license=("custom:BSD3")
+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=('901745b9e6f2eb5d6458c8702a4a112f115448a89152eeec6610096ffb82577f132f0ab748835a9a55c293840674652791a54c746289fd718f37bd41ea3b4ed1')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-enable-doctests
+# https://github.com/aisamanra/config-ini/issues/12
+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
+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)

2018-09-29 Thread Felix Yan via arch-commits
Date: Saturday, September 29, 2018 @ 09:10:21
  Author: felixonmars
Revision: 387701

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 387700, haskell-config-ini/trunk/PKGBUILD)

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
387700, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-09-29 09:10:21 UTC (rev 387701)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.3.0
+pkgrel=1
+pkgdesc="A library for simple INI-based configuration files."
+url="https://github.com/aisamanra/config-ini;
+license=("custom:BSD3")
+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=('529b4cf8690ee1ad7aeb77bedafd833ee0ab776bd71071a945dd47a8097fa8038f2d3dda0f19823a2dd28762c2bc4dc68ac05b067e2f1109809538372215f583')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-enable-doctests
+# https://github.com/aisamanra/config-ini/issues/12
+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
+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)

2018-09-27 Thread Felix Yan via arch-commits
Date: Thursday, September 27, 2018 @ 15:23:00
  Author: felixonmars
Revision: 386453

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 386452, haskell-config-ini/trunk/PKGBUILD)

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
386452, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-09-27 15:23:00 UTC (rev 386453)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.2.0
+pkgrel=84
+pkgdesc="A library for simple INI-based configuration files."
+url="https://github.com/aisamanra/config-ini;
+license=("custom:BSD3")
+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=('901745b9e6f2eb5d6458c8702a4a112f115448a89152eeec6610096ffb82577f132f0ab748835a9a55c293840674652791a54c746289fd718f37bd41ea3b4ed1')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-enable-doctests
+# https://github.com/aisamanra/config-ini/issues/12
+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
+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)

2018-09-27 Thread Felix Yan via arch-commits
Date: Thursday, September 27, 2018 @ 07:34:10
  Author: felixonmars
Revision: 385960

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 385959, haskell-config-ini/trunk/PKGBUILD)

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
385959, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-09-27 07:34:10 UTC (rev 385960)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.2.0
+pkgrel=83
+pkgdesc="A library for simple INI-based configuration files."
+url="https://github.com/aisamanra/config-ini;
+license=("custom:BSD3")
+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=('901745b9e6f2eb5d6458c8702a4a112f115448a89152eeec6610096ffb82577f132f0ab748835a9a55c293840674652791a54c746289fd718f37bd41ea3b4ed1')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-enable-doctests
+# https://github.com/aisamanra/config-ini/issues/12
+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
+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)

2018-09-26 Thread Felix Yan via arch-commits
Date: Wednesday, September 26, 2018 @ 08:25:20
  Author: felixonmars
Revision: 385169

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 385168, haskell-config-ini/trunk/PKGBUILD)

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
385168, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-09-26 08:25:20 UTC (rev 385169)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.2.0
+pkgrel=82
+pkgdesc="A library for simple INI-based configuration files."
+url="https://github.com/aisamanra/config-ini;
+license=("custom:BSD3")
+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=('901745b9e6f2eb5d6458c8702a4a112f115448a89152eeec6610096ffb82577f132f0ab748835a9a55c293840674652791a54c746289fd718f37bd41ea3b4ed1')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-enable-doctests
+# https://github.com/aisamanra/config-ini/issues/12
+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
+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)

2018-09-23 Thread Felix Yan via arch-commits
Date: Sunday, September 23, 2018 @ 18:55:00
  Author: felixonmars
Revision: 384238

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 384237, haskell-config-ini/trunk/PKGBUILD)

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
384237, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-09-23 18:55:00 UTC (rev 384238)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.2.0
+pkgrel=81
+pkgdesc="A library for simple INI-based configuration files."
+url="https://github.com/aisamanra/config-ini;
+license=("custom:BSD3")
+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=('901745b9e6f2eb5d6458c8702a4a112f115448a89152eeec6610096ffb82577f132f0ab748835a9a55c293840674652791a54c746289fd718f37bd41ea3b4ed1')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-enable-doctests
+# https://github.com/aisamanra/config-ini/issues/12
+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
+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)

2018-09-22 Thread Felix Yan via arch-commits
Date: Saturday, September 22, 2018 @ 09:17:15
  Author: felixonmars
Revision: 383996

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 383995, haskell-config-ini/trunk/PKGBUILD)

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
383995, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-09-22 09:17:15 UTC (rev 383996)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.2.0
+pkgrel=80
+pkgdesc="A library for simple INI-based configuration files."
+url="https://github.com/aisamanra/config-ini;
+license=("custom:BSD3")
+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=('901745b9e6f2eb5d6458c8702a4a112f115448a89152eeec6610096ffb82577f132f0ab748835a9a55c293840674652791a54c746289fd718f37bd41ea3b4ed1')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-enable-doctests
+# https://github.com/aisamanra/config-ini/issues/12
+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
+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)

2018-09-20 Thread Felix Yan via arch-commits
Date: Thursday, September 20, 2018 @ 10:21:50
  Author: felixonmars
Revision: 383556

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 383555, haskell-config-ini/trunk/PKGBUILD)

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
383555, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-09-20 10:21:50 UTC (rev 383556)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.2.0
+pkgrel=79
+pkgdesc="A library for simple INI-based configuration files."
+url="https://github.com/aisamanra/config-ini;
+license=("custom:BSD3")
+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=('901745b9e6f2eb5d6458c8702a4a112f115448a89152eeec6610096ffb82577f132f0ab748835a9a55c293840674652791a54c746289fd718f37bd41ea3b4ed1')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-enable-doctests
+# https://github.com/aisamanra/config-ini/issues/12
+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
+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)

2018-09-15 Thread Felix Yan via arch-commits
Date: Saturday, September 15, 2018 @ 15:13:29
  Author: felixonmars
Revision: 381622

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 381621, haskell-config-ini/trunk/PKGBUILD)

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
381621, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-09-15 15:13:29 UTC (rev 381622)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.2.0
+pkgrel=78
+pkgdesc="A library for simple INI-based configuration files."
+url="https://github.com/aisamanra/config-ini;
+license=("custom:BSD3")
+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=('901745b9e6f2eb5d6458c8702a4a112f115448a89152eeec6610096ffb82577f132f0ab748835a9a55c293840674652791a54c746289fd718f37bd41ea3b4ed1')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-enable-doctests
+# https://github.com/aisamanra/config-ini/issues/12
+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
+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)

2018-09-12 Thread Felix Yan via arch-commits
Date: Wednesday, September 12, 2018 @ 20:46:43
  Author: felixonmars
Revision: 379975

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 379974, haskell-config-ini/trunk/PKGBUILD)

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
379974, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-09-12 20:46:43 UTC (rev 379975)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.2.0
+pkgrel=77
+pkgdesc="A library for simple INI-based configuration files."
+url="https://github.com/aisamanra/config-ini;
+license=("custom:BSD3")
+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=('901745b9e6f2eb5d6458c8702a4a112f115448a89152eeec6610096ffb82577f132f0ab748835a9a55c293840674652791a54c746289fd718f37bd41ea3b4ed1')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-enable-doctests
+# https://github.com/aisamanra/config-ini/issues/12
+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
+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)

2018-09-10 Thread Felix Yan via arch-commits
Date: Monday, September 10, 2018 @ 10:21:04
  Author: felixonmars
Revision: 379043

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 379042, haskell-config-ini/trunk/PKGBUILD)

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
379042, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-09-10 10:21:04 UTC (rev 379043)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.2.0
+pkgrel=76
+pkgdesc="A library for simple INI-based configuration files."
+url="https://github.com/aisamanra/config-ini;
+license=("custom:BSD3")
+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=('901745b9e6f2eb5d6458c8702a4a112f115448a89152eeec6610096ffb82577f132f0ab748835a9a55c293840674652791a54c746289fd718f37bd41ea3b4ed1')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-enable-doctests
+# https://github.com/aisamanra/config-ini/issues/12
+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
+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)

2018-09-06 Thread Felix Yan via arch-commits
Date: Thursday, September 6, 2018 @ 16:42:35
  Author: felixonmars
Revision: 377737

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 377736, haskell-config-ini/trunk/PKGBUILD)

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
377736, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-09-06 16:42:35 UTC (rev 377737)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.2.0
+pkgrel=75
+pkgdesc="A library for simple INI-based configuration files."
+url="https://github.com/aisamanra/config-ini;
+license=("custom:BSD3")
+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=('901745b9e6f2eb5d6458c8702a4a112f115448a89152eeec6610096ffb82577f132f0ab748835a9a55c293840674652791a54c746289fd718f37bd41ea3b4ed1')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-enable-doctests
+# https://github.com/aisamanra/config-ini/issues/12
+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
+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)

2018-08-29 Thread Felix Yan via arch-commits
Date: Wednesday, August 29, 2018 @ 08:44:03
  Author: felixonmars
Revision: 375091

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 375090, haskell-config-ini/trunk/PKGBUILD)

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
375090, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-08-29 08:44:03 UTC (rev 375091)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.2.0
+pkgrel=74
+pkgdesc="A library for simple INI-based configuration files."
+url="https://github.com/aisamanra/config-ini;
+license=("custom:BSD3")
+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=('901745b9e6f2eb5d6458c8702a4a112f115448a89152eeec6610096ffb82577f132f0ab748835a9a55c293840674652791a54c746289fd718f37bd41ea3b4ed1')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-enable-doctests
+# https://github.com/aisamanra/config-ini/issues/12
+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
+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)

2018-08-28 Thread Felix Yan via arch-commits
Date: Tuesday, August 28, 2018 @ 07:55:37
  Author: felixonmars
Revision: 374875

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 374874, haskell-config-ini/trunk/PKGBUILD)

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
374874, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-08-28 07:55:37 UTC (rev 374875)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.2.0
+pkgrel=73
+pkgdesc="A library for simple INI-based configuration files."
+url="https://github.com/aisamanra/config-ini;
+license=("custom:BSD3")
+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=('901745b9e6f2eb5d6458c8702a4a112f115448a89152eeec6610096ffb82577f132f0ab748835a9a55c293840674652791a54c746289fd718f37bd41ea3b4ed1')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-enable-doctests
+# https://github.com/aisamanra/config-ini/issues/12
+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
+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)

2018-08-14 Thread Felix Yan via arch-commits
Date: Tuesday, August 14, 2018 @ 07:50:19
  Author: felixonmars
Revision: 371363

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 371362, haskell-config-ini/trunk/PKGBUILD)

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
371362, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-08-14 07:50:19 UTC (rev 371363)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.2.0
+pkgrel=72
+pkgdesc="A library for simple INI-based configuration files."
+url="https://github.com/aisamanra/config-ini;
+license=("custom:BSD3")
+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=('901745b9e6f2eb5d6458c8702a4a112f115448a89152eeec6610096ffb82577f132f0ab748835a9a55c293840674652791a54c746289fd718f37bd41ea3b4ed1')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-enable-doctests
+# https://github.com/aisamanra/config-ini/issues/12
+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
+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)

2018-08-11 Thread Felix Yan via arch-commits
Date: Saturday, August 11, 2018 @ 08:48:00
  Author: felixonmars
Revision: 371000

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 370999, haskell-config-ini/trunk/PKGBUILD)

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
370999, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-08-11 08:48:00 UTC (rev 371000)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.2.0
+pkgrel=71
+pkgdesc="A library for simple INI-based configuration files."
+url="https://github.com/aisamanra/config-ini;
+license=("custom:BSD3")
+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=('901745b9e6f2eb5d6458c8702a4a112f115448a89152eeec6610096ffb82577f132f0ab748835a9a55c293840674652791a54c746289fd718f37bd41ea3b4ed1')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-enable-doctests
+# https://github.com/aisamanra/config-ini/issues/12
+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
+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)

2018-07-29 Thread Felix Yan via arch-commits
Date: Sunday, July 29, 2018 @ 10:02:45
  Author: felixonmars
Revision: 364349

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 364348, haskell-config-ini/trunk/PKGBUILD)

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
364348, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-07-29 10:02:45 UTC (rev 364349)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.2.0
+pkgrel=70
+pkgdesc="A library for simple INI-based configuration files."
+url="https://github.com/aisamanra/config-ini;
+license=("custom:BSD3")
+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=('901745b9e6f2eb5d6458c8702a4a112f115448a89152eeec6610096ffb82577f132f0ab748835a9a55c293840674652791a54c746289fd718f37bd41ea3b4ed1')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-enable-doctests
+# https://github.com/aisamanra/config-ini/issues/12
+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
+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)

2018-07-17 Thread Felix Yan via arch-commits
Date: Wednesday, July 18, 2018 @ 02:21:36
  Author: felixonmars
Revision: 361510

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 361509, haskell-config-ini/trunk/PKGBUILD)

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
361509, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-07-18 02:21:36 UTC (rev 361510)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.2.0
+pkgrel=69
+pkgdesc="A library for simple INI-based configuration files."
+url="https://github.com/aisamanra/config-ini;
+license=("custom:BSD3")
+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=('901745b9e6f2eb5d6458c8702a4a112f115448a89152eeec6610096ffb82577f132f0ab748835a9a55c293840674652791a54c746289fd718f37bd41ea3b4ed1')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-enable-doctests
+# https://github.com/aisamanra/config-ini/issues/12
+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
+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)

2018-07-17 Thread Felix Yan via arch-commits
Date: Tuesday, July 17, 2018 @ 11:17:29
  Author: felixonmars
Revision: 360694

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 360693, haskell-config-ini/trunk/PKGBUILD)

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
360693, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-07-17 11:17:29 UTC (rev 360694)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.2.0
+pkgrel=68
+pkgdesc="A library for simple INI-based configuration files."
+url="https://github.com/aisamanra/config-ini;
+license=("custom:BSD3")
+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=('901745b9e6f2eb5d6458c8702a4a112f115448a89152eeec6610096ffb82577f132f0ab748835a9a55c293840674652791a54c746289fd718f37bd41ea3b4ed1')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-enable-doctests
+# https://github.com/aisamanra/config-ini/issues/12
+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
+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)

2018-07-11 Thread Felix Yan via arch-commits
Date: Wednesday, July 11, 2018 @ 10:07:43
  Author: felixonmars
Revision: 357163

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 357162, haskell-config-ini/trunk/PKGBUILD)

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
357162, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-07-11 10:07:43 UTC (rev 357163)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.2.0
+pkgrel=67
+pkgdesc="A library for simple INI-based configuration files."
+url="https://github.com/aisamanra/config-ini;
+license=("custom:BSD3")
+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=('901745b9e6f2eb5d6458c8702a4a112f115448a89152eeec6610096ffb82577f132f0ab748835a9a55c293840674652791a54c746289fd718f37bd41ea3b4ed1')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-enable-doctests
+# https://github.com/aisamanra/config-ini/issues/12
+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
+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)

2018-07-10 Thread Felix Yan via arch-commits
Date: Tuesday, July 10, 2018 @ 15:47:16
  Author: felixonmars
Revision: 356229

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 356228, haskell-config-ini/trunk/PKGBUILD)

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
356228, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-07-10 15:47:16 UTC (rev 356229)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.2.0
+pkgrel=66
+pkgdesc="A library for simple INI-based configuration files."
+url="https://github.com/aisamanra/config-ini;
+license=("custom:BSD3")
+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=('901745b9e6f2eb5d6458c8702a4a112f115448a89152eeec6610096ffb82577f132f0ab748835a9a55c293840674652791a54c746289fd718f37bd41ea3b4ed1')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-enable-doctests
+# https://github.com/aisamanra/config-ini/issues/12
+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
+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)

2018-07-06 Thread Felix Yan via arch-commits
Date: Friday, July 6, 2018 @ 14:53:25
  Author: felixonmars
Revision: 353748

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 353747, haskell-config-ini/trunk/PKGBUILD)

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
353747, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-07-06 14:53:25 UTC (rev 353748)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.2.0
+pkgrel=65
+pkgdesc="A library for simple INI-based configuration files."
+url="https://github.com/aisamanra/config-ini;
+license=("custom:BSD3")
+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=('901745b9e6f2eb5d6458c8702a4a112f115448a89152eeec6610096ffb82577f132f0ab748835a9a55c293840674652791a54c746289fd718f37bd41ea3b4ed1')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-enable-doctests
+# https://github.com/aisamanra/config-ini/issues/12
+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
+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)

2018-07-05 Thread Felix Yan via arch-commits
Date: Thursday, July 5, 2018 @ 22:03:31
  Author: felixonmars
Revision: 353211

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 353210, haskell-config-ini/trunk/PKGBUILD)

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
353210, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-07-05 22:03:31 UTC (rev 353211)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.2.0
+pkgrel=64
+pkgdesc="A library for simple INI-based configuration files."
+url="https://github.com/aisamanra/config-ini;
+license=("custom:BSD3")
+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=('901745b9e6f2eb5d6458c8702a4a112f115448a89152eeec6610096ffb82577f132f0ab748835a9a55c293840674652791a54c746289fd718f37bd41ea3b4ed1')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-enable-doctests
+# https://github.com/aisamanra/config-ini/issues/12
+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
+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)

2018-07-04 Thread Felix Yan via arch-commits
Date: Wednesday, July 4, 2018 @ 18:14:14
  Author: felixonmars
Revision: 352011

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 352010, haskell-config-ini/trunk/PKGBUILD)

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
352010, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-07-04 18:14:14 UTC (rev 352011)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.2.0
+pkgrel=63
+pkgdesc="A library for simple INI-based configuration files."
+url="https://github.com/aisamanra/config-ini;
+license=("custom:BSD3")
+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=('901745b9e6f2eb5d6458c8702a4a112f115448a89152eeec6610096ffb82577f132f0ab748835a9a55c293840674652791a54c746289fd718f37bd41ea3b4ed1')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-enable-doctests
+# https://github.com/aisamanra/config-ini/issues/12
+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
+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)

2018-07-04 Thread Felix Yan via arch-commits
Date: Wednesday, July 4, 2018 @ 11:08:54
  Author: felixonmars
Revision: 351683

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 351682, haskell-config-ini/trunk/PKGBUILD)

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
351682, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-07-04 11:08:54 UTC (rev 351683)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.2.0
+pkgrel=62
+pkgdesc="A library for simple INI-based configuration files."
+url="https://github.com/aisamanra/config-ini;
+license=("custom:BSD3")
+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=('901745b9e6f2eb5d6458c8702a4a112f115448a89152eeec6610096ffb82577f132f0ab748835a9a55c293840674652791a54c746289fd718f37bd41ea3b4ed1')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-enable-doctests
+# https://github.com/aisamanra/config-ini/issues/12
+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
+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)

2018-07-03 Thread Felix Yan via arch-commits
Date: Tuesday, July 3, 2018 @ 11:41:40
  Author: felixonmars
Revision: 350861

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 350860, haskell-config-ini/trunk/PKGBUILD)

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
350860, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-07-03 11:41:40 UTC (rev 350861)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.2.0
+pkgrel=61
+pkgdesc="A library for simple INI-based configuration files."
+url="https://github.com/aisamanra/config-ini;
+license=("custom:BSD3")
+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=('901745b9e6f2eb5d6458c8702a4a112f115448a89152eeec6610096ffb82577f132f0ab748835a9a55c293840674652791a54c746289fd718f37bd41ea3b4ed1')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-enable-doctests
+# https://github.com/aisamanra/config-ini/issues/12
+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
+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)

2018-07-02 Thread Felix Yan via arch-commits
Date: Monday, July 2, 2018 @ 20:13:56
  Author: felixonmars
Revision: 350241

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 350240, haskell-config-ini/trunk/PKGBUILD)

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
350240, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-07-02 20:13:56 UTC (rev 350241)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.2.0
+pkgrel=60
+pkgdesc="A library for simple INI-based configuration files."
+url="https://github.com/aisamanra/config-ini;
+license=("custom:BSD3")
+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=('901745b9e6f2eb5d6458c8702a4a112f115448a89152eeec6610096ffb82577f132f0ab748835a9a55c293840674652791a54c746289fd718f37bd41ea3b4ed1')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-enable-doctests
+# https://github.com/aisamanra/config-ini/issues/12
+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
+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)

2018-06-30 Thread Felix Yan via arch-commits
Date: Saturday, June 30, 2018 @ 20:19:56
  Author: felixonmars
Revision: 349190

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 349189, haskell-config-ini/trunk/PKGBUILD)

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
349189, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-06-30 20:19:56 UTC (rev 349190)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.2.0
+pkgrel=59
+pkgdesc="A library for simple INI-based configuration files."
+url="https://github.com/aisamanra/config-ini;
+license=("custom:BSD3")
+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=('901745b9e6f2eb5d6458c8702a4a112f115448a89152eeec6610096ffb82577f132f0ab748835a9a55c293840674652791a54c746289fd718f37bd41ea3b4ed1')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-enable-doctests
+# https://github.com/aisamanra/config-ini/issues/12
+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
+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)

2018-06-28 Thread Felix Yan via arch-commits
Date: Thursday, June 28, 2018 @ 13:44:47
  Author: felixonmars
Revision: 346794

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 346793, haskell-config-ini/trunk/PKGBUILD)

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
346793, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-06-28 13:44:47 UTC (rev 346794)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.2.0
+pkgrel=58
+pkgdesc="A library for simple INI-based configuration files."
+url="https://github.com/aisamanra/config-ini;
+license=("custom:BSD3")
+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=('901745b9e6f2eb5d6458c8702a4a112f115448a89152eeec6610096ffb82577f132f0ab748835a9a55c293840674652791a54c746289fd718f37bd41ea3b4ed1')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-enable-doctests
+# https://github.com/aisamanra/config-ini/issues/12
+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
+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)

2018-06-24 Thread Felix Yan via arch-commits
Date: Sunday, June 24, 2018 @ 18:18:57
  Author: felixonmars
Revision: 345353

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 345352, haskell-config-ini/trunk/PKGBUILD)

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
345352, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-06-24 18:18:57 UTC (rev 345353)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.2.0
+pkgrel=57
+pkgdesc="A library for simple INI-based configuration files."
+url="https://github.com/aisamanra/config-ini;
+license=("custom:BSD3")
+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=('901745b9e6f2eb5d6458c8702a4a112f115448a89152eeec6610096ffb82577f132f0ab748835a9a55c293840674652791a54c746289fd718f37bd41ea3b4ed1')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-enable-doctests
+# https://github.com/aisamanra/config-ini/issues/12
+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
+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)

2018-06-22 Thread Felix Yan via arch-commits
Date: Saturday, June 23, 2018 @ 04:50:19
  Author: felixonmars
Revision: 344708

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 344707, haskell-config-ini/trunk/PKGBUILD)

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
344707, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-06-23 04:50:19 UTC (rev 344708)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.2.0
+pkgrel=56
+pkgdesc="A library for simple INI-based configuration files."
+url="https://github.com/aisamanra/config-ini;
+license=("custom:BSD3")
+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=('901745b9e6f2eb5d6458c8702a4a112f115448a89152eeec6610096ffb82577f132f0ab748835a9a55c293840674652791a54c746289fd718f37bd41ea3b4ed1')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-enable-doctests
+# https://github.com/aisamanra/config-ini/issues/12
+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
+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)

2018-06-18 Thread Felix Yan via arch-commits
Date: Monday, June 18, 2018 @ 06:53:52
  Author: felixonmars
Revision: 343625

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 343624, haskell-config-ini/trunk/PKGBUILD)

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
343624, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-06-18 06:53:52 UTC (rev 343625)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.2.0
+pkgrel=55
+pkgdesc="A library for simple INI-based configuration files."
+url="https://github.com/aisamanra/config-ini;
+license=("custom:BSD3")
+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=('901745b9e6f2eb5d6458c8702a4a112f115448a89152eeec6610096ffb82577f132f0ab748835a9a55c293840674652791a54c746289fd718f37bd41ea3b4ed1')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-enable-doctests
+# https://github.com/aisamanra/config-ini/issues/12
+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
+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)

2018-06-03 Thread Felix Yan via arch-commits
Date: Sunday, June 3, 2018 @ 08:52:23
  Author: felixonmars
Revision: 338947

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 338946, haskell-config-ini/trunk/PKGBUILD)

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
338946, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-06-03 08:52:23 UTC (rev 338947)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.2.0
+pkgrel=54
+pkgdesc="A library for simple INI-based configuration files."
+url="https://github.com/aisamanra/config-ini;
+license=("custom:BSD3")
+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=('901745b9e6f2eb5d6458c8702a4a112f115448a89152eeec6610096ffb82577f132f0ab748835a9a55c293840674652791a54c746289fd718f37bd41ea3b4ed1')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-enable-doctests
+# https://github.com/aisamanra/config-ini/issues/12
+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
+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)

2018-06-02 Thread Felix Yan via arch-commits
Date: Saturday, June 2, 2018 @ 17:08:24
  Author: felixonmars
Revision: 337897

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 337896, haskell-config-ini/trunk/PKGBUILD)

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
337896, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-06-02 17:08:24 UTC (rev 337897)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.2.0
+pkgrel=53
+pkgdesc="A library for simple INI-based configuration files."
+url="https://github.com/aisamanra/config-ini;
+license=("custom:BSD3")
+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=('901745b9e6f2eb5d6458c8702a4a112f115448a89152eeec6610096ffb82577f132f0ab748835a9a55c293840674652791a54c746289fd718f37bd41ea3b4ed1')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-enable-doctests
+# https://github.com/aisamanra/config-ini/issues/12
+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
+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)

2018-06-01 Thread Felix Yan via arch-commits
Date: Friday, June 1, 2018 @ 10:49:29
  Author: felixonmars
Revision: 335934

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 335933, haskell-config-ini/trunk/PKGBUILD)

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
335933, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-06-01 10:49:29 UTC (rev 335934)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.2.0
+pkgrel=52
+pkgdesc="A library for simple INI-based configuration files."
+url="https://github.com/aisamanra/config-ini;
+license=("custom:BSD3")
+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=('901745b9e6f2eb5d6458c8702a4a112f115448a89152eeec6610096ffb82577f132f0ab748835a9a55c293840674652791a54c746289fd718f37bd41ea3b4ed1')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-enable-doctests
+# https://github.com/aisamanra/config-ini/issues/12
+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
+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)

2018-05-30 Thread Felix Yan via arch-commits
Date: Thursday, May 31, 2018 @ 04:23:39
  Author: felixonmars
Revision: 334083

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 334082, haskell-config-ini/trunk/PKGBUILD)

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
334082, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-05-31 04:23:39 UTC (rev 334083)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.2.0
+pkgrel=51
+pkgdesc="A library for simple INI-based configuration files."
+url="https://github.com/aisamanra/config-ini;
+license=("custom:BSD3")
+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=('901745b9e6f2eb5d6458c8702a4a112f115448a89152eeec6610096ffb82577f132f0ab748835a9a55c293840674652791a54c746289fd718f37bd41ea3b4ed1')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-enable-doctests
+# https://github.com/aisamanra/config-ini/issues/12
+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
+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)

2018-05-28 Thread Felix Yan via arch-commits
Date: Monday, May 28, 2018 @ 12:45:39
  Author: felixonmars
Revision: 332559

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 332558, haskell-config-ini/trunk/PKGBUILD)

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
332558, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-05-28 12:45:39 UTC (rev 332559)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.2.0
+pkgrel=50
+pkgdesc="A library for simple INI-based configuration files."
+url="https://github.com/aisamanra/config-ini;
+license=("custom:BSD3")
+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=('901745b9e6f2eb5d6458c8702a4a112f115448a89152eeec6610096ffb82577f132f0ab748835a9a55c293840674652791a54c746289fd718f37bd41ea3b4ed1')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-enable-doctests
+# https://github.com/aisamanra/config-ini/issues/12
+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
+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)

2018-05-26 Thread Felix Yan via arch-commits
Date: Saturday, May 26, 2018 @ 21:25:50
  Author: felixonmars
Revision: 331231

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 331230, haskell-config-ini/trunk/PKGBUILD)

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
331230, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-05-26 21:25:50 UTC (rev 331231)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.2.0
+pkgrel=49
+pkgdesc="A library for simple INI-based configuration files."
+url="https://github.com/aisamanra/config-ini;
+license=("custom:BSD3")
+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=('901745b9e6f2eb5d6458c8702a4a112f115448a89152eeec6610096ffb82577f132f0ab748835a9a55c293840674652791a54c746289fd718f37bd41ea3b4ed1')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-enable-doctests
+# https://github.com/aisamanra/config-ini/issues/12
+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
+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)

2018-05-26 Thread Felix Yan via arch-commits
Date: Saturday, May 26, 2018 @ 09:57:14
  Author: felixonmars
Revision: 330043

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 330042, haskell-config-ini/trunk/PKGBUILD)

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
330042, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-05-26 09:57:14 UTC (rev 330043)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.2.0
+pkgrel=48
+pkgdesc="A library for simple INI-based configuration files."
+url="https://github.com/aisamanra/config-ini;
+license=("custom:BSD3")
+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=('901745b9e6f2eb5d6458c8702a4a112f115448a89152eeec6610096ffb82577f132f0ab748835a9a55c293840674652791a54c746289fd718f37bd41ea3b4ed1')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-enable-doctests
+# https://github.com/aisamanra/config-ini/issues/12
+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
+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)

2018-05-25 Thread Felix Yan via arch-commits
Date: Friday, May 25, 2018 @ 18:19:08
  Author: felixonmars
Revision: 329518

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 329517, haskell-config-ini/trunk/PKGBUILD)

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
329517, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-05-25 18:19:08 UTC (rev 329518)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.2.0
+pkgrel=47
+pkgdesc="A library for simple INI-based configuration files."
+url="https://github.com/aisamanra/config-ini;
+license=("custom:BSD3")
+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=('901745b9e6f2eb5d6458c8702a4a112f115448a89152eeec6610096ffb82577f132f0ab748835a9a55c293840674652791a54c746289fd718f37bd41ea3b4ed1')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-enable-doctests
+# https://github.com/aisamanra/config-ini/issues/12
+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
+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)

2018-05-17 Thread Felix Yan via arch-commits
Date: Thursday, May 17, 2018 @ 14:51:22
  Author: felixonmars
Revision: 323852

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 323851, haskell-config-ini/trunk/PKGBUILD)

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
323851, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-05-17 14:51:22 UTC (rev 323852)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.2.0
+pkgrel=41
+pkgdesc="A library for simple INI-based configuration files."
+url="https://github.com/aisamanra/config-ini;
+license=("custom:BSD3")
+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=('901745b9e6f2eb5d6458c8702a4a112f115448a89152eeec6610096ffb82577f132f0ab748835a9a55c293840674652791a54c746289fd718f37bd41ea3b4ed1')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-enable-doctests
+# https://github.com/aisamanra/config-ini/issues/12
+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
+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)

2018-05-16 Thread Felix Yan via arch-commits
Date: Wednesday, May 16, 2018 @ 07:07:08
  Author: felixonmars
Revision: 322558

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 322557, haskell-config-ini/trunk/PKGBUILD)

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
322557, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-05-16 07:07:08 UTC (rev 322558)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.2.0
+pkgrel=40
+pkgdesc="A library for simple INI-based configuration files."
+url="https://github.com/aisamanra/config-ini;
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text' '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=('901745b9e6f2eb5d6458c8702a4a112f115448a89152eeec6610096ffb82577f132f0ab748835a9a55c293840674652791a54c746289fd718f37bd41ea3b4ed1')
+
+prepare() {
+sed -i 's/doctest \[ /doctest [ "-dynamic", /' 
$_hkgname-$pkgver/test/doctest/Main.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-enable-doctests
+# https://github.com/aisamanra/config-ini/issues/12
+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
+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)

2018-05-15 Thread Felix Yan via arch-commits
Date: Tuesday, May 15, 2018 @ 08:59:37
  Author: felixonmars
Revision: 322405

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 322404, haskell-config-ini/trunk/PKGBUILD)

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
322404, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-05-15 08:59:37 UTC (rev 322405)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.2.0
+pkgrel=39
+pkgdesc="A library for simple INI-based configuration files."
+url="https://github.com/aisamanra/config-ini;
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text' '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=('901745b9e6f2eb5d6458c8702a4a112f115448a89152eeec6610096ffb82577f132f0ab748835a9a55c293840674652791a54c746289fd718f37bd41ea3b4ed1')
+
+prepare() {
+sed -i 's/doctest \[ /doctest [ "-dynamic", /' 
$_hkgname-$pkgver/test/doctest/Main.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-enable-doctests
+# https://github.com/aisamanra/config-ini/issues/12
+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
+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)

2018-05-14 Thread Felix Yan via arch-commits
Date: Monday, May 14, 2018 @ 11:15:52
  Author: felixonmars
Revision: 322076

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 322075, haskell-config-ini/trunk/PKGBUILD)

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
322075, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-05-14 11:15:52 UTC (rev 322076)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.2.0
+pkgrel=38
+pkgdesc="A library for simple INI-based configuration files."
+url="https://github.com/aisamanra/config-ini;
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text' '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=('901745b9e6f2eb5d6458c8702a4a112f115448a89152eeec6610096ffb82577f132f0ab748835a9a55c293840674652791a54c746289fd718f37bd41ea3b4ed1')
+
+prepare() {
+sed -i 's/doctest \[ /doctest [ "-dynamic", /' 
$_hkgname-$pkgver/test/doctest/Main.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-enable-doctests
+# https://github.com/aisamanra/config-ini/issues/12
+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
+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)

2018-05-12 Thread Felix Yan via arch-commits
Date: Saturday, May 12, 2018 @ 18:03:52
  Author: felixonmars
Revision: 321160

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 321159, haskell-config-ini/trunk/PKGBUILD)

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
321159, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-05-12 18:03:52 UTC (rev 321160)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.2.0
+pkgrel=37
+pkgdesc="A library for simple INI-based configuration files."
+url="https://github.com/aisamanra/config-ini;
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text' '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=('901745b9e6f2eb5d6458c8702a4a112f115448a89152eeec6610096ffb82577f132f0ab748835a9a55c293840674652791a54c746289fd718f37bd41ea3b4ed1')
+
+prepare() {
+sed -i 's/doctest \[ /doctest [ "-dynamic", /' 
$_hkgname-$pkgver/test/doctest/Main.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-enable-doctests
+# https://github.com/aisamanra/config-ini/issues/12
+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
+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)

2018-05-10 Thread Felix Yan via arch-commits
Date: Thursday, May 10, 2018 @ 08:59:23
  Author: felixonmars
Revision: 320075

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 320074, haskell-config-ini/trunk/PKGBUILD)

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
320074, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-05-10 08:59:23 UTC (rev 320075)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.2.0
+pkgrel=36
+pkgdesc="A library for simple INI-based configuration files."
+url="https://github.com/aisamanra/config-ini;
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text' '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=('901745b9e6f2eb5d6458c8702a4a112f115448a89152eeec6610096ffb82577f132f0ab748835a9a55c293840674652791a54c746289fd718f37bd41ea3b4ed1')
+
+prepare() {
+sed -i 's/doctest \[ /doctest [ "-dynamic", /' 
$_hkgname-$pkgver/test/doctest/Main.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-enable-doctests
+# https://github.com/aisamanra/config-ini/issues/12
+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
+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)

2018-05-07 Thread Felix Yan via arch-commits
Date: Monday, May 7, 2018 @ 19:07:50
  Author: felixonmars
Revision: 319308

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 319307, haskell-config-ini/trunk/PKGBUILD)

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
319307, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-05-07 19:07:50 UTC (rev 319308)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.2.0
+pkgrel=35
+pkgdesc="A library for simple INI-based configuration files."
+url="https://github.com/aisamanra/config-ini;
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text' '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=('901745b9e6f2eb5d6458c8702a4a112f115448a89152eeec6610096ffb82577f132f0ab748835a9a55c293840674652791a54c746289fd718f37bd41ea3b4ed1')
+
+prepare() {
+sed -i 's/doctest \[ /doctest [ "-dynamic", /' 
$_hkgname-$pkgver/test/doctest/Main.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-enable-doctests
+# https://github.com/aisamanra/config-ini/issues/12
+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
+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)

2018-04-17 Thread Felix Yan via arch-commits
Date: Tuesday, April 17, 2018 @ 15:33:21
  Author: felixonmars
Revision: 316754

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 316753, haskell-config-ini/trunk/PKGBUILD)

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
316753, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-04-17 15:33:21 UTC (rev 316754)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.2.0
+pkgrel=34
+pkgdesc="A library for simple INI-based configuration files."
+url="https://github.com/aisamanra/config-ini;
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text' '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=('901745b9e6f2eb5d6458c8702a4a112f115448a89152eeec6610096ffb82577f132f0ab748835a9a55c293840674652791a54c746289fd718f37bd41ea3b4ed1')
+
+prepare() {
+sed -i 's/doctest \[ /doctest [ "-dynamic", /' 
$_hkgname-$pkgver/test/doctest/Main.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-enable-doctests
+# https://github.com/aisamanra/config-ini/issues/12
+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
+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)

2018-04-08 Thread Felix Yan via arch-commits
Date: Sunday, April 8, 2018 @ 15:10:16
  Author: felixonmars
Revision: 315123

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 315122, haskell-config-ini/trunk/PKGBUILD)

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
315122, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-04-08 15:10:16 UTC (rev 315123)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.2.0
+pkgrel=33
+pkgdesc="A library for simple INI-based configuration files."
+url="https://github.com/aisamanra/config-ini;
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text' '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=('901745b9e6f2eb5d6458c8702a4a112f115448a89152eeec6610096ffb82577f132f0ab748835a9a55c293840674652791a54c746289fd718f37bd41ea3b4ed1')
+
+prepare() {
+sed -i 's/doctest \[ /doctest [ "-dynamic", /' 
$_hkgname-$pkgver/test/doctest/Main.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-enable-doctests
+# https://github.com/aisamanra/config-ini/issues/12
+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
+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)

2018-03-27 Thread Felix Yan via arch-commits
Date: Tuesday, March 27, 2018 @ 07:35:23
  Author: felixonmars
Revision: 312797

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 312796, haskell-config-ini/trunk/PKGBUILD)

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
312796, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-03-27 07:35:23 UTC (rev 312797)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.2.0
+pkgrel=32
+pkgdesc="A library for simple INI-based configuration files."
+url="https://github.com/aisamanra/config-ini;
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text' '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=('901745b9e6f2eb5d6458c8702a4a112f115448a89152eeec6610096ffb82577f132f0ab748835a9a55c293840674652791a54c746289fd718f37bd41ea3b4ed1')
+
+prepare() {
+sed -i 's/doctest \[ /doctest [ "-dynamic", /' 
$_hkgname-$pkgver/test/doctest/Main.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-enable-doctests
+# https://github.com/aisamanra/config-ini/issues/12
+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
+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)

2018-03-24 Thread Felix Yan via arch-commits
Date: Saturday, March 24, 2018 @ 21:00:18
  Author: felixonmars
Revision: 312090

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 312089, haskell-config-ini/trunk/PKGBUILD)

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
312089, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-03-24 21:00:18 UTC (rev 312090)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.2.0
+pkgrel=31
+pkgdesc="A library for simple INI-based configuration files."
+url="https://github.com/aisamanra/config-ini;
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text' '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=('901745b9e6f2eb5d6458c8702a4a112f115448a89152eeec6610096ffb82577f132f0ab748835a9a55c293840674652791a54c746289fd718f37bd41ea3b4ed1')
+
+prepare() {
+sed -i 's/doctest \[ /doctest [ "-dynamic", /' 
$_hkgname-$pkgver/test/doctest/Main.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-enable-doctests
+# https://github.com/aisamanra/config-ini/issues/12
+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
+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)

2018-03-23 Thread Felix Yan via arch-commits
Date: Friday, March 23, 2018 @ 15:15:42
  Author: felixonmars
Revision: 311403

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 311402, haskell-config-ini/trunk/PKGBUILD)

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
311402, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-03-23 15:15:42 UTC (rev 311403)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.2.0
+pkgrel=30
+pkgdesc="A library for simple INI-based configuration files."
+url="https://github.com/aisamanra/config-ini;
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text' '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=('901745b9e6f2eb5d6458c8702a4a112f115448a89152eeec6610096ffb82577f132f0ab748835a9a55c293840674652791a54c746289fd718f37bd41ea3b4ed1')
+
+prepare() {
+sed -i 's/doctest \[ /doctest [ "-dynamic", /' 
$_hkgname-$pkgver/test/doctest/Main.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-enable-doctests
+# https://github.com/aisamanra/config-ini/issues/12
+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
+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)

2018-03-22 Thread Felix Yan via arch-commits
Date: Thursday, March 22, 2018 @ 23:22:56
  Author: felixonmars
Revision: 311066

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 311065, haskell-config-ini/trunk/PKGBUILD)

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
311065, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-03-22 23:22:56 UTC (rev 311066)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.2.0
+pkgrel=29
+pkgdesc="A library for simple INI-based configuration files."
+url="https://github.com/aisamanra/config-ini;
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text' '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=('901745b9e6f2eb5d6458c8702a4a112f115448a89152eeec6610096ffb82577f132f0ab748835a9a55c293840674652791a54c746289fd718f37bd41ea3b4ed1')
+
+prepare() {
+sed -i 's/doctest \[ /doctest [ "-dynamic", /' 
$_hkgname-$pkgver/test/doctest/Main.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-enable-doctests
+# https://github.com/aisamanra/config-ini/issues/12
+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
+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)

2018-03-22 Thread Felix Yan via arch-commits
Date: Thursday, March 22, 2018 @ 20:04:11
  Author: felixonmars
Revision: 310794

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 310793, haskell-config-ini/trunk/PKGBUILD)

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
310793, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-03-22 20:04:11 UTC (rev 310794)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.2.0
+pkgrel=28
+pkgdesc="A library for simple INI-based configuration files."
+url="https://github.com/aisamanra/config-ini;
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text' '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=('901745b9e6f2eb5d6458c8702a4a112f115448a89152eeec6610096ffb82577f132f0ab748835a9a55c293840674652791a54c746289fd718f37bd41ea3b4ed1')
+
+prepare() {
+sed -i 's/doctest \[ /doctest [ "-dynamic", /' 
$_hkgname-$pkgver/test/doctest/Main.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-enable-doctests
+# https://github.com/aisamanra/config-ini/issues/12
+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
+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)

2018-03-22 Thread Felix Yan via arch-commits
Date: Thursday, March 22, 2018 @ 10:49:48
  Author: felixonmars
Revision: 310409

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 310408, haskell-config-ini/trunk/PKGBUILD)

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
310408, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-03-22 10:49:48 UTC (rev 310409)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.2.0
+pkgrel=27
+pkgdesc="A library for simple INI-based configuration files."
+url="https://github.com/aisamanra/config-ini;
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text' '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=('901745b9e6f2eb5d6458c8702a4a112f115448a89152eeec6610096ffb82577f132f0ab748835a9a55c293840674652791a54c746289fd718f37bd41ea3b4ed1')
+
+prepare() {
+sed -i 's/doctest \[ /doctest [ "-dynamic", /' 
$_hkgname-$pkgver/test/doctest/Main.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-enable-doctests
+# https://github.com/aisamanra/config-ini/issues/12
+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
+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)

2018-03-15 Thread Felix Yan via arch-commits
Date: Thursday, March 15, 2018 @ 17:27:37
  Author: felixonmars
Revision: 308672

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 308671, haskell-config-ini/trunk/PKGBUILD)

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
308671, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-03-15 17:27:37 UTC (rev 308672)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.2.0
+pkgrel=26
+pkgdesc="A library for simple INI-based configuration files."
+url="https://github.com/aisamanra/config-ini;
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text' '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=('901745b9e6f2eb5d6458c8702a4a112f115448a89152eeec6610096ffb82577f132f0ab748835a9a55c293840674652791a54c746289fd718f37bd41ea3b4ed1')
+
+prepare() {
+sed -i 's/doctest \[ /doctest [ "-dynamic", /' 
$_hkgname-$pkgver/test/doctest/Main.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-enable-doctests
+# https://github.com/aisamanra/config-ini/issues/12
+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
+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)

2018-03-14 Thread Felix Yan via arch-commits
Date: Thursday, March 15, 2018 @ 05:02:25
  Author: felixonmars
Revision: 308074

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 308073, haskell-config-ini/trunk/PKGBUILD)

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
308073, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-03-15 05:02:25 UTC (rev 308074)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.2.0
+pkgrel=25
+pkgdesc="A library for simple INI-based configuration files."
+url="https://github.com/aisamanra/config-ini;
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text' '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=('901745b9e6f2eb5d6458c8702a4a112f115448a89152eeec6610096ffb82577f132f0ab748835a9a55c293840674652791a54c746289fd718f37bd41ea3b4ed1')
+
+prepare() {
+sed -i 's/doctest \[ /doctest [ "-dynamic", /' 
$_hkgname-$pkgver/test/doctest/Main.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-enable-doctests
+# https://github.com/aisamanra/config-ini/issues/12
+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
+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)

2018-03-13 Thread Felix Yan via arch-commits
Date: Tuesday, March 13, 2018 @ 15:08:56
  Author: felixonmars
Revision: 307291

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 307290, haskell-config-ini/trunk/PKGBUILD)

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
307290, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-03-13 15:08:56 UTC (rev 307291)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.2.0
+pkgrel=24
+pkgdesc="A library for simple INI-based configuration files."
+url="https://github.com/aisamanra/config-ini;
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text' '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=('901745b9e6f2eb5d6458c8702a4a112f115448a89152eeec6610096ffb82577f132f0ab748835a9a55c293840674652791a54c746289fd718f37bd41ea3b4ed1')
+
+prepare() {
+sed -i 's/doctest \[ /doctest [ "-dynamic", /' 
$_hkgname-$pkgver/test/doctest/Main.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-enable-doctests
+# https://github.com/aisamanra/config-ini/issues/12
+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
+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)

2018-03-13 Thread Felix Yan via arch-commits
Date: Tuesday, March 13, 2018 @ 09:22:00
  Author: felixonmars
Revision: 306951

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 306950, haskell-config-ini/trunk/PKGBUILD)

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
306950, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-03-13 09:22:00 UTC (rev 306951)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.2.0
+pkgrel=23
+pkgdesc="A library for simple INI-based configuration files."
+url="https://github.com/aisamanra/config-ini;
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text' '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=('901745b9e6f2eb5d6458c8702a4a112f115448a89152eeec6610096ffb82577f132f0ab748835a9a55c293840674652791a54c746289fd718f37bd41ea3b4ed1')
+
+prepare() {
+sed -i 's/doctest \[ /doctest [ "-dynamic", /' 
$_hkgname-$pkgver/test/doctest/Main.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-enable-doctests
+# https://github.com/aisamanra/config-ini/issues/12
+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
+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)

2018-03-10 Thread Felix Yan via arch-commits
Date: Saturday, March 10, 2018 @ 23:41:23
  Author: felixonmars
Revision: 306087

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 306086, haskell-config-ini/trunk/PKGBUILD)

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
306086, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-03-10 23:41:23 UTC (rev 306087)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.2.0
+pkgrel=22
+pkgdesc="A library for simple INI-based configuration files."
+url="https://github.com/aisamanra/config-ini;
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text' '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=('901745b9e6f2eb5d6458c8702a4a112f115448a89152eeec6610096ffb82577f132f0ab748835a9a55c293840674652791a54c746289fd718f37bd41ea3b4ed1')
+
+prepare() {
+sed -i 's/doctest \[ /doctest [ "-dynamic", /' 
$_hkgname-$pkgver/test/doctest/Main.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-enable-doctests
+# https://github.com/aisamanra/config-ini/issues/12
+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
+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)

2018-03-09 Thread Felix Yan via arch-commits
Date: Saturday, March 10, 2018 @ 06:47:48
  Author: felixonmars
Revision: 305660

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 305659, haskell-config-ini/trunk/PKGBUILD)

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
305659, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-03-10 06:47:48 UTC (rev 305660)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.2.0
+pkgrel=21
+pkgdesc="A library for simple INI-based configuration files."
+url="https://github.com/aisamanra/config-ini;
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text' '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=('901745b9e6f2eb5d6458c8702a4a112f115448a89152eeec6610096ffb82577f132f0ab748835a9a55c293840674652791a54c746289fd718f37bd41ea3b4ed1')
+
+prepare() {
+sed -i 's/doctest \[ /doctest [ "-dynamic", /' 
$_hkgname-$pkgver/test/doctest/Main.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-enable-doctests
+# https://github.com/aisamanra/config-ini/issues/12
+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
+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)

2018-03-08 Thread Felix Yan via arch-commits
Date: Thursday, March 8, 2018 @ 09:56:32
  Author: felixonmars
Revision: 304548

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 304546, haskell-config-ini/trunk/PKGBUILD)

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
304546, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-03-08 09:56:32 UTC (rev 304548)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.2.0
+pkgrel=20
+pkgdesc="A library for simple INI-based configuration files."
+url="https://github.com/aisamanra/config-ini;
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text' '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=('901745b9e6f2eb5d6458c8702a4a112f115448a89152eeec6610096ffb82577f132f0ab748835a9a55c293840674652791a54c746289fd718f37bd41ea3b4ed1')
+
+prepare() {
+sed -i 's/doctest \[ /doctest [ "-dynamic", /' 
$_hkgname-$pkgver/test/doctest/Main.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-enable-doctests
+# https://github.com/aisamanra/config-ini/issues/12
+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
+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)

2018-03-07 Thread Felix Yan via arch-commits
Date: Wednesday, March 7, 2018 @ 12:05:35
  Author: felixonmars
Revision: 303763

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 303762, haskell-config-ini/trunk/PKGBUILD)

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
303762, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-03-07 12:05:35 UTC (rev 303763)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.2.0
+pkgrel=19
+pkgdesc="A library for simple INI-based configuration files."
+url="https://github.com/aisamanra/config-ini;
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text' '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=('901745b9e6f2eb5d6458c8702a4a112f115448a89152eeec6610096ffb82577f132f0ab748835a9a55c293840674652791a54c746289fd718f37bd41ea3b4ed1')
+
+prepare() {
+sed -i 's/doctest \[ /doctest [ "-dynamic", /' 
$_hkgname-$pkgver/test/doctest/Main.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-enable-doctests
+# https://github.com/aisamanra/config-ini/issues/12
+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
+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)

2018-03-07 Thread Felix Yan via arch-commits
Date: Wednesday, March 7, 2018 @ 09:36:06
  Author: felixonmars
Revision: 303563

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 303562, haskell-config-ini/trunk/PKGBUILD)

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
303562, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-03-07 09:36:06 UTC (rev 303563)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.2.0
+pkgrel=18
+pkgdesc="A library for simple INI-based configuration files."
+url="https://github.com/aisamanra/config-ini;
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text' '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=('901745b9e6f2eb5d6458c8702a4a112f115448a89152eeec6610096ffb82577f132f0ab748835a9a55c293840674652791a54c746289fd718f37bd41ea3b4ed1')
+
+prepare() {
+sed -i 's/doctest \[ /doctest [ "-dynamic", /' 
$_hkgname-$pkgver/test/doctest/Main.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-enable-doctests
+# https://github.com/aisamanra/config-ini/issues/12
+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
+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)

2018-03-05 Thread Felix Yan via arch-commits
Date: Monday, March 5, 2018 @ 13:14:28
  Author: felixonmars
Revision: 302669

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 302667, haskell-config-ini/trunk/PKGBUILD)

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
302667, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-03-05 13:14:28 UTC (rev 302669)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.2.0
+pkgrel=17
+pkgdesc="A library for simple INI-based configuration files."
+url="https://github.com/aisamanra/config-ini;
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text' '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=('901745b9e6f2eb5d6458c8702a4a112f115448a89152eeec6610096ffb82577f132f0ab748835a9a55c293840674652791a54c746289fd718f37bd41ea3b4ed1')
+
+prepare() {
+sed -i 's/doctest \[ /doctest [ "-dynamic", /' 
$_hkgname-$pkgver/test/doctest/Main.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-enable-doctests
+# https://github.com/aisamanra/config-ini/issues/12
+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
+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)

2018-03-04 Thread Felix Yan via arch-commits
Date: Monday, March 5, 2018 @ 03:12:57
  Author: felixonmars
Revision: 302471

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 302470, haskell-config-ini/trunk/PKGBUILD)

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
302470, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-03-05 03:12:57 UTC (rev 302471)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.2.0
+pkgrel=16
+pkgdesc="A library for simple INI-based configuration files."
+url="https://github.com/aisamanra/config-ini;
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text' '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=('901745b9e6f2eb5d6458c8702a4a112f115448a89152eeec6610096ffb82577f132f0ab748835a9a55c293840674652791a54c746289fd718f37bd41ea3b4ed1')
+
+prepare() {
+sed -i 's/doctest \[ /doctest [ "-dynamic", /' 
$_hkgname-$pkgver/test/doctest/Main.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-enable-doctests
+# https://github.com/aisamanra/config-ini/issues/12
+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
+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)

2018-03-02 Thread Felix Yan via arch-commits
Date: Friday, March 2, 2018 @ 18:40:04
  Author: felixonmars
Revision: 301500

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 301499, haskell-config-ini/trunk/PKGBUILD)

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
301499, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-03-02 18:40:04 UTC (rev 301500)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.2.0
+pkgrel=15
+pkgdesc="A library for simple INI-based configuration files."
+url="https://github.com/aisamanra/config-ini;
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text' '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=('901745b9e6f2eb5d6458c8702a4a112f115448a89152eeec6610096ffb82577f132f0ab748835a9a55c293840674652791a54c746289fd718f37bd41ea3b4ed1')
+
+prepare() {
+sed -i 's/doctest \[ /doctest [ "-dynamic", /' 
$_hkgname-$pkgver/test/doctest/Main.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-enable-doctests
+# https://github.com/aisamanra/config-ini/issues/12
+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
+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)

2018-02-28 Thread Felix Yan via arch-commits
Date: Wednesday, February 28, 2018 @ 23:23:30
  Author: felixonmars
Revision: 300510

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 300509, haskell-config-ini/trunk/PKGBUILD)

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
300509, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-02-28 23:23:30 UTC (rev 300510)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.2.0
+pkgrel=14
+pkgdesc="A library for simple INI-based configuration files."
+url="https://github.com/aisamanra/config-ini;
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text' '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=('901745b9e6f2eb5d6458c8702a4a112f115448a89152eeec6610096ffb82577f132f0ab748835a9a55c293840674652791a54c746289fd718f37bd41ea3b4ed1')
+
+prepare() {
+sed -i 's/doctest \[ /doctest [ "-dynamic", /' 
$_hkgname-$pkgver/test/doctest/Main.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-enable-doctests
+# https://github.com/aisamanra/config-ini/issues/12
+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
+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)

2018-02-27 Thread Felix Yan via arch-commits
Date: Tuesday, February 27, 2018 @ 10:04:03
  Author: felixonmars
Revision: 299151

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 299150, haskell-config-ini/trunk/PKGBUILD)

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
299150, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-02-27 10:04:03 UTC (rev 299151)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.2.0
+pkgrel=13
+pkgdesc="A library for simple INI-based configuration files."
+url="https://github.com/aisamanra/config-ini;
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text' '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=('901745b9e6f2eb5d6458c8702a4a112f115448a89152eeec6610096ffb82577f132f0ab748835a9a55c293840674652791a54c746289fd718f37bd41ea3b4ed1')
+
+prepare() {
+sed -i 's/doctest \[ /doctest [ "-dynamic", /' 
$_hkgname-$pkgver/test/doctest/Main.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-enable-doctests
+# https://github.com/aisamanra/config-ini/issues/12
+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
+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)

2018-02-26 Thread Felix Yan via arch-commits
Date: Monday, February 26, 2018 @ 13:26:33
  Author: felixonmars
Revision: 298361

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 298360, haskell-config-ini/trunk/PKGBUILD)

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
298360, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-02-26 13:26:33 UTC (rev 298361)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.2.0
+pkgrel=12
+pkgdesc="A library for simple INI-based configuration files."
+url="https://github.com/aisamanra/config-ini;
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text' '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=('901745b9e6f2eb5d6458c8702a4a112f115448a89152eeec6610096ffb82577f132f0ab748835a9a55c293840674652791a54c746289fd718f37bd41ea3b4ed1')
+
+prepare() {
+sed -i 's/doctest \[ /doctest [ "-dynamic", /' 
$_hkgname-$pkgver/test/doctest/Main.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-enable-doctests
+# https://github.com/aisamanra/config-ini/issues/12
+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
+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)

2018-02-23 Thread Felix Yan via arch-commits
Date: Saturday, February 24, 2018 @ 07:51:59
  Author: felixonmars
Revision: 297503

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 297502, haskell-config-ini/trunk/PKGBUILD)

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
297502, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-02-24 07:51:59 UTC (rev 297503)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.2.0
+pkgrel=11
+pkgdesc="A library for simple INI-based configuration files."
+url="https://github.com/aisamanra/config-ini;
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text' '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=('901745b9e6f2eb5d6458c8702a4a112f115448a89152eeec6610096ffb82577f132f0ab748835a9a55c293840674652791a54c746289fd718f37bd41ea3b4ed1')
+
+prepare() {
+sed -i 's/doctest \[ /doctest [ "-dynamic", /' 
$_hkgname-$pkgver/test/doctest/Main.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-enable-doctests
+# https://github.com/aisamanra/config-ini/issues/12
+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
+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)

2018-02-16 Thread Felix Yan via arch-commits
Date: Saturday, February 17, 2018 @ 05:37:52
  Author: felixonmars
Revision: 295689

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 295688, haskell-config-ini/trunk/PKGBUILD)

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
295688, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-02-17 05:37:52 UTC (rev 295689)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.2.0
+pkgrel=10
+pkgdesc="A library for simple INI-based configuration files."
+url="https://github.com/aisamanra/config-ini;
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text' '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=('901745b9e6f2eb5d6458c8702a4a112f115448a89152eeec6610096ffb82577f132f0ab748835a9a55c293840674652791a54c746289fd718f37bd41ea3b4ed1')
+
+prepare() {
+sed -i 's/doctest \[ /doctest [ "-dynamic", /' 
$_hkgname-$pkgver/test/doctest/Main.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-enable-doctests
+# https://github.com/aisamanra/config-ini/issues/12
+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
+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)

2018-02-16 Thread Felix Yan via arch-commits
Date: Friday, February 16, 2018 @ 19:00:05
  Author: felixonmars
Revision: 295069

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 295068, haskell-config-ini/trunk/PKGBUILD)

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
295068, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-02-16 19:00:05 UTC (rev 295069)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.2.0
+pkgrel=9
+pkgdesc="A library for simple INI-based configuration files."
+url="https://github.com/aisamanra/config-ini;
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text' '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=('901745b9e6f2eb5d6458c8702a4a112f115448a89152eeec6610096ffb82577f132f0ab748835a9a55c293840674652791a54c746289fd718f37bd41ea3b4ed1')
+
+prepare() {
+sed -i 's/doctest \[ /doctest [ "-dynamic", /' 
$_hkgname-$pkgver/test/doctest/Main.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-enable-doctests
+# https://github.com/aisamanra/config-ini/issues/12
+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
+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)

2018-02-14 Thread Felix Yan via arch-commits
Date: Wednesday, February 14, 2018 @ 14:33:44
  Author: felixonmars
Revision: 294369

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 294368, haskell-config-ini/trunk/PKGBUILD)

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
294368, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-02-14 14:33:44 UTC (rev 294369)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.2.0
+pkgrel=8
+pkgdesc="A library for simple INI-based configuration files."
+url="https://github.com/aisamanra/config-ini;
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text' '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=('901745b9e6f2eb5d6458c8702a4a112f115448a89152eeec6610096ffb82577f132f0ab748835a9a55c293840674652791a54c746289fd718f37bd41ea3b4ed1')
+
+prepare() {
+sed -i 's/doctest \[ /doctest [ "-dynamic", /' 
$_hkgname-$pkgver/test/doctest/Main.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-enable-doctests
+# https://github.com/aisamanra/config-ini/issues/12
+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
+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)

2018-02-12 Thread Felix Yan via arch-commits
Date: Tuesday, February 13, 2018 @ 02:15:36
  Author: felixonmars
Revision: 293718

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 293717, haskell-config-ini/trunk/PKGBUILD)

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
293717, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-02-13 02:15:36 UTC (rev 293718)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.2.0
+pkgrel=7
+pkgdesc="A library for simple INI-based configuration files."
+url="https://github.com/aisamanra/config-ini;
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text' '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=('901745b9e6f2eb5d6458c8702a4a112f115448a89152eeec6610096ffb82577f132f0ab748835a9a55c293840674652791a54c746289fd718f37bd41ea3b4ed1')
+
+prepare() {
+sed -i 's/doctest \[ /doctest [ "-dynamic", /' 
$_hkgname-$pkgver/test/doctest/Main.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-enable-doctests
+# https://github.com/aisamanra/config-ini/issues/12
+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
+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)

2018-02-12 Thread Felix Yan via arch-commits
Date: Monday, February 12, 2018 @ 13:45:40
  Author: felixonmars
Revision: 293201

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 293200, haskell-config-ini/trunk/PKGBUILD)

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
293200, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-02-12 13:45:40 UTC (rev 293201)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.2.0
+pkgrel=6
+pkgdesc="A library for simple INI-based configuration files."
+url="https://github.com/aisamanra/config-ini;
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text' '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=('901745b9e6f2eb5d6458c8702a4a112f115448a89152eeec6610096ffb82577f132f0ab748835a9a55c293840674652791a54c746289fd718f37bd41ea3b4ed1')
+
+prepare() {
+sed -i 's/doctest \[ /doctest [ "-dynamic", /' 
$_hkgname-$pkgver/test/doctest/Main.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-enable-doctests
+# https://github.com/aisamanra/config-ini/issues/12
+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
+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)

2018-02-11 Thread Felix Yan via arch-commits
Date: Monday, February 12, 2018 @ 06:20:50
  Author: felixonmars
Revision: 292700

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 292699, haskell-config-ini/trunk/PKGBUILD)

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
292699, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-02-12 06:20:50 UTC (rev 292700)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.2.0
+pkgrel=5
+pkgdesc="A library for simple INI-based configuration files."
+url="https://github.com/aisamanra/config-ini;
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text' '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=('901745b9e6f2eb5d6458c8702a4a112f115448a89152eeec6610096ffb82577f132f0ab748835a9a55c293840674652791a54c746289fd718f37bd41ea3b4ed1')
+
+prepare() {
+sed -i 's/doctest \[ /doctest [ "-dynamic", /' 
$_hkgname-$pkgver/test/doctest/Main.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-enable-doctests
+# https://github.com/aisamanra/config-ini/issues/12
+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
+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)

2018-02-11 Thread Felix Yan via arch-commits
Date: Sunday, February 11, 2018 @ 08:21:31
  Author: felixonmars
Revision: 291987

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 291986, haskell-config-ini/trunk/PKGBUILD)

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
291986, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-02-11 08:21:31 UTC (rev 291987)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.2.0
+pkgrel=4
+pkgdesc="A library for simple INI-based configuration files."
+url="https://github.com/aisamanra/config-ini;
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text' '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=('901745b9e6f2eb5d6458c8702a4a112f115448a89152eeec6610096ffb82577f132f0ab748835a9a55c293840674652791a54c746289fd718f37bd41ea3b4ed1')
+
+prepare() {
+sed -i 's/doctest \[ /doctest [ "-dynamic", /' 
$_hkgname-$pkgver/test/doctest/Main.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-enable-doctests
+# https://github.com/aisamanra/config-ini/issues/12
+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
+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)

2018-02-10 Thread Felix Yan via arch-commits
Date: Saturday, February 10, 2018 @ 19:46:17
  Author: felixonmars
Revision: 291549

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 291548, haskell-config-ini/trunk/PKGBUILD)

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
291548, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-02-10 19:46:17 UTC (rev 291549)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.2.0
+pkgrel=3
+pkgdesc="A library for simple INI-based configuration files."
+url="https://github.com/aisamanra/config-ini;
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text' '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=('901745b9e6f2eb5d6458c8702a4a112f115448a89152eeec6610096ffb82577f132f0ab748835a9a55c293840674652791a54c746289fd718f37bd41ea3b4ed1')
+
+prepare() {
+sed -i 's/doctest \[ /doctest [ "-dynamic", /' 
$_hkgname-$pkgver/test/doctest/Main.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-enable-doctests
+# https://github.com/aisamanra/config-ini/issues/12
+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
+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)

2018-02-10 Thread Felix Yan via arch-commits
Date: Saturday, February 10, 2018 @ 09:20:32
  Author: felixonmars
Revision: 290902

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 290901, haskell-config-ini/trunk/PKGBUILD)

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
290901, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-02-10 09:20:32 UTC (rev 290902)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.2.0
+pkgrel=2
+pkgdesc="A library for simple INI-based configuration files."
+url="https://github.com/aisamanra/config-ini;
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text' '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=('901745b9e6f2eb5d6458c8702a4a112f115448a89152eeec6610096ffb82577f132f0ab748835a9a55c293840674652791a54c746289fd718f37bd41ea3b4ed1')
+
+prepare() {
+sed -i 's/doctest \[ /doctest [ "-dynamic", /' 
$_hkgname-$pkgver/test/doctest/Main.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-enable-doctests
+# https://github.com/aisamanra/config-ini/issues/12
+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
+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)

2018-01-30 Thread Felix Yan via arch-commits
Date: Tuesday, January 30, 2018 @ 11:10:34
  Author: felixonmars
Revision: 288228

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 288227, haskell-config-ini/trunk/PKGBUILD)

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
288227, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-01-30 11:10:34 UTC (rev 288228)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.2.0
+pkgrel=1
+pkgdesc="A library for simple INI-based configuration files."
+url="https://github.com/aisamanra/config-ini;
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text' '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=('901745b9e6f2eb5d6458c8702a4a112f115448a89152eeec6610096ffb82577f132f0ab748835a9a55c293840674652791a54c746289fd718f37bd41ea3b4ed1')
+
+prepare() {
+sed -i 's/doctest \[ /doctest [ "-dynamic", /' 
$_hkgname-$pkgver/test/doctest/Main.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-enable-doctests
+# https://github.com/aisamanra/config-ini/issues/12
+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
+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)

2018-01-22 Thread Felix Yan via arch-commits
Date: Monday, January 22, 2018 @ 21:43:55
  Author: felixonmars
Revision: 285327

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 285326, haskell-config-ini/trunk/PKGBUILD)

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
285326, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-01-22 21:43:55 UTC (rev 285327)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.1.1
+pkgrel=6
+pkgdesc="A library for simple INI-based configuration files."
+url="https://github.com/aisamanra/config-ini;
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text' '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=('d6cc340b84cda249f9a3f06d8d7508a78a11d045bd82cd9bd34e19efa31720a85186c2e4f30a837365a3c82979ec170b9bc5ebe937db881796f858cd16d855d9')
+
+prepare() {
+sed -i 's/doctest \[ /doctest [ "-dynamic", /' 
$_hkgname-$pkgver/test/doctest/Main.hs
+}
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+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() {
+# https://github.com/aisamanra/config-ini/issues/12
+cd $_hkgname-$pkgver
+runhaskell Setup test || warning "Tests failed"
+}
+
+package() {
+cd "${srcdir}/${_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)

2018-01-06 Thread Felix Yan via arch-commits
Date: Saturday, January 6, 2018 @ 18:14:20
  Author: felixonmars
Revision: 279515

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 279514, haskell-config-ini/trunk/PKGBUILD)

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
279514, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-01-06 18:14:20 UTC (rev 279515)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.1.1
+pkgrel=5
+pkgdesc="A library for simple INI-based configuration files."
+url="https://github.com/aisamanra/config-ini;
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text' '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=('d6cc340b84cda249f9a3f06d8d7508a78a11d045bd82cd9bd34e19efa31720a85186c2e4f30a837365a3c82979ec170b9bc5ebe937db881796f858cd16d855d9')
+
+prepare() {
+sed -i 's/doctest \[ /doctest [ "-dynamic", /' 
$_hkgname-$pkgver/test/doctest/Main.hs
+}
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+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() {
+# https://github.com/aisamanra/config-ini/issues/12
+cd $_hkgname-$pkgver
+runhaskell Setup test || warning "Tests failed"
+}
+
+package() {
+cd "${srcdir}/${_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)

2017-12-28 Thread Felix Yan via arch-commits
Date: Friday, December 29, 2017 @ 00:32:50
  Author: felixonmars
Revision: 276676

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 276675, haskell-config-ini/trunk/PKGBUILD)

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
276675, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2017-12-29 00:32:50 UTC (rev 276676)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.1.1
+pkgrel=4
+pkgdesc="A library for simple INI-based configuration files."
+url="https://github.com/aisamanra/config-ini;
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text' '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=('d6cc340b84cda249f9a3f06d8d7508a78a11d045bd82cd9bd34e19efa31720a85186c2e4f30a837365a3c82979ec170b9bc5ebe937db881796f858cd16d855d9')
+
+prepare() {
+sed -i 's/doctest \[ /doctest [ "-dynamic", /' 
$_hkgname-$pkgver/test/doctest/Main.hs
+}
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+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() {
+# https://github.com/aisamanra/config-ini/issues/12
+cd $_hkgname-$pkgver
+runhaskell Setup test || warning "Tests failed"
+}
+
+package() {
+cd "${srcdir}/${_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)

2017-12-23 Thread Felix Yan via arch-commits
Date: Sunday, December 24, 2017 @ 06:44:45
  Author: felixonmars
Revision: 275647

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 275646, haskell-config-ini/trunk/PKGBUILD)

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
275646, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2017-12-24 06:44:45 UTC (rev 275647)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.1.1
+pkgrel=3
+pkgdesc="A library for simple INI-based configuration files."
+url="https://github.com/aisamanra/config-ini;
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text' '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=('d6cc340b84cda249f9a3f06d8d7508a78a11d045bd82cd9bd34e19efa31720a85186c2e4f30a837365a3c82979ec170b9bc5ebe937db881796f858cd16d855d9')
+
+prepare() {
+sed -i 's/doctest \[ /doctest [ "-dynamic", /' 
$_hkgname-$pkgver/test/doctest/Main.hs
+}
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+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() {
+# https://github.com/aisamanra/config-ini/issues/12
+cd $_hkgname-$pkgver
+runhaskell Setup test || warning "Tests failed"
+}
+
+package() {
+cd "${srcdir}/${_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)

2017-12-05 Thread Felix Yan via arch-commits
Date: Wednesday, December 6, 2017 @ 02:48:40
  Author: felixonmars
Revision: 272363

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 272362, haskell-config-ini/trunk/PKGBUILD)

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

Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 
272362, haskell-config-ini/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2017-12-06 02:48:40 UTC (rev 272363)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.1.1
+pkgrel=2
+pkgdesc="A library for simple INI-based configuration files."
+url="https://github.com/aisamanra/config-ini;
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text' '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=('d6cc340b84cda249f9a3f06d8d7508a78a11d045bd82cd9bd34e19efa31720a85186c2e4f30a837365a3c82979ec170b9bc5ebe937db881796f858cd16d855d9')
+
+prepare() {
+sed -i 's/doctest \[ /doctest [ "-dynamic", /' 
$_hkgname-$pkgver/test/doctest/Main.hs
+}
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+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() {
+# https://github.com/aisamanra/config-ini/issues/12
+cd $_hkgname-$pkgver
+runhaskell Setup test || warning "Tests failed"
+}
+
+package() {
+cd "${srcdir}/${_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)

2017-11-29 Thread Felix Yan via arch-commits
Date: Wednesday, November 29, 2017 @ 18:22:42
  Author: felixonmars
Revision: 270752

archrelease: copy trunk to community-testing-x86_64

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

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

Copied: haskell-config-ini/repos/community-testing-x86_64/PKGBUILD (from rev 
270751, haskell-config-ini/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2017-11-29 18:22:42 UTC (rev 270752)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=config-ini
+pkgname=haskell-config-ini
+pkgver=0.2.1.1
+pkgrel=1
+pkgdesc="A library for simple INI-based configuration files."
+url="https://github.com/aisamanra/config-ini;
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-text' '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=('d6cc340b84cda249f9a3f06d8d7508a78a11d045bd82cd9bd34e19efa31720a85186c2e4f30a837365a3c82979ec170b9bc5ebe937db881796f858cd16d855d9')
+
+prepare() {
+sed -i 's/doctest \[ /doctest [ "-dynamic", /' 
$_hkgname-$pkgver/test/doctest/Main.hs
+}
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+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() {
+# https://github.com/aisamanra/config-ini/issues/12
+cd $_hkgname-$pkgver
+runhaskell Setup test || warning "Tests failed"
+}
+
+package() {
+cd "${srcdir}/${_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"
+}