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

2020-12-28 Thread Felix Yan via arch-commits
Date: Monday, December 28, 2020 @ 23:22:34
  Author: felixonmars
Revision: 796175

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-foundation/repos/community-staging-x86_64/
  haskell-foundation/repos/community-staging-x86_64/PKGBUILD
(from rev 796174, haskell-foundation/trunk/PKGBUILD)

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

Copied: haskell-foundation/repos/community-staging-x86_64/PKGBUILD (from rev 
796174, haskell-foundation/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-28 23:22:34 UTC (rev 796175)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=foundation
+pkgname=haskell-foundation
+pkgver=0.0.25
+pkgrel=64
+pkgdesc="Alternative prelude with batteries and no dependencies"
+url="https://github.com/haskell-foundation/foundation";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-basement')
+makedepends=('ghc' 'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('7335795a1cdf2975d6e9471c5b469d99cc6d224d2da66838d830593a5abda73675920acb2dc823a6b92f2141dc2364c8fd5ad53d7e8aecd8df00e6998683be60')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-experimental -f-minimal-deps -f-doctest -flinktest 
-f-bounds-check
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+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-foundation/repos (2 files)

2020-12-27 Thread Felix Yan via arch-commits
Date: Sunday, December 27, 2020 @ 22:01:55
  Author: felixonmars
Revision: 793864

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-foundation/repos/community-staging-x86_64/
  haskell-foundation/repos/community-staging-x86_64/PKGBUILD
(from rev 793863, haskell-foundation/trunk/PKGBUILD)

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

Copied: haskell-foundation/repos/community-staging-x86_64/PKGBUILD (from rev 
793863, haskell-foundation/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-27 22:01:55 UTC (rev 793864)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=foundation
+pkgname=haskell-foundation
+pkgver=0.0.25
+pkgrel=63
+pkgdesc="Alternative prelude with batteries and no dependencies"
+url="https://github.com/haskell-foundation/foundation";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-basement')
+makedepends=('ghc' 'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('7335795a1cdf2975d6e9471c5b469d99cc6d224d2da66838d830593a5abda73675920acb2dc823a6b92f2141dc2364c8fd5ad53d7e8aecd8df00e6998683be60')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-experimental -f-minimal-deps -f-doctest -flinktest 
-f-bounds-check
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+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-foundation/repos (2 files)

2020-12-25 Thread Felix Yan via arch-commits
Date: Friday, December 25, 2020 @ 23:19:56
  Author: felixonmars
Revision: 791156

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-foundation/repos/community-staging-x86_64/
  haskell-foundation/repos/community-staging-x86_64/PKGBUILD
(from rev 791155, haskell-foundation/trunk/PKGBUILD)

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

Copied: haskell-foundation/repos/community-staging-x86_64/PKGBUILD (from rev 
791155, haskell-foundation/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-25 23:19:56 UTC (rev 791156)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=foundation
+pkgname=haskell-foundation
+pkgver=0.0.25
+pkgrel=62
+pkgdesc="Alternative prelude with batteries and no dependencies"
+url="https://github.com/haskell-foundation/foundation";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-basement')
+makedepends=('ghc' 'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('7335795a1cdf2975d6e9471c5b469d99cc6d224d2da66838d830593a5abda73675920acb2dc823a6b92f2141dc2364c8fd5ad53d7e8aecd8df00e6998683be60')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-experimental -f-minimal-deps -f-doctest -flinktest 
-f-bounds-check
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+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-foundation/repos (2 files)

2020-12-24 Thread Felix Yan via arch-commits
Date: Thursday, December 24, 2020 @ 23:47:17
  Author: felixonmars
Revision: 789198

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-foundation/repos/community-staging-x86_64/
  haskell-foundation/repos/community-staging-x86_64/PKGBUILD
(from rev 789197, haskell-foundation/trunk/PKGBUILD)

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

Copied: haskell-foundation/repos/community-staging-x86_64/PKGBUILD (from rev 
789197, haskell-foundation/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-24 23:47:17 UTC (rev 789198)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=foundation
+pkgname=haskell-foundation
+pkgver=0.0.25
+pkgrel=61
+pkgdesc="Alternative prelude with batteries and no dependencies"
+url="https://github.com/haskell-foundation/foundation";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-basement')
+makedepends=('ghc' 'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('7335795a1cdf2975d6e9471c5b469d99cc6d224d2da66838d830593a5abda73675920acb2dc823a6b92f2141dc2364c8fd5ad53d7e8aecd8df00e6998683be60')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-experimental -f-minimal-deps -f-doctest -flinktest 
-f-bounds-check
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+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-foundation/repos (2 files)

2020-12-23 Thread Felix Yan via arch-commits
Date: Thursday, December 24, 2020 @ 03:12:03
  Author: felixonmars
Revision: 786134

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-foundation/repos/community-staging-x86_64/
  haskell-foundation/repos/community-staging-x86_64/PKGBUILD
(from rev 786133, haskell-foundation/trunk/PKGBUILD)

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

Copied: haskell-foundation/repos/community-staging-x86_64/PKGBUILD (from rev 
786133, haskell-foundation/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-24 03:12:03 UTC (rev 786134)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=foundation
+pkgname=haskell-foundation
+pkgver=0.0.25
+pkgrel=60
+pkgdesc="Alternative prelude with batteries and no dependencies"
+url="https://github.com/haskell-foundation/foundation";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-basement')
+makedepends=('ghc' 'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('7335795a1cdf2975d6e9471c5b469d99cc6d224d2da66838d830593a5abda73675920acb2dc823a6b92f2141dc2364c8fd5ad53d7e8aecd8df00e6998683be60')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-experimental -f-minimal-deps -f-doctest -flinktest 
-f-bounds-check
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+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-foundation/repos (2 files)

2020-12-22 Thread Felix Yan via arch-commits
Date: Wednesday, December 23, 2020 @ 02:21:40
  Author: felixonmars
Revision: 783367

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-foundation/repos/community-staging-x86_64/
  haskell-foundation/repos/community-staging-x86_64/PKGBUILD
(from rev 783366, haskell-foundation/trunk/PKGBUILD)

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

Copied: haskell-foundation/repos/community-staging-x86_64/PKGBUILD (from rev 
783366, haskell-foundation/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-23 02:21:40 UTC (rev 783367)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=foundation
+pkgname=haskell-foundation
+pkgver=0.0.25
+pkgrel=59
+pkgdesc="Alternative prelude with batteries and no dependencies"
+url="https://github.com/haskell-foundation/foundation";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-basement')
+makedepends=('ghc' 'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('7335795a1cdf2975d6e9471c5b469d99cc6d224d2da66838d830593a5abda73675920acb2dc823a6b92f2141dc2364c8fd5ad53d7e8aecd8df00e6998683be60')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-experimental -f-minimal-deps -f-doctest -flinktest 
-f-bounds-check
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+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-foundation/repos (2 files)

2020-12-20 Thread Felix Yan via arch-commits
Date: Sunday, December 20, 2020 @ 20:23:39
  Author: felixonmars
Revision: 780679

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-foundation/repos/community-staging-x86_64/
  haskell-foundation/repos/community-staging-x86_64/PKGBUILD
(from rev 780678, haskell-foundation/trunk/PKGBUILD)

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

Copied: haskell-foundation/repos/community-staging-x86_64/PKGBUILD (from rev 
780678, haskell-foundation/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-20 20:23:39 UTC (rev 780679)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=foundation
+pkgname=haskell-foundation
+pkgver=0.0.25
+pkgrel=58
+pkgdesc="Alternative prelude with batteries and no dependencies"
+url="https://github.com/haskell-foundation/foundation";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-basement')
+makedepends=('ghc' 'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('7335795a1cdf2975d6e9471c5b469d99cc6d224d2da66838d830593a5abda73675920acb2dc823a6b92f2141dc2364c8fd5ad53d7e8aecd8df00e6998683be60')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-experimental -f-minimal-deps -f-doctest -flinktest 
-f-bounds-check
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+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-foundation/repos (2 files)

2020-12-17 Thread Felix Yan via arch-commits
Date: Thursday, December 17, 2020 @ 17:05:02
  Author: felixonmars
Revision: 33

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-foundation/repos/community-staging-x86_64/
  haskell-foundation/repos/community-staging-x86_64/PKGBUILD
(from rev 32, haskell-foundation/trunk/PKGBUILD)

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

Copied: haskell-foundation/repos/community-staging-x86_64/PKGBUILD (from rev 
32, haskell-foundation/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-17 17:05:02 UTC (rev 33)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=foundation
+pkgname=haskell-foundation
+pkgver=0.0.25
+pkgrel=57
+pkgdesc="Alternative prelude with batteries and no dependencies"
+url="https://github.com/haskell-foundation/foundation";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-basement')
+makedepends=('ghc' 'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('7335795a1cdf2975d6e9471c5b469d99cc6d224d2da66838d830593a5abda73675920acb2dc823a6b92f2141dc2364c8fd5ad53d7e8aecd8df00e6998683be60')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-experimental -f-minimal-deps -f-doctest -flinktest 
-f-bounds-check
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+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-foundation/repos (2 files)

2020-12-12 Thread Felix Yan via arch-commits
Date: Saturday, December 12, 2020 @ 23:23:58
  Author: felixonmars
Revision: 773653

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-foundation/repos/community-staging-x86_64/
  haskell-foundation/repos/community-staging-x86_64/PKGBUILD
(from rev 773652, haskell-foundation/trunk/PKGBUILD)

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

Copied: haskell-foundation/repos/community-staging-x86_64/PKGBUILD (from rev 
773652, haskell-foundation/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-12 23:23:58 UTC (rev 773653)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=foundation
+pkgname=haskell-foundation
+pkgver=0.0.25
+pkgrel=56
+pkgdesc="Alternative prelude with batteries and no dependencies"
+url="https://github.com/haskell-foundation/foundation";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-basement')
+makedepends=('ghc' 'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('7335795a1cdf2975d6e9471c5b469d99cc6d224d2da66838d830593a5abda73675920acb2dc823a6b92f2141dc2364c8fd5ad53d7e8aecd8df00e6998683be60')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-experimental -f-minimal-deps -f-doctest -flinktest 
-f-bounds-check
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+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-foundation/repos (2 files)

2020-11-27 Thread Felix Yan via arch-commits
Date: Friday, November 27, 2020 @ 12:35:55
  Author: felixonmars
Revision: 764138

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-foundation/repos/community-staging-x86_64/
  haskell-foundation/repos/community-staging-x86_64/PKGBUILD
(from rev 764137, haskell-foundation/trunk/PKGBUILD)

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

Copied: haskell-foundation/repos/community-staging-x86_64/PKGBUILD (from rev 
764137, haskell-foundation/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-27 12:35:55 UTC (rev 764138)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=foundation
+pkgname=haskell-foundation
+pkgver=0.0.25
+pkgrel=55
+pkgdesc="Alternative prelude with batteries and no dependencies"
+url="https://github.com/haskell-foundation/foundation";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-basement')
+makedepends=('ghc' 'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('7335795a1cdf2975d6e9471c5b469d99cc6d224d2da66838d830593a5abda73675920acb2dc823a6b92f2141dc2364c8fd5ad53d7e8aecd8df00e6998683be60')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-experimental -f-minimal-deps -f-doctest -flinktest 
-f-bounds-check
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+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-foundation/repos (2 files)

2020-11-22 Thread Felix Yan via arch-commits
Date: Sunday, November 22, 2020 @ 11:54:55
  Author: felixonmars
Revision: 758902

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-foundation/repos/community-staging-x86_64/
  haskell-foundation/repos/community-staging-x86_64/PKGBUILD
(from rev 758901, haskell-foundation/trunk/PKGBUILD)

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

Copied: haskell-foundation/repos/community-staging-x86_64/PKGBUILD (from rev 
758901, haskell-foundation/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-22 11:54:55 UTC (rev 758902)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=foundation
+pkgname=haskell-foundation
+pkgver=0.0.25
+pkgrel=54
+pkgdesc="Alternative prelude with batteries and no dependencies"
+url="https://github.com/haskell-foundation/foundation";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-basement')
+makedepends=('ghc' 'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('7335795a1cdf2975d6e9471c5b469d99cc6d224d2da66838d830593a5abda73675920acb2dc823a6b92f2141dc2364c8fd5ad53d7e8aecd8df00e6998683be60')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-experimental -f-minimal-deps -f-doctest -flinktest 
-f-bounds-check
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+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-foundation/repos (2 files)

2020-11-15 Thread Felix Yan via arch-commits
Date: Sunday, November 15, 2020 @ 19:32:01
  Author: felixonmars
Revision: 754688

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-foundation/repos/community-staging-x86_64/
  haskell-foundation/repos/community-staging-x86_64/PKGBUILD
(from rev 754687, haskell-foundation/trunk/PKGBUILD)

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

Copied: haskell-foundation/repos/community-staging-x86_64/PKGBUILD (from rev 
754687, haskell-foundation/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-15 19:32:01 UTC (rev 754688)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=foundation
+pkgname=haskell-foundation
+pkgver=0.0.25
+pkgrel=53
+pkgdesc="Alternative prelude with batteries and no dependencies"
+url="https://github.com/haskell-foundation/foundation";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-basement')
+makedepends=('ghc' 'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('7335795a1cdf2975d6e9471c5b469d99cc6d224d2da66838d830593a5abda73675920acb2dc823a6b92f2141dc2364c8fd5ad53d7e8aecd8df00e6998683be60')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-experimental -f-minimal-deps -f-doctest -flinktest 
-f-bounds-check
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+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-foundation/repos (2 files)

2020-11-05 Thread Felix Yan via arch-commits
Date: Thursday, November 5, 2020 @ 21:44:13
  Author: felixonmars
Revision: 743510

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-foundation/repos/community-staging-x86_64/
  haskell-foundation/repos/community-staging-x86_64/PKGBUILD
(from rev 743509, haskell-foundation/trunk/PKGBUILD)

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

Copied: haskell-foundation/repos/community-staging-x86_64/PKGBUILD (from rev 
743509, haskell-foundation/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-05 21:44:13 UTC (rev 743510)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=foundation
+pkgname=haskell-foundation
+pkgver=0.0.25
+pkgrel=52
+pkgdesc="Alternative prelude with batteries and no dependencies"
+url="https://github.com/haskell-foundation/foundation";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-basement')
+makedepends=('ghc' 'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('7335795a1cdf2975d6e9471c5b469d99cc6d224d2da66838d830593a5abda73675920acb2dc823a6b92f2141dc2364c8fd5ad53d7e8aecd8df00e6998683be60')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-experimental -f-minimal-deps -f-doctest -flinktest 
-f-bounds-check
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+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-foundation/repos (2 files)

2020-11-01 Thread Felix Yan via arch-commits
Date: Monday, November 2, 2020 @ 06:21:48
  Author: felixonmars
Revision: 739145

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-foundation/repos/community-staging-x86_64/
  haskell-foundation/repos/community-staging-x86_64/PKGBUILD
(from rev 739144, haskell-foundation/trunk/PKGBUILD)

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

Copied: haskell-foundation/repos/community-staging-x86_64/PKGBUILD (from rev 
739144, haskell-foundation/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-02 06:21:48 UTC (rev 739145)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=foundation
+pkgname=haskell-foundation
+pkgver=0.0.25
+pkgrel=51
+pkgdesc="Alternative prelude with batteries and no dependencies"
+url="https://github.com/haskell-foundation/foundation";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-basement')
+makedepends=('ghc' 'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('7335795a1cdf2975d6e9471c5b469d99cc6d224d2da66838d830593a5abda73675920acb2dc823a6b92f2141dc2364c8fd5ad53d7e8aecd8df00e6998683be60')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-experimental -f-minimal-deps -f-doctest -flinktest 
-f-bounds-check
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+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-foundation/repos (2 files)

2020-10-30 Thread Felix Yan via arch-commits
Date: Friday, October 30, 2020 @ 18:42:57
  Author: felixonmars
Revision: 736949

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-foundation/repos/community-staging-x86_64/
  haskell-foundation/repos/community-staging-x86_64/PKGBUILD
(from rev 736948, haskell-foundation/trunk/PKGBUILD)

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

Copied: haskell-foundation/repos/community-staging-x86_64/PKGBUILD (from rev 
736948, haskell-foundation/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-30 18:42:57 UTC (rev 736949)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=foundation
+pkgname=haskell-foundation
+pkgver=0.0.25
+pkgrel=50
+pkgdesc="Alternative prelude with batteries and no dependencies"
+url="https://github.com/haskell-foundation/foundation";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-basement')
+makedepends=('ghc' 'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('7335795a1cdf2975d6e9471c5b469d99cc6d224d2da66838d830593a5abda73675920acb2dc823a6b92f2141dc2364c8fd5ad53d7e8aecd8df00e6998683be60')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-experimental -f-minimal-deps -f-doctest -flinktest 
-f-bounds-check
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+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-foundation/repos (2 files)

2020-10-27 Thread Felix Yan via arch-commits
Date: Tuesday, October 27, 2020 @ 13:26:47
  Author: felixonmars
Revision: 734381

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-foundation/repos/community-staging-x86_64/
  haskell-foundation/repos/community-staging-x86_64/PKGBUILD
(from rev 734380, haskell-foundation/trunk/PKGBUILD)

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

Copied: haskell-foundation/repos/community-staging-x86_64/PKGBUILD (from rev 
734380, haskell-foundation/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-27 13:26:47 UTC (rev 734381)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=foundation
+pkgname=haskell-foundation
+pkgver=0.0.25
+pkgrel=49
+pkgdesc="Alternative prelude with batteries and no dependencies"
+url="https://github.com/haskell-foundation/foundation";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-basement')
+makedepends=('ghc' 'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('7335795a1cdf2975d6e9471c5b469d99cc6d224d2da66838d830593a5abda73675920acb2dc823a6b92f2141dc2364c8fd5ad53d7e8aecd8df00e6998683be60')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-experimental -f-minimal-deps -f-doctest -flinktest 
-f-bounds-check
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+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-foundation/repos (2 files)

2020-10-24 Thread Felix Yan via arch-commits
Date: Saturday, October 24, 2020 @ 20:38:03
  Author: felixonmars
Revision: 731700

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-foundation/repos/community-staging-x86_64/
  haskell-foundation/repos/community-staging-x86_64/PKGBUILD
(from rev 731699, haskell-foundation/trunk/PKGBUILD)

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

Copied: haskell-foundation/repos/community-staging-x86_64/PKGBUILD (from rev 
731699, haskell-foundation/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-24 20:38:03 UTC (rev 731700)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=foundation
+pkgname=haskell-foundation
+pkgver=0.0.25
+pkgrel=48
+pkgdesc="Alternative prelude with batteries and no dependencies"
+url="https://github.com/haskell-foundation/foundation";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-basement')
+makedepends=('ghc' 'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('7335795a1cdf2975d6e9471c5b469d99cc6d224d2da66838d830593a5abda73675920acb2dc823a6b92f2141dc2364c8fd5ad53d7e8aecd8df00e6998683be60')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-experimental -f-minimal-deps -f-doctest -flinktest 
-f-bounds-check
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+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-foundation/repos (2 files)

2020-10-21 Thread Felix Yan via arch-commits
Date: Wednesday, October 21, 2020 @ 17:03:01
  Author: felixonmars
Revision: 728017

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-foundation/repos/community-staging-x86_64/
  haskell-foundation/repos/community-staging-x86_64/PKGBUILD
(from rev 728016, haskell-foundation/trunk/PKGBUILD)

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

Copied: haskell-foundation/repos/community-staging-x86_64/PKGBUILD (from rev 
728016, haskell-foundation/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-21 17:03:01 UTC (rev 728017)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=foundation
+pkgname=haskell-foundation
+pkgver=0.0.25
+pkgrel=47
+pkgdesc="Alternative prelude with batteries and no dependencies"
+url="https://github.com/haskell-foundation/foundation";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-basement')
+makedepends=('ghc' 'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('7335795a1cdf2975d6e9471c5b469d99cc6d224d2da66838d830593a5abda73675920acb2dc823a6b92f2141dc2364c8fd5ad53d7e8aecd8df00e6998683be60')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-experimental -f-minimal-deps -f-doctest -flinktest 
-f-bounds-check
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+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-foundation/repos (2 files)

2020-10-16 Thread Felix Yan via arch-commits
Date: Friday, October 16, 2020 @ 14:57:07
  Author: felixonmars
Revision: 724707

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-foundation/repos/community-staging-x86_64/
  haskell-foundation/repos/community-staging-x86_64/PKGBUILD
(from rev 724706, haskell-foundation/trunk/PKGBUILD)

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

Copied: haskell-foundation/repos/community-staging-x86_64/PKGBUILD (from rev 
724706, haskell-foundation/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-16 14:57:07 UTC (rev 724707)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=foundation
+pkgname=haskell-foundation
+pkgver=0.0.25
+pkgrel=46
+pkgdesc="Alternative prelude with batteries and no dependencies"
+url="https://github.com/haskell-foundation/foundation";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-basement')
+makedepends=('ghc' 'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('7335795a1cdf2975d6e9471c5b469d99cc6d224d2da66838d830593a5abda73675920acb2dc823a6b92f2141dc2364c8fd5ad53d7e8aecd8df00e6998683be60')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-experimental -f-minimal-deps -f-doctest -flinktest 
-f-bounds-check
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+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-foundation/repos (2 files)

2020-10-06 Thread Felix Yan via arch-commits
Date: Tuesday, October 6, 2020 @ 22:37:52
  Author: felixonmars
Revision: 719805

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-foundation/repos/community-staging-x86_64/
  haskell-foundation/repos/community-staging-x86_64/PKGBUILD
(from rev 719804, haskell-foundation/trunk/PKGBUILD)

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

Copied: haskell-foundation/repos/community-staging-x86_64/PKGBUILD (from rev 
719804, haskell-foundation/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-06 22:37:52 UTC (rev 719805)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=foundation
+pkgname=haskell-foundation
+pkgver=0.0.25
+pkgrel=45
+pkgdesc="Alternative prelude with batteries and no dependencies"
+url="https://github.com/haskell-foundation/foundation";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-basement')
+makedepends=('ghc' 'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('7335795a1cdf2975d6e9471c5b469d99cc6d224d2da66838d830593a5abda73675920acb2dc823a6b92f2141dc2364c8fd5ad53d7e8aecd8df00e6998683be60')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-experimental -f-minimal-deps -f-doctest -flinktest 
-f-bounds-check
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+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-foundation/repos (2 files)

2020-10-03 Thread Felix Yan via arch-commits
Date: Saturday, October 3, 2020 @ 22:30:40
  Author: felixonmars
Revision: 716819

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-foundation/repos/community-staging-x86_64/
  haskell-foundation/repos/community-staging-x86_64/PKGBUILD
(from rev 716818, haskell-foundation/trunk/PKGBUILD)

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

Copied: haskell-foundation/repos/community-staging-x86_64/PKGBUILD (from rev 
716818, haskell-foundation/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-03 22:30:40 UTC (rev 716819)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=foundation
+pkgname=haskell-foundation
+pkgver=0.0.25
+pkgrel=44
+pkgdesc="Alternative prelude with batteries and no dependencies"
+url="https://github.com/haskell-foundation/foundation";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-basement')
+makedepends=('ghc' 'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('7335795a1cdf2975d6e9471c5b469d99cc6d224d2da66838d830593a5abda73675920acb2dc823a6b92f2141dc2364c8fd5ad53d7e8aecd8df00e6998683be60')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-experimental -f-minimal-deps -f-doctest -flinktest 
-f-bounds-check
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+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-foundation/repos (2 files)

2020-10-01 Thread Felix Yan via arch-commits
Date: Thursday, October 1, 2020 @ 22:42:43
  Author: felixonmars
Revision: 714535

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-foundation/repos/community-staging-x86_64/
  haskell-foundation/repos/community-staging-x86_64/PKGBUILD
(from rev 714534, haskell-foundation/trunk/PKGBUILD)

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

Copied: haskell-foundation/repos/community-staging-x86_64/PKGBUILD (from rev 
714534, haskell-foundation/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-01 22:42:43 UTC (rev 714535)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=foundation
+pkgname=haskell-foundation
+pkgver=0.0.25
+pkgrel=43
+pkgdesc="Alternative prelude with batteries and no dependencies"
+url="https://github.com/haskell-foundation/foundation";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-basement')
+makedepends=('ghc' 'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('7335795a1cdf2975d6e9471c5b469d99cc6d224d2da66838d830593a5abda73675920acb2dc823a6b92f2141dc2364c8fd5ad53d7e8aecd8df00e6998683be60')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-experimental -f-minimal-deps -f-doctest -flinktest 
-f-bounds-check
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+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-foundation/repos (2 files)

2020-09-17 Thread Felix Yan via arch-commits
Date: Thursday, September 17, 2020 @ 18:13:57
  Author: felixonmars
Revision: 708956

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-foundation/repos/community-staging-x86_64/
  haskell-foundation/repos/community-staging-x86_64/PKGBUILD
(from rev 708955, haskell-foundation/trunk/PKGBUILD)

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

Copied: haskell-foundation/repos/community-staging-x86_64/PKGBUILD (from rev 
708955, haskell-foundation/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-17 18:13:57 UTC (rev 708956)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=foundation
+pkgname=haskell-foundation
+pkgver=0.0.25
+pkgrel=42
+pkgdesc="Alternative prelude with batteries and no dependencies"
+url="https://github.com/haskell-foundation/foundation";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-basement')
+makedepends=('ghc' 'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('7335795a1cdf2975d6e9471c5b469d99cc6d224d2da66838d830593a5abda73675920acb2dc823a6b92f2141dc2364c8fd5ad53d7e8aecd8df00e6998683be60')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-experimental -f-minimal-deps -f-doctest -flinktest 
-f-bounds-check
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+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-foundation/repos (2 files)

2020-09-14 Thread Felix Yan via arch-commits
Date: Monday, September 14, 2020 @ 18:42:43
  Author: felixonmars
Revision: 706263

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-foundation/repos/community-staging-x86_64/
  haskell-foundation/repos/community-staging-x86_64/PKGBUILD
(from rev 706262, haskell-foundation/trunk/PKGBUILD)

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

Copied: haskell-foundation/repos/community-staging-x86_64/PKGBUILD (from rev 
706262, haskell-foundation/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-14 18:42:43 UTC (rev 706263)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=foundation
+pkgname=haskell-foundation
+pkgver=0.0.25
+pkgrel=41
+pkgdesc="Alternative prelude with batteries and no dependencies"
+url="https://github.com/haskell-foundation/foundation";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-basement')
+makedepends=('ghc' 'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('7335795a1cdf2975d6e9471c5b469d99cc6d224d2da66838d830593a5abda73675920acb2dc823a6b92f2141dc2364c8fd5ad53d7e8aecd8df00e6998683be60')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-experimental -f-minimal-deps -f-doctest -flinktest 
-f-bounds-check
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+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-foundation/repos (2 files)

2020-09-12 Thread Felix Yan via arch-commits
Date: Saturday, September 12, 2020 @ 15:11:27
  Author: felixonmars
Revision: 704079

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-foundation/repos/community-staging-x86_64/
  haskell-foundation/repos/community-staging-x86_64/PKGBUILD
(from rev 704078, haskell-foundation/trunk/PKGBUILD)

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

Copied: haskell-foundation/repos/community-staging-x86_64/PKGBUILD (from rev 
704078, haskell-foundation/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-12 15:11:27 UTC (rev 704079)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=foundation
+pkgname=haskell-foundation
+pkgver=0.0.25
+pkgrel=40
+pkgdesc="Alternative prelude with batteries and no dependencies"
+url="https://github.com/haskell-foundation/foundation";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-basement')
+makedepends=('ghc' 'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('7335795a1cdf2975d6e9471c5b469d99cc6d224d2da66838d830593a5abda73675920acb2dc823a6b92f2141dc2364c8fd5ad53d7e8aecd8df00e6998683be60')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-experimental -f-minimal-deps -f-doctest -flinktest 
-f-bounds-check
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+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-foundation/repos (2 files)

2020-09-10 Thread Felix Yan via arch-commits
Date: Thursday, September 10, 2020 @ 16:17:30
  Author: felixonmars
Revision: 701889

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-foundation/repos/community-staging-x86_64/
  haskell-foundation/repos/community-staging-x86_64/PKGBUILD
(from rev 701888, haskell-foundation/trunk/PKGBUILD)

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

Copied: haskell-foundation/repos/community-staging-x86_64/PKGBUILD (from rev 
701888, haskell-foundation/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-10 16:17:30 UTC (rev 701889)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=foundation
+pkgname=haskell-foundation
+pkgver=0.0.25
+pkgrel=39
+pkgdesc="Alternative prelude with batteries and no dependencies"
+url="https://github.com/haskell-foundation/foundation";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-basement')
+makedepends=('ghc' 'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('7335795a1cdf2975d6e9471c5b469d99cc6d224d2da66838d830593a5abda73675920acb2dc823a6b92f2141dc2364c8fd5ad53d7e8aecd8df00e6998683be60')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-experimental -f-minimal-deps -f-doctest -flinktest 
-f-bounds-check
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+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-foundation/repos (2 files)

2020-09-07 Thread Felix Yan via arch-commits
Date: Monday, September 7, 2020 @ 10:07:47
  Author: felixonmars
Revision: 699539

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-foundation/repos/community-staging-x86_64/
  haskell-foundation/repos/community-staging-x86_64/PKGBUILD
(from rev 699538, haskell-foundation/trunk/PKGBUILD)

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

Copied: haskell-foundation/repos/community-staging-x86_64/PKGBUILD (from rev 
699538, haskell-foundation/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-07 10:07:47 UTC (rev 699539)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=foundation
+pkgname=haskell-foundation
+pkgver=0.0.25
+pkgrel=38
+pkgdesc="Alternative prelude with batteries and no dependencies"
+url="https://github.com/haskell-foundation/foundation";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-basement')
+makedepends=('ghc' 'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('7335795a1cdf2975d6e9471c5b469d99cc6d224d2da66838d830593a5abda73675920acb2dc823a6b92f2141dc2364c8fd5ad53d7e8aecd8df00e6998683be60')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-experimental -f-minimal-deps -f-doctest -flinktest 
-f-bounds-check
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+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-foundation/repos (2 files)

2020-09-02 Thread Felix Yan via arch-commits
Date: Wednesday, September 2, 2020 @ 17:04:44
  Author: felixonmars
Revision: 696613

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-foundation/repos/community-staging-x86_64/
  haskell-foundation/repos/community-staging-x86_64/PKGBUILD
(from rev 696612, haskell-foundation/trunk/PKGBUILD)

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

Copied: haskell-foundation/repos/community-staging-x86_64/PKGBUILD (from rev 
696612, haskell-foundation/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-02 17:04:44 UTC (rev 696613)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=foundation
+pkgname=haskell-foundation
+pkgver=0.0.25
+pkgrel=37
+pkgdesc="Alternative prelude with batteries and no dependencies"
+url="https://github.com/haskell-foundation/foundation";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-basement')
+makedepends=('ghc' 'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('7335795a1cdf2975d6e9471c5b469d99cc6d224d2da66838d830593a5abda73675920acb2dc823a6b92f2141dc2364c8fd5ad53d7e8aecd8df00e6998683be60')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-experimental -f-minimal-deps -f-doctest -flinktest 
-f-bounds-check
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+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-foundation/repos (2 files)

2020-08-30 Thread Felix Yan via arch-commits
Date: Monday, August 31, 2020 @ 02:44:41
  Author: felixonmars
Revision: 693379

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-foundation/repos/community-staging-x86_64/
  haskell-foundation/repos/community-staging-x86_64/PKGBUILD
(from rev 693378, haskell-foundation/trunk/PKGBUILD)

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

Copied: haskell-foundation/repos/community-staging-x86_64/PKGBUILD (from rev 
693378, haskell-foundation/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-31 02:44:41 UTC (rev 693379)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=foundation
+pkgname=haskell-foundation
+pkgver=0.0.25
+pkgrel=36
+pkgdesc="Alternative prelude with batteries and no dependencies"
+url="https://github.com/haskell-foundation/foundation";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-basement')
+makedepends=('ghc' 'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('7335795a1cdf2975d6e9471c5b469d99cc6d224d2da66838d830593a5abda73675920acb2dc823a6b92f2141dc2364c8fd5ad53d7e8aecd8df00e6998683be60')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-experimental -f-minimal-deps -f-doctest -flinktest 
-f-bounds-check
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+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-foundation/repos (2 files)

2020-08-28 Thread Felix Yan via arch-commits
Date: Friday, August 28, 2020 @ 09:05:41
  Author: felixonmars
Revision: 690327

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-foundation/repos/community-staging-x86_64/
  haskell-foundation/repos/community-staging-x86_64/PKGBUILD
(from rev 690326, haskell-foundation/trunk/PKGBUILD)

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

Copied: haskell-foundation/repos/community-staging-x86_64/PKGBUILD (from rev 
690326, haskell-foundation/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-28 09:05:41 UTC (rev 690327)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=foundation
+pkgname=haskell-foundation
+pkgver=0.0.25
+pkgrel=35
+pkgdesc="Alternative prelude with batteries and no dependencies"
+url="https://github.com/haskell-foundation/foundation";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-basement')
+makedepends=('ghc' 'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('7335795a1cdf2975d6e9471c5b469d99cc6d224d2da66838d830593a5abda73675920acb2dc823a6b92f2141dc2364c8fd5ad53d7e8aecd8df00e6998683be60')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-experimental -f-minimal-deps -f-doctest -flinktest 
-f-bounds-check
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+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-foundation/repos (2 files)

2020-08-25 Thread Felix Yan via arch-commits
Date: Tuesday, August 25, 2020 @ 13:31:28
  Author: felixonmars
Revision: 688214

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-foundation/repos/community-staging-x86_64/
  haskell-foundation/repos/community-staging-x86_64/PKGBUILD
(from rev 688213, haskell-foundation/trunk/PKGBUILD)

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

Copied: haskell-foundation/repos/community-staging-x86_64/PKGBUILD (from rev 
688213, haskell-foundation/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-25 13:31:28 UTC (rev 688214)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=foundation
+pkgname=haskell-foundation
+pkgver=0.0.25
+pkgrel=34
+pkgdesc="Alternative prelude with batteries and no dependencies"
+url="https://github.com/haskell-foundation/foundation";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-basement')
+makedepends=('ghc' 'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('7335795a1cdf2975d6e9471c5b469d99cc6d224d2da66838d830593a5abda73675920acb2dc823a6b92f2141dc2364c8fd5ad53d7e8aecd8df00e6998683be60')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-experimental -f-minimal-deps -f-doctest -flinktest 
-f-bounds-check
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+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-foundation/repos (2 files)

2020-08-17 Thread Felix Yan via arch-commits
Date: Monday, August 17, 2020 @ 19:22:34
  Author: felixonmars
Revision: 683084

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-foundation/repos/community-staging-x86_64/
  haskell-foundation/repos/community-staging-x86_64/PKGBUILD
(from rev 683083, haskell-foundation/trunk/PKGBUILD)

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

Copied: haskell-foundation/repos/community-staging-x86_64/PKGBUILD (from rev 
683083, haskell-foundation/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-17 19:22:34 UTC (rev 683084)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=foundation
+pkgname=haskell-foundation
+pkgver=0.0.25
+pkgrel=33
+pkgdesc="Alternative prelude with batteries and no dependencies"
+url="https://github.com/haskell-foundation/foundation";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-basement')
+makedepends=('ghc' 'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('7335795a1cdf2975d6e9471c5b469d99cc6d224d2da66838d830593a5abda73675920acb2dc823a6b92f2141dc2364c8fd5ad53d7e8aecd8df00e6998683be60')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-experimental -f-minimal-deps -f-doctest -flinktest 
-f-bounds-check
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+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-foundation/repos (2 files)

2020-08-15 Thread Felix Yan via arch-commits
Date: Saturday, August 15, 2020 @ 21:35:38
  Author: felixonmars
Revision: 680093

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-foundation/repos/community-staging-x86_64/
  haskell-foundation/repos/community-staging-x86_64/PKGBUILD
(from rev 680092, haskell-foundation/trunk/PKGBUILD)

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

Copied: haskell-foundation/repos/community-staging-x86_64/PKGBUILD (from rev 
680092, haskell-foundation/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-15 21:35:38 UTC (rev 680093)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=foundation
+pkgname=haskell-foundation
+pkgver=0.0.25
+pkgrel=32
+pkgdesc="Alternative prelude with batteries and no dependencies"
+url="https://github.com/haskell-foundation/foundation";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-basement')
+makedepends=('ghc' 'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('7335795a1cdf2975d6e9471c5b469d99cc6d224d2da66838d830593a5abda73675920acb2dc823a6b92f2141dc2364c8fd5ad53d7e8aecd8df00e6998683be60')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-experimental -f-minimal-deps -f-doctest -flinktest 
-f-bounds-check
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+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-foundation/repos (2 files)

2020-08-13 Thread Felix Yan via arch-commits
Date: Thursday, August 13, 2020 @ 16:28:41
  Author: felixonmars
Revision: 677621

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-foundation/repos/community-staging-x86_64/
  haskell-foundation/repos/community-staging-x86_64/PKGBUILD
(from rev 677620, haskell-foundation/trunk/PKGBUILD)

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

Copied: haskell-foundation/repos/community-staging-x86_64/PKGBUILD (from rev 
677620, haskell-foundation/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-13 16:28:41 UTC (rev 677621)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=foundation
+pkgname=haskell-foundation
+pkgver=0.0.25
+pkgrel=31
+pkgdesc="Alternative prelude with batteries and no dependencies"
+url="https://github.com/haskell-foundation/foundation";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-basement')
+makedepends=('ghc' 'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('7335795a1cdf2975d6e9471c5b469d99cc6d224d2da66838d830593a5abda73675920acb2dc823a6b92f2141dc2364c8fd5ad53d7e8aecd8df00e6998683be60')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-experimental -f-minimal-deps -f-doctest -flinktest 
-f-bounds-check
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+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-foundation/repos (2 files)

2020-08-11 Thread Felix Yan via arch-commits
Date: Tuesday, August 11, 2020 @ 20:12:39
  Author: felixonmars
Revision: 674885

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-foundation/repos/community-staging-x86_64/
  haskell-foundation/repos/community-staging-x86_64/PKGBUILD
(from rev 674884, haskell-foundation/trunk/PKGBUILD)

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

Copied: haskell-foundation/repos/community-staging-x86_64/PKGBUILD (from rev 
674884, haskell-foundation/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-11 20:12:39 UTC (rev 674885)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=foundation
+pkgname=haskell-foundation
+pkgver=0.0.25
+pkgrel=30
+pkgdesc="Alternative prelude with batteries and no dependencies"
+url="https://github.com/haskell-foundation/foundation";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-basement')
+makedepends=('ghc' 'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('7335795a1cdf2975d6e9471c5b469d99cc6d224d2da66838d830593a5abda73675920acb2dc823a6b92f2141dc2364c8fd5ad53d7e8aecd8df00e6998683be60')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-experimental -f-minimal-deps -f-doctest -flinktest 
-f-bounds-check
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+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-foundation/repos (2 files)

2020-07-31 Thread Felix Yan via arch-commits
Date: Friday, July 31, 2020 @ 22:45:39
  Author: felixonmars
Revision: 65

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-foundation/repos/community-staging-x86_64/
  haskell-foundation/repos/community-staging-x86_64/PKGBUILD
(from rev 64, haskell-foundation/trunk/PKGBUILD)

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

Copied: haskell-foundation/repos/community-staging-x86_64/PKGBUILD (from rev 
64, haskell-foundation/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-07-31 22:45:39 UTC (rev 65)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=foundation
+pkgname=haskell-foundation
+pkgver=0.0.25
+pkgrel=29
+pkgdesc="Alternative prelude with batteries and no dependencies"
+url="https://github.com/haskell-foundation/foundation";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-basement')
+makedepends=('ghc' 'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('7335795a1cdf2975d6e9471c5b469d99cc6d224d2da66838d830593a5abda73675920acb2dc823a6b92f2141dc2364c8fd5ad53d7e8aecd8df00e6998683be60')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-experimental -f-minimal-deps -f-doctest -flinktest 
-f-bounds-check
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+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-foundation/repos (2 files)

2020-06-28 Thread Felix Yan via arch-commits
Date: Sunday, June 28, 2020 @ 22:26:32
  Author: felixonmars
Revision: 655520

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-foundation/repos/community-staging-x86_64/
  haskell-foundation/repos/community-staging-x86_64/PKGBUILD
(from rev 655519, haskell-foundation/trunk/PKGBUILD)

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

Copied: haskell-foundation/repos/community-staging-x86_64/PKGBUILD (from rev 
655519, haskell-foundation/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-06-28 22:26:32 UTC (rev 655520)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=foundation
+pkgname=haskell-foundation
+pkgver=0.0.25
+pkgrel=28
+pkgdesc="Alternative prelude with batteries and no dependencies"
+url="https://github.com/haskell-foundation/foundation";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-basement')
+makedepends=('ghc' 'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('7335795a1cdf2975d6e9471c5b469d99cc6d224d2da66838d830593a5abda73675920acb2dc823a6b92f2141dc2364c8fd5ad53d7e8aecd8df00e6998683be60')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-experimental -f-minimal-deps -f-doctest -flinktest 
-f-bounds-check
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+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-foundation/repos (2 files)

2020-06-23 Thread Felix Yan via arch-commits
Date: Tuesday, June 23, 2020 @ 21:58:21
  Author: felixonmars
Revision: 651715

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-foundation/repos/community-staging-x86_64/
  haskell-foundation/repos/community-staging-x86_64/PKGBUILD
(from rev 651714, haskell-foundation/trunk/PKGBUILD)

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

Copied: haskell-foundation/repos/community-staging-x86_64/PKGBUILD (from rev 
651714, haskell-foundation/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-06-23 21:58:21 UTC (rev 651715)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=foundation
+pkgname=haskell-foundation
+pkgver=0.0.25
+pkgrel=27
+pkgdesc="Alternative prelude with batteries and no dependencies"
+url="https://github.com/haskell-foundation/foundation";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-basement')
+makedepends=('ghc' 'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('7335795a1cdf2975d6e9471c5b469d99cc6d224d2da66838d830593a5abda73675920acb2dc823a6b92f2141dc2364c8fd5ad53d7e8aecd8df00e6998683be60')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-experimental -f-minimal-deps -f-doctest -flinktest 
-f-bounds-check
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+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-foundation/repos (2 files)

2020-06-13 Thread Felix Yan via arch-commits
Date: Saturday, June 13, 2020 @ 22:41:09
  Author: felixonmars
Revision: 643309

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-foundation/repos/community-staging-x86_64/
  haskell-foundation/repos/community-staging-x86_64/PKGBUILD
(from rev 643308, haskell-foundation/trunk/PKGBUILD)

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

Copied: haskell-foundation/repos/community-staging-x86_64/PKGBUILD (from rev 
643308, haskell-foundation/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-06-13 22:41:09 UTC (rev 643309)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=foundation
+pkgname=haskell-foundation
+pkgver=0.0.25
+pkgrel=26
+pkgdesc="Alternative prelude with batteries and no dependencies"
+url="https://github.com/haskell-foundation/foundation";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-basement')
+makedepends=('ghc' 'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('7335795a1cdf2975d6e9471c5b469d99cc6d224d2da66838d830593a5abda73675920acb2dc823a6b92f2141dc2364c8fd5ad53d7e8aecd8df00e6998683be60')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-experimental -f-minimal-deps -f-doctest -flinktest 
-f-bounds-check
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+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-foundation/repos (2 files)

2020-06-09 Thread Felix Yan via arch-commits
Date: Tuesday, June 9, 2020 @ 20:59:58
  Author: felixonmars
Revision: 640954

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-foundation/repos/community-staging-x86_64/
  haskell-foundation/repos/community-staging-x86_64/PKGBUILD
(from rev 640953, haskell-foundation/trunk/PKGBUILD)

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

Copied: haskell-foundation/repos/community-staging-x86_64/PKGBUILD (from rev 
640953, haskell-foundation/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-06-09 20:59:58 UTC (rev 640954)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=foundation
+pkgname=haskell-foundation
+pkgver=0.0.25
+pkgrel=25
+pkgdesc="Alternative prelude with batteries and no dependencies"
+url="https://github.com/haskell-foundation/foundation";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-basement')
+makedepends=('ghc' 'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('7335795a1cdf2975d6e9471c5b469d99cc6d224d2da66838d830593a5abda73675920acb2dc823a6b92f2141dc2364c8fd5ad53d7e8aecd8df00e6998683be60')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-experimental -f-minimal-deps -f-doctest -flinktest 
-f-bounds-check
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+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-foundation/repos (2 files)

2020-05-23 Thread Felix Yan via arch-commits
Date: Saturday, May 23, 2020 @ 15:41:22
  Author: felixonmars
Revision: 632097

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-foundation/repos/community-staging-x86_64/
  haskell-foundation/repos/community-staging-x86_64/PKGBUILD
(from rev 632096, haskell-foundation/trunk/PKGBUILD)

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

Copied: haskell-foundation/repos/community-staging-x86_64/PKGBUILD (from rev 
632096, haskell-foundation/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-05-23 15:41:22 UTC (rev 632097)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=foundation
+pkgname=haskell-foundation
+pkgver=0.0.25
+pkgrel=24
+pkgdesc="Alternative prelude with batteries and no dependencies"
+url="https://github.com/haskell-foundation/foundation";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-basement')
+makedepends=('ghc' 'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('7335795a1cdf2975d6e9471c5b469d99cc6d224d2da66838d830593a5abda73675920acb2dc823a6b92f2141dc2364c8fd5ad53d7e8aecd8df00e6998683be60')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-experimental -f-minimal-deps -f-doctest -flinktest 
-f-bounds-check
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+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-foundation/repos (2 files)

2020-05-12 Thread Felix Yan via arch-commits
Date: Tuesday, May 12, 2020 @ 10:22:58
  Author: felixonmars
Revision: 626727

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-foundation/repos/community-staging-x86_64/
  haskell-foundation/repos/community-staging-x86_64/PKGBUILD
(from rev 626726, haskell-foundation/trunk/PKGBUILD)

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

Copied: haskell-foundation/repos/community-staging-x86_64/PKGBUILD (from rev 
626726, haskell-foundation/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-05-12 10:22:58 UTC (rev 626727)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=foundation
+pkgname=haskell-foundation
+pkgver=0.0.25
+pkgrel=23
+pkgdesc="Alternative prelude with batteries and no dependencies"
+url="https://github.com/haskell-foundation/foundation";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-basement')
+makedepends=('ghc' 'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('7335795a1cdf2975d6e9471c5b469d99cc6d224d2da66838d830593a5abda73675920acb2dc823a6b92f2141dc2364c8fd5ad53d7e8aecd8df00e6998683be60')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-experimental -f-minimal-deps -f-doctest -flinktest 
-f-bounds-check
+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-foundation/repos (2 files)

2020-04-23 Thread Felix Yan via arch-commits
Date: Friday, April 24, 2020 @ 05:42:05
  Author: felixonmars
Revision: 618767

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-foundation/repos/community-staging-x86_64/
  haskell-foundation/repos/community-staging-x86_64/PKGBUILD
(from rev 618766, haskell-foundation/trunk/PKGBUILD)

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

Copied: haskell-foundation/repos/community-staging-x86_64/PKGBUILD (from rev 
618766, haskell-foundation/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-24 05:42:05 UTC (rev 618767)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=foundation
+pkgname=haskell-foundation
+pkgver=0.0.25
+pkgrel=22
+pkgdesc="Alternative prelude with batteries and no dependencies"
+url="https://github.com/haskell-foundation/foundation";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-basement')
+makedepends=('ghc' 'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('7335795a1cdf2975d6e9471c5b469d99cc6d224d2da66838d830593a5abda73675920acb2dc823a6b92f2141dc2364c8fd5ad53d7e8aecd8df00e6998683be60')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-experimental -f-minimal-deps -f-doctest -flinktest 
-f-bounds-check
+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-foundation/repos (2 files)

2020-04-01 Thread Felix Yan via arch-commits
Date: Wednesday, April 1, 2020 @ 10:15:38
  Author: felixonmars
Revision: 608625

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-foundation/repos/community-staging-x86_64/
  haskell-foundation/repos/community-staging-x86_64/PKGBUILD
(from rev 608624, haskell-foundation/trunk/PKGBUILD)

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

Copied: haskell-foundation/repos/community-staging-x86_64/PKGBUILD (from rev 
608624, haskell-foundation/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-01 10:15:38 UTC (rev 608625)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=foundation
+pkgname=haskell-foundation
+pkgver=0.0.25
+pkgrel=21
+pkgdesc="Alternative prelude with batteries and no dependencies"
+url="https://github.com/haskell-foundation/foundation";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-basement')
+makedepends=('ghc' 'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('7335795a1cdf2975d6e9471c5b469d99cc6d224d2da66838d830593a5abda73675920acb2dc823a6b92f2141dc2364c8fd5ad53d7e8aecd8df00e6998683be60')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-experimental -f-minimal-deps -f-doctest -flinktest 
-f-bounds-check
+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-foundation/repos (2 files)

2020-03-30 Thread Felix Yan via arch-commits
Date: Monday, March 30, 2020 @ 20:13:38
  Author: felixonmars
Revision: 607154

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-foundation/repos/community-staging-x86_64/
  haskell-foundation/repos/community-staging-x86_64/PKGBUILD
(from rev 607153, haskell-foundation/trunk/PKGBUILD)

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

Copied: haskell-foundation/repos/community-staging-x86_64/PKGBUILD (from rev 
607153, haskell-foundation/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-03-30 20:13:38 UTC (rev 607154)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=foundation
+pkgname=haskell-foundation
+pkgver=0.0.25
+pkgrel=20
+pkgdesc="Alternative prelude with batteries and no dependencies"
+url="https://github.com/haskell-foundation/foundation";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-basement')
+makedepends=('ghc' 'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('7335795a1cdf2975d6e9471c5b469d99cc6d224d2da66838d830593a5abda73675920acb2dc823a6b92f2141dc2364c8fd5ad53d7e8aecd8df00e6998683be60')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-experimental -f-minimal-deps -f-doctest -flinktest 
-f-bounds-check
+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-foundation/repos (2 files)

2020-03-15 Thread Felix Yan via arch-commits
Date: Sunday, March 15, 2020 @ 14:41:35
  Author: felixonmars
Revision: 598159

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-foundation/repos/community-staging-x86_64/
  haskell-foundation/repos/community-staging-x86_64/PKGBUILD
(from rev 598158, haskell-foundation/trunk/PKGBUILD)

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

Copied: haskell-foundation/repos/community-staging-x86_64/PKGBUILD (from rev 
598158, haskell-foundation/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-03-15 14:41:35 UTC (rev 598159)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=foundation
+pkgname=haskell-foundation
+pkgver=0.0.25
+pkgrel=19
+pkgdesc="Alternative prelude with batteries and no dependencies"
+url="https://github.com/haskell-foundation/foundation";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-basement')
+makedepends=('ghc' 'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('7335795a1cdf2975d6e9471c5b469d99cc6d224d2da66838d830593a5abda73675920acb2dc823a6b92f2141dc2364c8fd5ad53d7e8aecd8df00e6998683be60')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-experimental -f-minimal-deps -f-doctest -flinktest 
-f-bounds-check
+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-foundation/repos (2 files)

2020-03-01 Thread Felix Yan via arch-commits
Date: Sunday, March 1, 2020 @ 18:07:17
  Author: felixonmars
Revision: 587876

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-foundation/repos/community-staging-x86_64/
  haskell-foundation/repos/community-staging-x86_64/PKGBUILD
(from rev 587875, haskell-foundation/trunk/PKGBUILD)

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

Copied: haskell-foundation/repos/community-staging-x86_64/PKGBUILD (from rev 
587875, haskell-foundation/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-03-01 18:07:17 UTC (rev 587876)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=foundation
+pkgname=haskell-foundation
+pkgver=0.0.25
+pkgrel=18
+pkgdesc="Alternative prelude with batteries and no dependencies"
+url="https://github.com/haskell-foundation/foundation";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-basement')
+makedepends=('ghc' 'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('7335795a1cdf2975d6e9471c5b469d99cc6d224d2da66838d830593a5abda73675920acb2dc823a6b92f2141dc2364c8fd5ad53d7e8aecd8df00e6998683be60')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-experimental -f-minimal-deps -f-doctest -flinktest 
-f-bounds-check
+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-foundation/repos (2 files)

2020-02-27 Thread Felix Yan via arch-commits
Date: Thursday, February 27, 2020 @ 14:43:07
  Author: felixonmars
Revision: 584177

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-foundation/repos/community-staging-x86_64/
  haskell-foundation/repos/community-staging-x86_64/PKGBUILD
(from rev 584176, haskell-foundation/trunk/PKGBUILD)

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

Copied: haskell-foundation/repos/community-staging-x86_64/PKGBUILD (from rev 
584176, haskell-foundation/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-27 14:43:07 UTC (rev 584177)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=foundation
+pkgname=haskell-foundation
+pkgver=0.0.25
+pkgrel=17
+pkgdesc="Alternative prelude with batteries and no dependencies"
+url="https://github.com/haskell-foundation/foundation";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-basement')
+makedepends=('ghc' 'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('7335795a1cdf2975d6e9471c5b469d99cc6d224d2da66838d830593a5abda73675920acb2dc823a6b92f2141dc2364c8fd5ad53d7e8aecd8df00e6998683be60')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-experimental -f-minimal-deps -f-doctest -flinktest 
-f-bounds-check
+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-foundation/repos (2 files)

2020-02-25 Thread Felix Yan via arch-commits
Date: Tuesday, February 25, 2020 @ 16:22:34
  Author: felixonmars
Revision: 581540

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-foundation/repos/community-staging-x86_64/
  haskell-foundation/repos/community-staging-x86_64/PKGBUILD
(from rev 581539, haskell-foundation/trunk/PKGBUILD)

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

Copied: haskell-foundation/repos/community-staging-x86_64/PKGBUILD (from rev 
581539, haskell-foundation/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-25 16:22:34 UTC (rev 581540)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=foundation
+pkgname=haskell-foundation
+pkgver=0.0.25
+pkgrel=16
+pkgdesc="Alternative prelude with batteries and no dependencies"
+url="https://github.com/haskell-foundation/foundation";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-basement')
+makedepends=('ghc' 'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('7335795a1cdf2975d6e9471c5b469d99cc6d224d2da66838d830593a5abda73675920acb2dc823a6b92f2141dc2364c8fd5ad53d7e8aecd8df00e6998683be60')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-experimental -f-minimal-deps -f-doctest -flinktest 
-f-bounds-check
+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-foundation/repos (2 files)

2020-02-16 Thread Felix Yan via arch-commits
Date: Sunday, February 16, 2020 @ 11:45:27
  Author: felixonmars
Revision: 572365

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-foundation/repos/community-staging-x86_64/
  haskell-foundation/repos/community-staging-x86_64/PKGBUILD
(from rev 572364, haskell-foundation/trunk/PKGBUILD)

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

Copied: haskell-foundation/repos/community-staging-x86_64/PKGBUILD (from rev 
572364, haskell-foundation/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-16 11:45:27 UTC (rev 572365)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=foundation
+pkgname=haskell-foundation
+pkgver=0.0.25
+pkgrel=15
+pkgdesc="Alternative prelude with batteries and no dependencies"
+url="https://github.com/haskell-foundation/foundation";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-basement')
+makedepends=('ghc' 'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('7335795a1cdf2975d6e9471c5b469d99cc6d224d2da66838d830593a5abda73675920acb2dc823a6b92f2141dc2364c8fd5ad53d7e8aecd8df00e6998683be60')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-experimental -f-minimal-deps -f-doctest -flinktest 
-f-bounds-check
+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-foundation/repos (2 files)

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

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-foundation/repos/community-staging-x86_64/
  haskell-foundation/repos/community-staging-x86_64/PKGBUILD
(from rev 569647, haskell-foundation/trunk/PKGBUILD)

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

Copied: haskell-foundation/repos/community-staging-x86_64/PKGBUILD (from rev 
569647, haskell-foundation/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-12 19:21:19 UTC (rev 569648)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=foundation
+pkgname=haskell-foundation
+pkgver=0.0.25
+pkgrel=14
+pkgdesc="Alternative prelude with batteries and no dependencies"
+url="https://github.com/haskell-foundation/foundation";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-basement')
+makedepends=('ghc' 'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('7335795a1cdf2975d6e9471c5b469d99cc6d224d2da66838d830593a5abda73675920acb2dc823a6b92f2141dc2364c8fd5ad53d7e8aecd8df00e6998683be60')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-experimental -f-minimal-deps -f-doctest -flinktest 
-f-bounds-check
+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-foundation/repos (2 files)

2020-02-10 Thread Felix Yan via arch-commits
Date: Monday, February 10, 2020 @ 23:37:31
  Author: felixonmars
Revision: 566443

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-foundation/repos/community-staging-x86_64/
  haskell-foundation/repos/community-staging-x86_64/PKGBUILD
(from rev 566442, haskell-foundation/trunk/PKGBUILD)

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

Copied: haskell-foundation/repos/community-staging-x86_64/PKGBUILD (from rev 
566442, haskell-foundation/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-10 23:37:31 UTC (rev 566443)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=foundation
+pkgname=haskell-foundation
+pkgver=0.0.25
+pkgrel=13
+pkgdesc="Alternative prelude with batteries and no dependencies"
+url="https://github.com/haskell-foundation/foundation";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-basement')
+makedepends=('ghc' 'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('7335795a1cdf2975d6e9471c5b469d99cc6d224d2da66838d830593a5abda73675920acb2dc823a6b92f2141dc2364c8fd5ad53d7e8aecd8df00e6998683be60')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-experimental -f-minimal-deps -f-doctest -flinktest 
-f-bounds-check
+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-foundation/repos (2 files)

2020-02-04 Thread Felix Yan via arch-commits
Date: Tuesday, February 4, 2020 @ 19:18:21
  Author: felixonmars
Revision: 562351

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-foundation/repos/community-staging-x86_64/
  haskell-foundation/repos/community-staging-x86_64/PKGBUILD
(from rev 562350, haskell-foundation/trunk/PKGBUILD)

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

Copied: haskell-foundation/repos/community-staging-x86_64/PKGBUILD (from rev 
562350, haskell-foundation/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-04 19:18:21 UTC (rev 562351)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=foundation
+pkgname=haskell-foundation
+pkgver=0.0.25
+pkgrel=11
+pkgdesc="Alternative prelude with batteries and no dependencies"
+url="https://github.com/haskell-foundation/foundation";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-basement')
+makedepends=('ghc' 'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('7335795a1cdf2975d6e9471c5b469d99cc6d224d2da66838d830593a5abda73675920acb2dc823a6b92f2141dc2364c8fd5ad53d7e8aecd8df00e6998683be60')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-experimental -f-minimal-deps -f-doctest -flinktest 
-f-bounds-check
+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-foundation/repos (2 files)

2020-01-29 Thread Felix Yan via arch-commits
Date: Wednesday, January 29, 2020 @ 14:43:44
  Author: felixonmars
Revision: 558958

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-foundation/repos/community-staging-x86_64/
  haskell-foundation/repos/community-staging-x86_64/PKGBUILD
(from rev 558957, haskell-foundation/trunk/PKGBUILD)

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

Copied: haskell-foundation/repos/community-staging-x86_64/PKGBUILD (from rev 
558957, haskell-foundation/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-01-29 14:43:44 UTC (rev 558958)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=foundation
+pkgname=haskell-foundation
+pkgver=0.0.25
+pkgrel=10
+pkgdesc="Alternative prelude with batteries and no dependencies"
+url="https://github.com/haskell-foundation/foundation";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-basement')
+makedepends=('ghc' 'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('7335795a1cdf2975d6e9471c5b469d99cc6d224d2da66838d830593a5abda73675920acb2dc823a6b92f2141dc2364c8fd5ad53d7e8aecd8df00e6998683be60')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-experimental -f-minimal-deps -f-doctest -flinktest 
-f-bounds-check
+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-foundation/repos (2 files)

2020-01-27 Thread Felix Yan via arch-commits
Date: Tuesday, January 28, 2020 @ 03:41:42
  Author: felixonmars
Revision: 557143

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-foundation/repos/community-staging-x86_64/
  haskell-foundation/repos/community-staging-x86_64/PKGBUILD
(from rev 557142, haskell-foundation/trunk/PKGBUILD)

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

Copied: haskell-foundation/repos/community-staging-x86_64/PKGBUILD (from rev 
557142, haskell-foundation/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-01-28 03:41:42 UTC (rev 557143)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=foundation
+pkgname=haskell-foundation
+pkgver=0.0.25
+pkgrel=9
+pkgdesc="Alternative prelude with batteries and no dependencies"
+url="https://github.com/haskell-foundation/foundation";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-basement')
+makedepends=('ghc' 'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('7335795a1cdf2975d6e9471c5b469d99cc6d224d2da66838d830593a5abda73675920acb2dc823a6b92f2141dc2364c8fd5ad53d7e8aecd8df00e6998683be60')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-experimental -f-minimal-deps -f-doctest -flinktest 
-f-bounds-check
+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-foundation/repos (2 files)

2020-01-27 Thread Felix Yan via arch-commits
Date: Monday, January 27, 2020 @ 09:54:13
  Author: felixonmars
Revision: 555812

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-foundation/repos/community-staging-x86_64/
  haskell-foundation/repos/community-staging-x86_64/PKGBUILD
(from rev 555811, haskell-foundation/trunk/PKGBUILD)

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

Copied: haskell-foundation/repos/community-staging-x86_64/PKGBUILD (from rev 
555811, haskell-foundation/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-01-27 09:54:13 UTC (rev 555812)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=foundation
+pkgname=haskell-foundation
+pkgver=0.0.25
+pkgrel=8
+pkgdesc="Alternative prelude with batteries and no dependencies"
+url="https://github.com/haskell-foundation/foundation";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-basement')
+makedepends=('ghc' 'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('7335795a1cdf2975d6e9471c5b469d99cc6d224d2da66838d830593a5abda73675920acb2dc823a6b92f2141dc2364c8fd5ad53d7e8aecd8df00e6998683be60')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-experimental -f-minimal-deps -f-doctest -flinktest 
-f-bounds-check
+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-foundation/repos (2 files)

2020-01-10 Thread Felix Yan via arch-commits
Date: Friday, January 10, 2020 @ 16:24:08
  Author: felixonmars
Revision: 551699

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-foundation/repos/community-staging-x86_64/
  haskell-foundation/repos/community-staging-x86_64/PKGBUILD
(from rev 551698, haskell-foundation/trunk/PKGBUILD)

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

Copied: haskell-foundation/repos/community-staging-x86_64/PKGBUILD (from rev 
551698, haskell-foundation/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-01-10 16:24:08 UTC (rev 551699)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=foundation
+pkgname=haskell-foundation
+pkgver=0.0.25
+pkgrel=7
+pkgdesc="Alternative prelude with batteries and no dependencies"
+url="https://github.com/haskell-foundation/foundation";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-basement')
+makedepends=('ghc' 'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('7335795a1cdf2975d6e9471c5b469d99cc6d224d2da66838d830593a5abda73675920acb2dc823a6b92f2141dc2364c8fd5ad53d7e8aecd8df00e6998683be60')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-experimental -f-minimal-deps -f-doctest -flinktest 
-f-bounds-check
+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-foundation/repos (2 files)

2020-01-04 Thread Felix Yan via arch-commits
Date: Saturday, January 4, 2020 @ 20:09:29
  Author: felixonmars
Revision: 548364

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-foundation/repos/community-staging-x86_64/
  haskell-foundation/repos/community-staging-x86_64/PKGBUILD
(from rev 548363, haskell-foundation/trunk/PKGBUILD)

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

Copied: haskell-foundation/repos/community-staging-x86_64/PKGBUILD (from rev 
548363, haskell-foundation/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-01-04 20:09:29 UTC (rev 548364)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=foundation
+pkgname=haskell-foundation
+pkgver=0.0.25
+pkgrel=6
+pkgdesc="Alternative prelude with batteries and no dependencies"
+url="https://github.com/haskell-foundation/foundation";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-basement')
+makedepends=('ghc' 'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('7335795a1cdf2975d6e9471c5b469d99cc6d224d2da66838d830593a5abda73675920acb2dc823a6b92f2141dc2364c8fd5ad53d7e8aecd8df00e6998683be60')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-experimental -f-minimal-deps -f-doctest -flinktest 
-f-bounds-check
+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-foundation/repos (2 files)

2020-01-02 Thread Felix Yan via arch-commits
Date: Thursday, January 2, 2020 @ 18:46:07
  Author: felixonmars
Revision: 546498

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-foundation/repos/community-staging-x86_64/
  haskell-foundation/repos/community-staging-x86_64/PKGBUILD
(from rev 546497, haskell-foundation/trunk/PKGBUILD)

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

Copied: haskell-foundation/repos/community-staging-x86_64/PKGBUILD (from rev 
546497, haskell-foundation/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-01-02 18:46:07 UTC (rev 546498)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=foundation
+pkgname=haskell-foundation
+pkgver=0.0.25
+pkgrel=5
+pkgdesc="Alternative prelude with batteries and no dependencies"
+url="https://github.com/haskell-foundation/foundation";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-basement')
+makedepends=('ghc' 'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('7335795a1cdf2975d6e9471c5b469d99cc6d224d2da66838d830593a5abda73675920acb2dc823a6b92f2141dc2364c8fd5ad53d7e8aecd8df00e6998683be60')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-experimental -f-minimal-deps -f-doctest -flinktest 
-f-bounds-check
+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-foundation/repos (2 files)

2019-12-30 Thread Felix Yan via arch-commits
Date: Monday, December 30, 2019 @ 12:37:44
  Author: felixonmars
Revision: 544535

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-foundation/repos/community-staging-x86_64/
  haskell-foundation/repos/community-staging-x86_64/PKGBUILD
(from rev 544534, haskell-foundation/trunk/PKGBUILD)

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

Copied: haskell-foundation/repos/community-staging-x86_64/PKGBUILD (from rev 
544534, haskell-foundation/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-12-30 12:37:44 UTC (rev 544535)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=foundation
+pkgname=haskell-foundation
+pkgver=0.0.25
+pkgrel=4
+pkgdesc="Alternative prelude with batteries and no dependencies"
+url="https://github.com/haskell-foundation/foundation";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-basement')
+makedepends=('ghc' 'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('7335795a1cdf2975d6e9471c5b469d99cc6d224d2da66838d830593a5abda73675920acb2dc823a6b92f2141dc2364c8fd5ad53d7e8aecd8df00e6998683be60')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-experimental -f-minimal-deps -f-doctest -flinktest 
-f-bounds-check
+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-foundation/repos (2 files)

2019-12-25 Thread Felix Yan via arch-commits
Date: Wednesday, December 25, 2019 @ 13:49:14
  Author: felixonmars
Revision: 541038

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-foundation/repos/community-staging-x86_64/
  haskell-foundation/repos/community-staging-x86_64/PKGBUILD
(from rev 541037, haskell-foundation/trunk/PKGBUILD)

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

Copied: haskell-foundation/repos/community-staging-x86_64/PKGBUILD (from rev 
541037, haskell-foundation/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-12-25 13:49:14 UTC (rev 541038)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=foundation
+pkgname=haskell-foundation
+pkgver=0.0.25
+pkgrel=3
+pkgdesc="Alternative prelude with batteries and no dependencies"
+url="https://github.com/haskell-foundation/foundation";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-basement')
+makedepends=('ghc' 'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('7335795a1cdf2975d6e9471c5b469d99cc6d224d2da66838d830593a5abda73675920acb2dc823a6b92f2141dc2364c8fd5ad53d7e8aecd8df00e6998683be60')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-experimental -f-minimal-deps -f-doctest -flinktest 
-f-bounds-check
+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-foundation/repos (2 files)

2019-12-23 Thread Felix Yan via arch-commits
Date: Monday, December 23, 2019 @ 19:00:38
  Author: felixonmars
Revision: 539480

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-foundation/repos/community-staging-x86_64/
  haskell-foundation/repos/community-staging-x86_64/PKGBUILD
(from rev 539479, haskell-foundation/trunk/PKGBUILD)

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

Copied: haskell-foundation/repos/community-staging-x86_64/PKGBUILD (from rev 
539479, haskell-foundation/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-12-23 19:00:38 UTC (rev 539480)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=foundation
+pkgname=haskell-foundation
+pkgver=0.0.25
+pkgrel=2
+pkgdesc="Alternative prelude with batteries and no dependencies"
+url="https://github.com/haskell-foundation/foundation";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-basement')
+makedepends=('ghc' 'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('7335795a1cdf2975d6e9471c5b469d99cc6d224d2da66838d830593a5abda73675920acb2dc823a6b92f2141dc2364c8fd5ad53d7e8aecd8df00e6998683be60')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-experimental -f-minimal-deps -f-doctest -flinktest 
-f-bounds-check
+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-foundation/repos (2 files)

2019-09-12 Thread Felix Yan via arch-commits
Date: Thursday, September 12, 2019 @ 08:51:16
  Author: felixonmars
Revision: 509344

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-foundation/repos/community-staging-x86_64/
  haskell-foundation/repos/community-staging-x86_64/PKGBUILD
(from rev 509343, haskell-foundation/trunk/PKGBUILD)

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

Copied: haskell-foundation/repos/community-staging-x86_64/PKGBUILD (from rev 
509343, haskell-foundation/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-09-12 08:51:16 UTC (rev 509344)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=foundation
+pkgname=haskell-foundation
+pkgver=0.0.25
+pkgrel=1
+pkgdesc="Alternative prelude with batteries and no dependencies"
+url="https://github.com/haskell-foundation/foundation";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-basement')
+makedepends=('ghc' 'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('7335795a1cdf2975d6e9471c5b469d99cc6d224d2da66838d830593a5abda73675920acb2dc823a6b92f2141dc2364c8fd5ad53d7e8aecd8df00e6998683be60')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-experimental -f-minimal-deps -f-doctest -flinktest 
-f-bounds-check
+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-foundation/repos (2 files)

2019-09-02 Thread Felix Yan via arch-commits
Date: Monday, September 2, 2019 @ 08:38:33
  Author: felixonmars
Revision: 506864

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-foundation/repos/community-staging-x86_64/
  haskell-foundation/repos/community-staging-x86_64/PKGBUILD
(from rev 506863, haskell-foundation/trunk/PKGBUILD)

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

Copied: haskell-foundation/repos/community-staging-x86_64/PKGBUILD (from rev 
506863, haskell-foundation/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-09-02 08:38:33 UTC (rev 506864)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=foundation
+pkgname=haskell-foundation
+pkgver=0.0.24
+pkgrel=7
+pkgdesc="Alternative prelude with batteries and no dependencies"
+url="https://github.com/haskell-foundation/foundation";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-basement')
+makedepends=('ghc' 'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('9973e77ee9a5827c2ef3efaee3180fac57d4c3754b9f9978cf6b7416cce8f9b8b006bd9dc665934ba0cb89bf7e9149861d9a61c0126eb71eb3533caea3839db6')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-experimental -f-minimal-deps -f-doctest -flinktest 
-f-bounds-check
+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-foundation/repos (2 files)

2019-08-26 Thread Felix Yan via arch-commits
Date: Tuesday, August 27, 2019 @ 05:07:09
  Author: felixonmars
Revision: 502367

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-foundation/repos/community-staging-x86_64/
  haskell-foundation/repos/community-staging-x86_64/PKGBUILD
(from rev 502366, haskell-foundation/trunk/PKGBUILD)

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

Copied: haskell-foundation/repos/community-staging-x86_64/PKGBUILD (from rev 
502366, haskell-foundation/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-08-27 05:07:09 UTC (rev 502367)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=foundation
+pkgname=haskell-foundation
+pkgver=0.0.24
+pkgrel=6
+pkgdesc="Alternative prelude with batteries and no dependencies"
+url="https://github.com/haskell-foundation/foundation";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-basement')
+makedepends=('ghc' 'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('9973e77ee9a5827c2ef3efaee3180fac57d4c3754b9f9978cf6b7416cce8f9b8b006bd9dc665934ba0cb89bf7e9149861d9a61c0126eb71eb3533caea3839db6')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-experimental -f-minimal-deps -f-doctest -flinktest 
-f-bounds-check
+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-foundation/repos (2 files)

2019-08-22 Thread Felix Yan via arch-commits
Date: Thursday, August 22, 2019 @ 16:44:25
  Author: felixonmars
Revision: 500541

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-foundation/repos/community-staging-x86_64/
  haskell-foundation/repos/community-staging-x86_64/PKGBUILD
(from rev 500540, haskell-foundation/trunk/PKGBUILD)

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

Copied: haskell-foundation/repos/community-staging-x86_64/PKGBUILD (from rev 
500540, haskell-foundation/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-08-22 16:44:25 UTC (rev 500541)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=foundation
+pkgname=haskell-foundation
+pkgver=0.0.24
+pkgrel=5
+pkgdesc="Alternative prelude with batteries and no dependencies"
+url="https://github.com/haskell-foundation/foundation";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-basement')
+makedepends=('ghc' 'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('9973e77ee9a5827c2ef3efaee3180fac57d4c3754b9f9978cf6b7416cce8f9b8b006bd9dc665934ba0cb89bf7e9149861d9a61c0126eb71eb3533caea3839db6')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-experimental -f-minimal-deps -f-doctest -flinktest 
-f-bounds-check
+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-foundation/repos (2 files)

2019-07-31 Thread Felix Yan via arch-commits
Date: Thursday, August 1, 2019 @ 04:54:21
  Author: felixonmars
Revision: 496034

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-foundation/repos/community-staging-x86_64/
  haskell-foundation/repos/community-staging-x86_64/PKGBUILD
(from rev 496033, haskell-foundation/trunk/PKGBUILD)

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

Copied: haskell-foundation/repos/community-staging-x86_64/PKGBUILD (from rev 
496033, haskell-foundation/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-08-01 04:54:21 UTC (rev 496034)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=foundation
+pkgname=haskell-foundation
+pkgver=0.0.24
+pkgrel=4
+pkgdesc="Alternative prelude with batteries and no dependencies"
+url="https://github.com/haskell-foundation/foundation";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-basement')
+makedepends=('ghc' 'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('9973e77ee9a5827c2ef3efaee3180fac57d4c3754b9f9978cf6b7416cce8f9b8b006bd9dc665934ba0cb89bf7e9149861d9a61c0126eb71eb3533caea3839db6')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-experimental -f-minimal-deps -f-doctest -flinktest 
-f-bounds-check
+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-foundation/repos (2 files)

2019-07-27 Thread Felix Yan via arch-commits
Date: Sunday, July 28, 2019 @ 03:03:39
  Author: felixonmars
Revision: 493453

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-foundation/repos/community-staging-x86_64/
  haskell-foundation/repos/community-staging-x86_64/PKGBUILD
(from rev 493452, haskell-foundation/trunk/PKGBUILD)

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

Copied: haskell-foundation/repos/community-staging-x86_64/PKGBUILD (from rev 
493452, haskell-foundation/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-07-28 03:03:39 UTC (rev 493453)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=foundation
+pkgname=haskell-foundation
+pkgver=0.0.24
+pkgrel=3
+pkgdesc="Alternative prelude with batteries and no dependencies"
+url="https://github.com/haskell-foundation/foundation";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-basement')
+makedepends=('ghc' 'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('9973e77ee9a5827c2ef3efaee3180fac57d4c3754b9f9978cf6b7416cce8f9b8b006bd9dc665934ba0cb89bf7e9149861d9a61c0126eb71eb3533caea3839db6')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-experimental -f-minimal-deps -f-doctest -flinktest 
-f-bounds-check
+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-foundation/repos (2 files)

2019-07-17 Thread Felix Yan via arch-commits
Date: Wednesday, July 17, 2019 @ 19:58:23
  Author: felixonmars
Revision: 490596

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-foundation/repos/community-staging-x86_64/
  haskell-foundation/repos/community-staging-x86_64/PKGBUILD
(from rev 490595, haskell-foundation/trunk/PKGBUILD)

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

Copied: haskell-foundation/repos/community-staging-x86_64/PKGBUILD (from rev 
490595, haskell-foundation/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-07-17 19:58:23 UTC (rev 490596)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=foundation
+pkgname=haskell-foundation
+pkgver=0.0.24
+pkgrel=2
+pkgdesc="Alternative prelude with batteries and no dependencies"
+url="https://github.com/haskell-foundation/foundation";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-basement')
+makedepends=('ghc' 'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('9973e77ee9a5827c2ef3efaee3180fac57d4c3754b9f9978cf6b7416cce8f9b8b006bd9dc665934ba0cb89bf7e9149861d9a61c0126eb71eb3533caea3839db6')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-experimental -f-minimal-deps -f-doctest -flinktest 
-f-bounds-check
+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-foundation/repos (2 files)

2019-07-14 Thread Felix Yan via arch-commits
Date: Monday, July 15, 2019 @ 01:45:36
  Author: felixonmars
Revision: 489582

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-foundation/repos/community-staging-x86_64/
  haskell-foundation/repos/community-staging-x86_64/PKGBUILD
(from rev 489581, haskell-foundation/trunk/PKGBUILD)

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

Copied: haskell-foundation/repos/community-staging-x86_64/PKGBUILD (from rev 
489581, haskell-foundation/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-07-15 01:45:36 UTC (rev 489582)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=foundation
+pkgname=haskell-foundation
+pkgver=0.0.24
+pkgrel=1
+pkgdesc="Alternative prelude with batteries and no dependencies"
+url="https://github.com/haskell-foundation/foundation";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-basement')
+makedepends=('ghc' 'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('9973e77ee9a5827c2ef3efaee3180fac57d4c3754b9f9978cf6b7416cce8f9b8b006bd9dc665934ba0cb89bf7e9149861d9a61c0126eb71eb3533caea3839db6')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-experimental -f-minimal-deps -f-doctest -flinktest 
-f-bounds-check
+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-foundation/repos (2 files)

2019-06-30 Thread Felix Yan via arch-commits
Date: Sunday, June 30, 2019 @ 19:38:05
  Author: felixonmars
Revision: 486641

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-foundation/repos/community-staging-x86_64/
  haskell-foundation/repos/community-staging-x86_64/PKGBUILD
(from rev 486640, haskell-foundation/trunk/PKGBUILD)

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

Copied: haskell-foundation/repos/community-staging-x86_64/PKGBUILD (from rev 
486640, haskell-foundation/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-06-30 19:38:05 UTC (rev 486641)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=foundation
+pkgname=haskell-foundation
+pkgver=0.0.23
+pkgrel=16
+pkgdesc="Alternative prelude with batteries and no dependencies"
+url="https://github.com/haskell-foundation/foundation";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-basement')
+makedepends=('ghc' 'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('3b7c1e7e3de8d8eace9b6d0cb2fd768068cb6463606abf1acfaa496fb0ec32fdf29add49faf2b20efb3873a5752a042a7591e3d120f95a8e28876a2a28b85b97')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-experimental -f-minimal-deps -f-doctest -flinktest 
-f-bounds-check
+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-foundation/repos (2 files)

2019-06-27 Thread Felix Yan via arch-commits
Date: Thursday, June 27, 2019 @ 07:16:47
  Author: felixonmars
Revision: 484685

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-foundation/repos/community-staging-x86_64/
  haskell-foundation/repos/community-staging-x86_64/PKGBUILD
(from rev 484684, haskell-foundation/trunk/PKGBUILD)

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

Copied: haskell-foundation/repos/community-staging-x86_64/PKGBUILD (from rev 
484684, haskell-foundation/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-06-27 07:16:47 UTC (rev 484685)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=foundation
+pkgname=haskell-foundation
+pkgver=0.0.23
+pkgrel=15
+pkgdesc="Alternative prelude with batteries and no dependencies"
+url="https://github.com/haskell-foundation/foundation";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-basement')
+makedepends=('ghc' 'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('3b7c1e7e3de8d8eace9b6d0cb2fd768068cb6463606abf1acfaa496fb0ec32fdf29add49faf2b20efb3873a5752a042a7591e3d120f95a8e28876a2a28b85b97')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-experimental -f-minimal-deps -f-doctest -flinktest 
-f-bounds-check
+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-foundation/repos (2 files)

2019-06-09 Thread Felix Yan via arch-commits
Date: Sunday, June 9, 2019 @ 11:24:23
  Author: felixonmars
Revision: 478762

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-foundation/repos/community-staging-x86_64/
  haskell-foundation/repos/community-staging-x86_64/PKGBUILD
(from rev 478761, haskell-foundation/trunk/PKGBUILD)

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

Copied: haskell-foundation/repos/community-staging-x86_64/PKGBUILD (from rev 
478761, haskell-foundation/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-06-09 11:24:23 UTC (rev 478762)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=foundation
+pkgname=haskell-foundation
+pkgver=0.0.23
+pkgrel=14
+pkgdesc="Alternative prelude with batteries and no dependencies"
+url="https://github.com/haskell-foundation/foundation";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-basement')
+makedepends=('ghc' 'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('3b7c1e7e3de8d8eace9b6d0cb2fd768068cb6463606abf1acfaa496fb0ec32fdf29add49faf2b20efb3873a5752a042a7591e3d120f95a8e28876a2a28b85b97')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-experimental -f-minimal-deps -f-doctest -flinktest 
-f-bounds-check
+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-foundation/repos (2 files)

2019-05-30 Thread Felix Yan via arch-commits
Date: Thursday, May 30, 2019 @ 17:26:59
  Author: felixonmars
Revision: 474912

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-foundation/repos/community-staging-x86_64/
  haskell-foundation/repos/community-staging-x86_64/PKGBUILD
(from rev 474911, haskell-foundation/trunk/PKGBUILD)

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

Copied: haskell-foundation/repos/community-staging-x86_64/PKGBUILD (from rev 
474911, haskell-foundation/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-05-30 17:26:59 UTC (rev 474912)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=foundation
+pkgname=haskell-foundation
+pkgver=0.0.23
+pkgrel=13
+pkgdesc="Alternative prelude with batteries and no dependencies"
+url="https://github.com/haskell-foundation/foundation";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-basement')
+makedepends=('ghc' 'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('3b7c1e7e3de8d8eace9b6d0cb2fd768068cb6463606abf1acfaa496fb0ec32fdf29add49faf2b20efb3873a5752a042a7591e3d120f95a8e28876a2a28b85b97')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-experimental -f-minimal-deps -f-doctest -flinktest 
-f-bounds-check
+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-foundation/repos (2 files)

2019-05-28 Thread Felix Yan via arch-commits
Date: Wednesday, May 29, 2019 @ 01:11:27
  Author: felixonmars
Revision: 473466

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-foundation/repos/community-staging-x86_64/
  haskell-foundation/repos/community-staging-x86_64/PKGBUILD
(from rev 473465, haskell-foundation/trunk/PKGBUILD)

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

Copied: haskell-foundation/repos/community-staging-x86_64/PKGBUILD (from rev 
473465, haskell-foundation/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-05-29 01:11:27 UTC (rev 473466)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=foundation
+pkgname=haskell-foundation
+pkgver=0.0.23
+pkgrel=12
+pkgdesc="Alternative prelude with batteries and no dependencies"
+url="https://github.com/haskell-foundation/foundation";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-basement')
+makedepends=('ghc' 'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('3b7c1e7e3de8d8eace9b6d0cb2fd768068cb6463606abf1acfaa496fb0ec32fdf29add49faf2b20efb3873a5752a042a7591e3d120f95a8e28876a2a28b85b97')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-experimental -f-minimal-deps -f-doctest -flinktest 
-f-bounds-check
+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-foundation/repos (2 files)

2019-05-27 Thread Felix Yan via arch-commits
Date: Monday, May 27, 2019 @ 18:14:11
  Author: felixonmars
Revision: 471787

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-foundation/repos/community-staging-x86_64/
  haskell-foundation/repos/community-staging-x86_64/PKGBUILD
(from rev 471786, haskell-foundation/trunk/PKGBUILD)

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

Copied: haskell-foundation/repos/community-staging-x86_64/PKGBUILD (from rev 
471786, haskell-foundation/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-05-27 18:14:11 UTC (rev 471787)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=foundation
+pkgname=haskell-foundation
+pkgver=0.0.23
+pkgrel=11
+pkgdesc="Alternative prelude with batteries and no dependencies"
+url="https://github.com/haskell-foundation/foundation";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-basement')
+makedepends=('ghc' 'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('3b7c1e7e3de8d8eace9b6d0cb2fd768068cb6463606abf1acfaa496fb0ec32fdf29add49faf2b20efb3873a5752a042a7591e3d120f95a8e28876a2a28b85b97')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-experimental -f-minimal-deps -f-doctest -flinktest 
-f-bounds-check
+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-foundation/repos (2 files)

2019-05-12 Thread Felix Yan via arch-commits
Date: Sunday, May 12, 2019 @ 11:17:01
  Author: felixonmars
Revision: 466209

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-foundation/repos/community-staging-x86_64/
  haskell-foundation/repos/community-staging-x86_64/PKGBUILD
(from rev 466208, haskell-foundation/trunk/PKGBUILD)

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

Copied: haskell-foundation/repos/community-staging-x86_64/PKGBUILD (from rev 
466208, haskell-foundation/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-05-12 11:17:01 UTC (rev 466209)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=foundation
+pkgname=haskell-foundation
+pkgver=0.0.23
+pkgrel=10
+pkgdesc="Alternative prelude with batteries and no dependencies"
+url="https://github.com/haskell-foundation/foundation";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-basement')
+makedepends=('ghc' 'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('3b7c1e7e3de8d8eace9b6d0cb2fd768068cb6463606abf1acfaa496fb0ec32fdf29add49faf2b20efb3873a5752a042a7591e3d120f95a8e28876a2a28b85b97')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-experimental -f-minimal-deps -f-doctest -flinktest 
-f-bounds-check
+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-foundation/repos (2 files)

2019-05-08 Thread Felix Yan via arch-commits
Date: Wednesday, May 8, 2019 @ 23:36:28
  Author: felixonmars
Revision: 463561

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-foundation/repos/community-staging-x86_64/
  haskell-foundation/repos/community-staging-x86_64/PKGBUILD
(from rev 463560, haskell-foundation/trunk/PKGBUILD)

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

Copied: haskell-foundation/repos/community-staging-x86_64/PKGBUILD (from rev 
463560, haskell-foundation/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-05-08 23:36:28 UTC (rev 463561)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=foundation
+pkgname=haskell-foundation
+pkgver=0.0.23
+pkgrel=9
+pkgdesc="Alternative prelude with batteries and no dependencies"
+url="https://github.com/haskell-foundation/foundation";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-basement')
+makedepends=('ghc' 'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('3b7c1e7e3de8d8eace9b6d0cb2fd768068cb6463606abf1acfaa496fb0ec32fdf29add49faf2b20efb3873a5752a042a7591e3d120f95a8e28876a2a28b85b97')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-experimental -f-minimal-deps -f-doctest -flinktest 
-f-bounds-check
+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-foundation/repos (2 files)

2019-05-06 Thread Felix Yan via arch-commits
Date: Monday, May 6, 2019 @ 14:48:04
  Author: felixonmars
Revision: 461007

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-foundation/repos/community-staging-x86_64/
  haskell-foundation/repos/community-staging-x86_64/PKGBUILD
(from rev 461006, haskell-foundation/trunk/PKGBUILD)

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

Copied: haskell-foundation/repos/community-staging-x86_64/PKGBUILD (from rev 
461006, haskell-foundation/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-05-06 14:48:04 UTC (rev 461007)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=foundation
+pkgname=haskell-foundation
+pkgver=0.0.23
+pkgrel=8
+pkgdesc="Alternative prelude with batteries and no dependencies"
+url="https://github.com/haskell-foundation/foundation";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-basement')
+makedepends=('ghc' 'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('3b7c1e7e3de8d8eace9b6d0cb2fd768068cb6463606abf1acfaa496fb0ec32fdf29add49faf2b20efb3873a5752a042a7591e3d120f95a8e28876a2a28b85b97')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-experimental -f-minimal-deps -f-doctest -flinktest 
-f-bounds-check
+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-foundation/repos (2 files)

2019-04-27 Thread Felix Yan via arch-commits
Date: Saturday, April 27, 2019 @ 18:44:35
  Author: felixonmars
Revision: 454797

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-foundation/repos/community-staging-x86_64/
  haskell-foundation/repos/community-staging-x86_64/PKGBUILD
(from rev 454796, haskell-foundation/trunk/PKGBUILD)

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

Copied: haskell-foundation/repos/community-staging-x86_64/PKGBUILD (from rev 
454796, haskell-foundation/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-04-27 18:44:35 UTC (rev 454797)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=foundation
+pkgname=haskell-foundation
+pkgver=0.0.23
+pkgrel=7
+pkgdesc="Alternative prelude with batteries and no dependencies"
+url="https://github.com/haskell-foundation/foundation";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-basement')
+makedepends=('ghc' 'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('3b7c1e7e3de8d8eace9b6d0cb2fd768068cb6463606abf1acfaa496fb0ec32fdf29add49faf2b20efb3873a5752a042a7591e3d120f95a8e28876a2a28b85b97')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-experimental -f-minimal-deps -f-doctest -flinktest 
-f-bounds-check
+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-foundation/repos (2 files)

2019-04-03 Thread Felix Yan via arch-commits
Date: Thursday, April 4, 2019 @ 03:14:36
  Author: felixonmars
Revision: 448763

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-foundation/repos/community-staging-x86_64/
  haskell-foundation/repos/community-staging-x86_64/PKGBUILD
(from rev 448762, haskell-foundation/trunk/PKGBUILD)

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

Copied: haskell-foundation/repos/community-staging-x86_64/PKGBUILD (from rev 
448762, haskell-foundation/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-04-04 03:14:36 UTC (rev 448763)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=foundation
+pkgname=haskell-foundation
+pkgver=0.0.23
+pkgrel=6
+pkgdesc="Alternative prelude with batteries and no dependencies"
+url="https://github.com/haskell-foundation/foundation";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-basement')
+makedepends=('ghc' 'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('3b7c1e7e3de8d8eace9b6d0cb2fd768068cb6463606abf1acfaa496fb0ec32fdf29add49faf2b20efb3873a5752a042a7591e3d120f95a8e28876a2a28b85b97')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-experimental -f-minimal-deps -f-doctest -flinktest 
-f-bounds-check
+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-foundation/repos (2 files)

2019-04-01 Thread Felix Yan via arch-commits
Date: Tuesday, April 2, 2019 @ 01:00:14
  Author: felixonmars
Revision: 447339

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-foundation/repos/community-staging-x86_64/
  haskell-foundation/repos/community-staging-x86_64/PKGBUILD
(from rev 447338, haskell-foundation/trunk/PKGBUILD)

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

Copied: haskell-foundation/repos/community-staging-x86_64/PKGBUILD (from rev 
447338, haskell-foundation/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-04-02 01:00:14 UTC (rev 447339)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=foundation
+pkgname=haskell-foundation
+pkgver=0.0.23
+pkgrel=5
+pkgdesc="Alternative prelude with batteries and no dependencies"
+url="https://github.com/haskell-foundation/foundation";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-basement')
+makedepends=('ghc' 'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('3b7c1e7e3de8d8eace9b6d0cb2fd768068cb6463606abf1acfaa496fb0ec32fdf29add49faf2b20efb3873a5752a042a7591e3d120f95a8e28876a2a28b85b97')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-experimental -f-minimal-deps -f-doctest -flinktest 
-f-bounds-check
+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-foundation/repos (2 files)

2019-03-26 Thread Felix Yan via arch-commits
Date: Tuesday, March 26, 2019 @ 23:53:16
  Author: felixonmars
Revision: 443919

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-foundation/repos/community-staging-x86_64/
  haskell-foundation/repos/community-staging-x86_64/PKGBUILD
(from rev 443918, haskell-foundation/trunk/PKGBUILD)

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

Copied: haskell-foundation/repos/community-staging-x86_64/PKGBUILD (from rev 
443918, haskell-foundation/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-03-26 23:53:16 UTC (rev 443919)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=foundation
+pkgname=haskell-foundation
+pkgver=0.0.23
+pkgrel=4
+pkgdesc="Alternative prelude with batteries and no dependencies"
+url="https://github.com/haskell-foundation/foundation";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-basement')
+makedepends=('ghc' 'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('3b7c1e7e3de8d8eace9b6d0cb2fd768068cb6463606abf1acfaa496fb0ec32fdf29add49faf2b20efb3873a5752a042a7591e3d120f95a8e28876a2a28b85b97')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-experimental -f-minimal-deps -f-doctest -flinktest 
-f-bounds-check
+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-foundation/repos (2 files)

2019-03-10 Thread Felix Yan via arch-commits
Date: Sunday, March 10, 2019 @ 12:33:02
  Author: felixonmars
Revision: 439283

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-foundation/repos/community-staging-x86_64/
  haskell-foundation/repos/community-staging-x86_64/PKGBUILD
(from rev 439282, haskell-foundation/trunk/PKGBUILD)

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

Copied: haskell-foundation/repos/community-staging-x86_64/PKGBUILD (from rev 
439282, haskell-foundation/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-03-10 12:33:02 UTC (rev 439283)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=foundation
+pkgname=haskell-foundation
+pkgver=0.0.23
+pkgrel=3
+pkgdesc="Alternative prelude with batteries and no dependencies"
+url="https://github.com/haskell-foundation/foundation";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-basement')
+makedepends=('ghc' 'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('3b7c1e7e3de8d8eace9b6d0cb2fd768068cb6463606abf1acfaa496fb0ec32fdf29add49faf2b20efb3873a5752a042a7591e3d120f95a8e28876a2a28b85b97')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-experimental -f-minimal-deps -f-doctest -flinktest 
-f-bounds-check
+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-foundation/repos (2 files)

2019-02-15 Thread Felix Yan via arch-commits
Date: Friday, February 15, 2019 @ 11:39:30
  Author: felixonmars
Revision: 432593

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-foundation/repos/community-staging-x86_64/
  haskell-foundation/repos/community-staging-x86_64/PKGBUILD
(from rev 432592, haskell-foundation/trunk/PKGBUILD)

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

Copied: haskell-foundation/repos/community-staging-x86_64/PKGBUILD (from rev 
432592, haskell-foundation/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-02-15 11:39:30 UTC (rev 432593)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=foundation
+pkgname=haskell-foundation
+pkgver=0.0.23
+pkgrel=2
+pkgdesc="Alternative prelude with batteries and no dependencies"
+url="https://github.com/haskell-foundation/foundation";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-basement')
+makedepends=('ghc' 'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('3b7c1e7e3de8d8eace9b6d0cb2fd768068cb6463606abf1acfaa496fb0ec32fdf29add49faf2b20efb3873a5752a042a7591e3d120f95a8e28876a2a28b85b97')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-experimental -f-minimal-deps -f-doctest -flinktest 
-f-bounds-check
+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-foundation/repos (2 files)

2019-02-07 Thread Felix Yan via arch-commits
Date: Thursday, February 7, 2019 @ 12:55:26
  Author: felixonmars
Revision: 429915

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-foundation/repos/community-staging-x86_64/
  haskell-foundation/repos/community-staging-x86_64/PKGBUILD
(from rev 429914, haskell-foundation/trunk/PKGBUILD)

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

Copied: haskell-foundation/repos/community-staging-x86_64/PKGBUILD (from rev 
429914, haskell-foundation/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-02-07 12:55:26 UTC (rev 429915)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=foundation
+pkgname=haskell-foundation
+pkgver=0.0.23
+pkgrel=1
+pkgdesc="Alternative prelude with batteries and no dependencies"
+url="https://github.com/haskell-foundation/foundation";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-basement')
+makedepends=('ghc' 'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('3b7c1e7e3de8d8eace9b6d0cb2fd768068cb6463606abf1acfaa496fb0ec32fdf29add49faf2b20efb3873a5752a042a7591e3d120f95a8e28876a2a28b85b97')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-experimental -f-minimal-deps -f-doctest -flinktest 
-f-bounds-check
+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-foundation/repos (2 files)

2019-01-21 Thread Felix Yan via arch-commits
Date: Monday, January 21, 2019 @ 08:19:49
  Author: felixonmars
Revision: 425811

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-foundation/repos/community-staging-x86_64/
  haskell-foundation/repos/community-staging-x86_64/PKGBUILD
(from rev 425810, haskell-foundation/trunk/PKGBUILD)

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

Copied: haskell-foundation/repos/community-staging-x86_64/PKGBUILD (from rev 
425810, haskell-foundation/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-01-21 08:19:49 UTC (rev 425811)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=foundation
+pkgname=haskell-foundation
+pkgver=0.0.21
+pkgrel=18
+pkgdesc="Alternative prelude with batteries and no dependencies"
+url="https://github.com/haskell-foundation/foundation";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-basement')
+makedepends=('ghc' 'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('bc7315151f1c36ec2ecaa9ea93572d80fbf5a18539e5f3fa416bdc0a8ac9bc52d29caaf23fbb09891dd3bb0925534bb748c5c54258351ae2befc80576d4265a6')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-experimental -f-minimal-deps -f-doctest -flinktest 
-f-bounds-check
+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-foundation/repos (2 files)

2018-12-10 Thread Felix Yan via arch-commits
Date: Monday, December 10, 2018 @ 11:30:49
  Author: felixonmars
Revision: 414056

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-foundation/repos/community-staging-x86_64/
  haskell-foundation/repos/community-staging-x86_64/PKGBUILD
(from rev 414055, haskell-foundation/trunk/PKGBUILD)

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

Copied: haskell-foundation/repos/community-staging-x86_64/PKGBUILD (from rev 
414055, haskell-foundation/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-12-10 11:30:49 UTC (rev 414056)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=foundation
+pkgname=haskell-foundation
+pkgver=0.0.21
+pkgrel=17
+pkgdesc="Alternative prelude with batteries and no dependencies"
+url="https://github.com/haskell-foundation/foundation";
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-basement')
+makedepends=('ghc' 'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('bc7315151f1c36ec2ecaa9ea93572d80fbf5a18539e5f3fa416bdc0a8ac9bc52d29caaf23fbb09891dd3bb0925534bb748c5c54258351ae2befc80576d4265a6')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-experimental -f-minimal-deps -f-doctest -flinktest 
-f-bounds-check
+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-foundation/repos (2 files)

2018-11-15 Thread Felix Yan via arch-commits
Date: Friday, November 16, 2018 @ 06:07:57
  Author: felixonmars
Revision: 407840

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-foundation/repos/community-staging-x86_64/
  haskell-foundation/repos/community-staging-x86_64/PKGBUILD
(from rev 407839, haskell-foundation/trunk/PKGBUILD)

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

Copied: haskell-foundation/repos/community-staging-x86_64/PKGBUILD (from rev 
407839, haskell-foundation/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-11-16 06:07:57 UTC (rev 407840)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=foundation
+pkgname=haskell-foundation
+pkgver=0.0.21
+pkgrel=16
+pkgdesc="Alternative prelude with batteries and no dependencies"
+url="https://github.com/haskell-foundation/foundation";
+license=('custom:BSD3')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-basement')
+makedepends=('ghc' 'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('bc7315151f1c36ec2ecaa9ea93572d80fbf5a18539e5f3fa416bdc0a8ac9bc52d29caaf23fbb09891dd3bb0925534bb748c5c54258351ae2befc80576d4265a6')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-experimental -f-minimal-deps -f-doctest -flinktest 
-f-bounds-check
+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-foundation/repos (2 files)

2018-11-07 Thread Felix Yan via arch-commits
Date: Wednesday, November 7, 2018 @ 11:23:43
  Author: felixonmars
Revision: 402741

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-foundation/repos/community-staging-x86_64/
  haskell-foundation/repos/community-staging-x86_64/PKGBUILD
(from rev 402740, haskell-foundation/trunk/PKGBUILD)

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

Copied: haskell-foundation/repos/community-staging-x86_64/PKGBUILD (from rev 
402740, haskell-foundation/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-11-07 11:23:43 UTC (rev 402741)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=foundation
+pkgname=haskell-foundation
+pkgver=0.0.21
+pkgrel=15
+pkgdesc="Alternative prelude with batteries and no dependencies"
+url="https://github.com/haskell-foundation/foundation";
+license=('custom:BSD3')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-basement')
+makedepends=('ghc' 'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('bc7315151f1c36ec2ecaa9ea93572d80fbf5a18539e5f3fa416bdc0a8ac9bc52d29caaf23fbb09891dd3bb0925534bb748c5c54258351ae2befc80576d4265a6')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-experimental -f-minimal-deps -f-doctest -flinktest 
-f-bounds-check
+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-foundation/repos (2 files)

2018-10-31 Thread Felix Yan via arch-commits
Date: Wednesday, October 31, 2018 @ 11:29:29
  Author: felixonmars
Revision: 400056

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-foundation/repos/community-staging-x86_64/
  haskell-foundation/repos/community-staging-x86_64/PKGBUILD
(from rev 400055, haskell-foundation/trunk/PKGBUILD)

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

Copied: haskell-foundation/repos/community-staging-x86_64/PKGBUILD (from rev 
400055, haskell-foundation/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-10-31 11:29:29 UTC (rev 400056)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=foundation
+pkgname=haskell-foundation
+pkgver=0.0.21
+pkgrel=14
+pkgdesc="Alternative prelude with batteries and no dependencies"
+url="https://github.com/haskell-foundation/foundation";
+license=('custom:BSD3')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-basement')
+makedepends=('ghc' 'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('bc7315151f1c36ec2ecaa9ea93572d80fbf5a18539e5f3fa416bdc0a8ac9bc52d29caaf23fbb09891dd3bb0925534bb748c5c54258351ae2befc80576d4265a6')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-experimental -f-minimal-deps -f-doctest -flinktest 
-f-bounds-check
+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-foundation/repos (2 files)

2018-10-18 Thread Felix Yan via arch-commits
Date: Friday, October 19, 2018 @ 05:28:44
  Author: felixonmars
Revision: 397166

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-foundation/repos/community-staging-x86_64/
  haskell-foundation/repos/community-staging-x86_64/PKGBUILD
(from rev 397165, haskell-foundation/trunk/PKGBUILD)

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

Copied: haskell-foundation/repos/community-staging-x86_64/PKGBUILD (from rev 
397165, haskell-foundation/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-10-19 05:28:44 UTC (rev 397166)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=foundation
+pkgname=haskell-foundation
+pkgver=0.0.21
+pkgrel=13
+pkgdesc="Alternative prelude with batteries and no dependencies"
+url="https://github.com/haskell-foundation/foundation";
+license=('custom:BSD3')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-basement')
+makedepends=('ghc' 'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('bc7315151f1c36ec2ecaa9ea93572d80fbf5a18539e5f3fa416bdc0a8ac9bc52d29caaf23fbb09891dd3bb0925534bb748c5c54258351ae2befc80576d4265a6')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-experimental -f-minimal-deps -f-doctest -flinktest 
-f-bounds-check
+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-foundation/repos (2 files)

2018-10-16 Thread Felix Yan via arch-commits
Date: Tuesday, October 16, 2018 @ 07:59:44
  Author: felixonmars
Revision: 394533

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-foundation/repos/community-staging-x86_64/
  haskell-foundation/repos/community-staging-x86_64/PKGBUILD
(from rev 394532, haskell-foundation/trunk/PKGBUILD)

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

Copied: haskell-foundation/repos/community-staging-x86_64/PKGBUILD (from rev 
394532, haskell-foundation/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-10-16 07:59:44 UTC (rev 394533)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=foundation
+pkgname=haskell-foundation
+pkgver=0.0.21
+pkgrel=12
+pkgdesc="Alternative prelude with batteries and no dependencies"
+url="https://github.com/haskell-foundation/foundation";
+license=('custom:BSD3')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-basement')
+makedepends=('ghc' 'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('bc7315151f1c36ec2ecaa9ea93572d80fbf5a18539e5f3fa416bdc0a8ac9bc52d29caaf23fbb09891dd3bb0925534bb748c5c54258351ae2befc80576d4265a6')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-experimental -f-minimal-deps -f-doctest -flinktest 
-f-bounds-check
+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-foundation/repos (2 files)

2018-10-11 Thread Felix Yan via arch-commits
Date: Thursday, October 11, 2018 @ 11:09:28
  Author: felixonmars
Revision: 392410

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-foundation/repos/community-staging-x86_64/
  haskell-foundation/repos/community-staging-x86_64/PKGBUILD
(from rev 392408, haskell-foundation/trunk/PKGBUILD)

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

Copied: haskell-foundation/repos/community-staging-x86_64/PKGBUILD (from rev 
392408, haskell-foundation/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-10-11 11:09:28 UTC (rev 392410)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=foundation
+pkgname=haskell-foundation
+pkgver=0.0.21
+pkgrel=11
+pkgdesc="Alternative prelude with batteries and no dependencies"
+url="https://github.com/haskell-foundation/foundation";
+license=('custom:BSD3')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-basement')
+makedepends=('ghc' 'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('bc7315151f1c36ec2ecaa9ea93572d80fbf5a18539e5f3fa416bdc0a8ac9bc52d29caaf23fbb09891dd3bb0925534bb748c5c54258351ae2befc80576d4265a6')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-experimental -f-minimal-deps -f-doctest -flinktest 
-f-bounds-check
+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-foundation/repos (2 files)

2018-10-05 Thread Felix Yan via arch-commits
Date: Friday, October 5, 2018 @ 12:32:46
  Author: felixonmars
Revision: 389989

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-foundation/repos/community-staging-x86_64/
  haskell-foundation/repos/community-staging-x86_64/PKGBUILD
(from rev 389988, haskell-foundation/trunk/PKGBUILD)

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

Copied: haskell-foundation/repos/community-staging-x86_64/PKGBUILD (from rev 
389988, haskell-foundation/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-10-05 12:32:46 UTC (rev 389989)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=foundation
+pkgname=haskell-foundation
+pkgver=0.0.21
+pkgrel=10
+pkgdesc="Alternative prelude with batteries and no dependencies"
+url="https://github.com/haskell-foundation/foundation";
+license=('custom:BSD3')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-basement')
+makedepends=('ghc' 'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('bc7315151f1c36ec2ecaa9ea93572d80fbf5a18539e5f3fa416bdc0a8ac9bc52d29caaf23fbb09891dd3bb0925534bb748c5c54258351ae2befc80576d4265a6')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-experimental -f-minimal-deps -f-doctest -flinktest 
-f-bounds-check
+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-foundation/repos (2 files)

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

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-foundation/repos/community-staging-x86_64/
  haskell-foundation/repos/community-staging-x86_64/PKGBUILD
(from rev 387751, haskell-foundation/trunk/PKGBUILD)

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

Copied: haskell-foundation/repos/community-staging-x86_64/PKGBUILD (from rev 
387751, haskell-foundation/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-09-29 15:08:17 UTC (rev 387752)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=foundation
+pkgname=haskell-foundation
+pkgver=0.0.21
+pkgrel=9
+pkgdesc="Alternative prelude with batteries and no dependencies"
+url="https://github.com/haskell-foundation/foundation";
+license=('custom:BSD3')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-basement')
+makedepends=('ghc' 'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('bc7315151f1c36ec2ecaa9ea93572d80fbf5a18539e5f3fa416bdc0a8ac9bc52d29caaf23fbb09891dd3bb0925534bb748c5c54258351ae2befc80576d4265a6')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-experimental -f-minimal-deps -f-doctest -flinktest 
-f-bounds-check
+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-foundation/repos (2 files)

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

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-foundation/repos/community-staging-x86_64/
  haskell-foundation/repos/community-staging-x86_64/PKGBUILD
(from rev 381353, haskell-foundation/trunk/PKGBUILD)

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

Copied: haskell-foundation/repos/community-staging-x86_64/PKGBUILD (from rev 
381353, haskell-foundation/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-09-15 08:17:22 UTC (rev 381354)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=foundation
+pkgname=haskell-foundation
+pkgver=0.0.21
+pkgrel=8
+pkgdesc="Alternative prelude with batteries and no dependencies"
+url="https://github.com/haskell-foundation/foundation";
+license=('custom:BSD3')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-basement')
+makedepends=('ghc' 'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('bc7315151f1c36ec2ecaa9ea93572d80fbf5a18539e5f3fa416bdc0a8ac9bc52d29caaf23fbb09891dd3bb0925534bb748c5c54258351ae2befc80576d4265a6')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-experimental -f-minimal-deps -f-doctest -flinktest 
-f-bounds-check
+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-foundation/repos (2 files)

2018-09-06 Thread Felix Yan via arch-commits
Date: Thursday, September 6, 2018 @ 09:14:37
  Author: felixonmars
Revision: 377450

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-foundation/repos/community-staging-x86_64/
  haskell-foundation/repos/community-staging-x86_64/PKGBUILD
(from rev 377449, haskell-foundation/trunk/PKGBUILD)

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

Copied: haskell-foundation/repos/community-staging-x86_64/PKGBUILD (from rev 
377449, haskell-foundation/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-09-06 09:14:37 UTC (rev 377450)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=foundation
+pkgname=haskell-foundation
+pkgver=0.0.21
+pkgrel=7
+pkgdesc="Alternative prelude with batteries and no dependencies"
+url="https://github.com/haskell-foundation/foundation";
+license=('custom:BSD3')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-basement')
+makedepends=('ghc' 'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('bc7315151f1c36ec2ecaa9ea93572d80fbf5a18539e5f3fa416bdc0a8ac9bc52d29caaf23fbb09891dd3bb0925534bb748c5c54258351ae2befc80576d4265a6')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-experimental -f-minimal-deps -f-doctest -flinktest 
-f-bounds-check
+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-foundation/repos (2 files)

2018-07-28 Thread Felix Yan via arch-commits
Date: Sunday, July 29, 2018 @ 04:45:18
  Author: felixonmars
Revision: 364076

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-foundation/repos/community-staging-x86_64/
  haskell-foundation/repos/community-staging-x86_64/PKGBUILD
(from rev 364075, haskell-foundation/trunk/PKGBUILD)

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

Copied: haskell-foundation/repos/community-staging-x86_64/PKGBUILD (from rev 
364075, haskell-foundation/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-07-29 04:45:18 UTC (rev 364076)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=foundation
+pkgname=haskell-foundation
+pkgver=0.0.21
+pkgrel=6
+pkgdesc="Alternative prelude with batteries and no dependencies"
+url="https://github.com/haskell-foundation/foundation";
+license=('custom:BSD3')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-basement')
+makedepends=('ghc' 'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('bc7315151f1c36ec2ecaa9ea93572d80fbf5a18539e5f3fa416bdc0a8ac9bc52d29caaf23fbb09891dd3bb0925534bb748c5c54258351ae2befc80576d4265a6')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-experimental -f-minimal-deps -f-doctest -flinktest 
-f-bounds-check
+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-foundation/repos (2 files)

2018-07-17 Thread Felix Yan via arch-commits
Date: Wednesday, July 18, 2018 @ 02:25:44
  Author: felixonmars
Revision: 361519

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-foundation/repos/community-staging-x86_64/
  haskell-foundation/repos/community-staging-x86_64/PKGBUILD
(from rev 361518, haskell-foundation/trunk/PKGBUILD)

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

Copied: haskell-foundation/repos/community-staging-x86_64/PKGBUILD (from rev 
361518, haskell-foundation/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-07-18 02:25:44 UTC (rev 361519)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Thomas Dziedzic 
+
+_hkgname=foundation
+pkgname=haskell-foundation
+pkgver=0.0.21
+pkgrel=5
+pkgdesc="Alternative prelude with batteries and no dependencies"
+url="https://github.com/haskell-foundation/foundation";
+license=('custom:BSD3')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-basement')
+makedepends=('ghc' 'haskell-doctest')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('bc7315151f1c36ec2ecaa9ea93572d80fbf5a18539e5f3fa416bdc0a8ac9bc52d29caaf23fbb09891dd3bb0925534bb748c5c54258351ae2befc80576d4265a6')
+
+prepare() {
+cd $_hkgname-$pkgver
+echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+-f-experimental -f-minimal-deps -f-doctest -flinktest 
-f-bounds-check
+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"
+}


  1   2   >