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

2022-09-05 Thread Felix Yan via arch-commits
Date: Monday, September 5, 2022 @ 22:08:07
  Author: felixonmars
Revision: 1293479

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-loop/repos/community-staging-x86_64/PKGBUILD (from rev 1293478, 
haskell-loop/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-09-05 22:08:07 UTC (rev 1293479)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=loop
+pkgname=haskell-loop
+pkgver=0.3.0
+pkgrel=205
+pkgdesc="Fast loops (for when GHC can't optimize forM_)"
+url="https://github.com/nh2/loop;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('c4f57547dc80a0afdb20f590564f36425b41263b420f64877b26650b8f15479c29c0d87a8bfeb751bf2abb85c019f3b3459ecda8b50ca35627e26599d284f8f8')
+
+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 --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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 --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+}



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

2022-08-29 Thread Felix Yan via arch-commits
Date: Monday, August 29, 2022 @ 21:05:19
  Author: felixonmars
Revision: 1286091

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-loop/repos/community-staging-x86_64/PKGBUILD (from rev 1286090, 
haskell-loop/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-29 21:05:19 UTC (rev 1286091)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=loop
+pkgname=haskell-loop
+pkgver=0.3.0
+pkgrel=204
+pkgdesc="Fast loops (for when GHC can't optimize forM_)"
+url="https://github.com/nh2/loop;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('c4f57547dc80a0afdb20f590564f36425b41263b420f64877b26650b8f15479c29c0d87a8bfeb751bf2abb85c019f3b3459ecda8b50ca35627e26599d284f8f8')
+
+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 --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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 --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+}



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

2022-08-26 Thread Felix Yan via arch-commits
Date: Friday, August 26, 2022 @ 13:04:09
  Author: felixonmars
Revision: 1282211

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-loop/repos/community-staging-x86_64/PKGBUILD (from rev 1282210, 
haskell-loop/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-26 13:04:09 UTC (rev 1282211)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=loop
+pkgname=haskell-loop
+pkgver=0.3.0
+pkgrel=203
+pkgdesc="Fast loops (for when GHC can't optimize forM_)"
+url="https://github.com/nh2/loop;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('c4f57547dc80a0afdb20f590564f36425b41263b420f64877b26650b8f15479c29c0d87a8bfeb751bf2abb85c019f3b3459ecda8b50ca35627e26599d284f8f8')
+
+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 --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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 --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+}



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

2022-08-24 Thread Felix Yan via arch-commits
Date: Wednesday, August 24, 2022 @ 20:46:52
  Author: felixonmars
Revision: 1277103

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-loop/repos/community-staging-x86_64/PKGBUILD (from rev 1277102, 
haskell-loop/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-24 20:46:52 UTC (rev 1277103)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=loop
+pkgname=haskell-loop
+pkgver=0.3.0
+pkgrel=202
+pkgdesc="Fast loops (for when GHC can't optimize forM_)"
+url="https://github.com/nh2/loop;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('c4f57547dc80a0afdb20f590564f36425b41263b420f64877b26650b8f15479c29c0d87a8bfeb751bf2abb85c019f3b3459ecda8b50ca35627e26599d284f8f8')
+
+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 --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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 --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+}



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

2022-08-18 Thread Felix Yan via arch-commits
Date: Thursday, August 18, 2022 @ 19:41:07
  Author: felixonmars
Revision: 1268555

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-loop/repos/community-staging-x86_64/PKGBUILD (from rev 1268554, 
haskell-loop/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-18 19:41:07 UTC (rev 1268555)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=loop
+pkgname=haskell-loop
+pkgver=0.3.0
+pkgrel=201
+pkgdesc="Fast loops (for when GHC can't optimize forM_)"
+url="https://github.com/nh2/loop;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('c4f57547dc80a0afdb20f590564f36425b41263b420f64877b26650b8f15479c29c0d87a8bfeb751bf2abb85c019f3b3459ecda8b50ca35627e26599d284f8f8')
+
+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 --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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 --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+}



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

2022-08-08 Thread Felix Yan via arch-commits
Date: Monday, August 8, 2022 @ 15:25:11
  Author: felixonmars
Revision: 1261081

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-loop/repos/community-staging-x86_64/PKGBUILD (from rev 1261080, 
haskell-loop/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-08 15:25:11 UTC (rev 1261081)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=loop
+pkgname=haskell-loop
+pkgver=0.3.0
+pkgrel=200
+pkgdesc="Fast loops (for when GHC can't optimize forM_)"
+url="https://github.com/nh2/loop;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('c4f57547dc80a0afdb20f590564f36425b41263b420f64877b26650b8f15479c29c0d87a8bfeb751bf2abb85c019f3b3459ecda8b50ca35627e26599d284f8f8')
+
+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 --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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 --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+}



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

2022-07-24 Thread Felix Yan via arch-commits
Date: Monday, July 25, 2022 @ 05:14:25
  Author: felixonmars
Revision: 1256355

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-loop/repos/community-staging-x86_64/PKGBUILD (from rev 1256354, 
haskell-loop/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-07-25 05:14:25 UTC (rev 1256355)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=loop
+pkgname=haskell-loop
+pkgver=0.3.0
+pkgrel=199
+pkgdesc="Fast loops (for when GHC can't optimize forM_)"
+url="https://github.com/nh2/loop;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('c4f57547dc80a0afdb20f590564f36425b41263b420f64877b26650b8f15479c29c0d87a8bfeb751bf2abb85c019f3b3459ecda8b50ca35627e26599d284f8f8')
+
+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 --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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 --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+}



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

2022-07-12 Thread Felix Yan via arch-commits
Date: Tuesday, July 12, 2022 @ 07:23:45
  Author: felixonmars
Revision: 1250357

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-loop/repos/community-staging-x86_64/PKGBUILD (from rev 1250356, 
haskell-loop/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-07-12 07:23:45 UTC (rev 1250357)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=loop
+pkgname=haskell-loop
+pkgver=0.3.0
+pkgrel=198
+pkgdesc="Fast loops (for when GHC can't optimize forM_)"
+url="https://github.com/nh2/loop;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('c4f57547dc80a0afdb20f590564f36425b41263b420f64877b26650b8f15479c29c0d87a8bfeb751bf2abb85c019f3b3459ecda8b50ca35627e26599d284f8f8')
+
+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 --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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 --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+}



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

2022-07-05 Thread Felix Yan via arch-commits
Date: Tuesday, July 5, 2022 @ 13:50:49
  Author: felixonmars
Revision: 1244616

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-loop/repos/community-staging-x86_64/PKGBUILD (from rev 1244615, 
haskell-loop/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-07-05 13:50:49 UTC (rev 1244616)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=loop
+pkgname=haskell-loop
+pkgver=0.3.0
+pkgrel=197
+pkgdesc="Fast loops (for when GHC can't optimize forM_)"
+url="https://github.com/nh2/loop;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('c4f57547dc80a0afdb20f590564f36425b41263b420f64877b26650b8f15479c29c0d87a8bfeb751bf2abb85c019f3b3459ecda8b50ca35627e26599d284f8f8')
+
+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 --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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 --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+}



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

2022-06-29 Thread Felix Yan via arch-commits
Date: Wednesday, June 29, 2022 @ 15:33:22
  Author: felixonmars
Revision: 1240856

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-loop/repos/community-staging-x86_64/PKGBUILD (from rev 1240855, 
haskell-loop/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-29 15:33:22 UTC (rev 1240856)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=loop
+pkgname=haskell-loop
+pkgver=0.3.0
+pkgrel=196
+pkgdesc="Fast loops (for when GHC can't optimize forM_)"
+url="https://github.com/nh2/loop;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('c4f57547dc80a0afdb20f590564f36425b41263b420f64877b26650b8f15479c29c0d87a8bfeb751bf2abb85c019f3b3459ecda8b50ca35627e26599d284f8f8')
+
+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 --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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 --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+}



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

2022-06-11 Thread Felix Yan via arch-commits
Date: Saturday, June 11, 2022 @ 20:44:10
  Author: felixonmars
Revision: 1234879

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-loop/repos/community-staging-x86_64/PKGBUILD (from rev 1234878, 
haskell-loop/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-11 20:44:10 UTC (rev 1234879)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=loop
+pkgname=haskell-loop
+pkgver=0.3.0
+pkgrel=195
+pkgdesc="Fast loops (for when GHC can't optimize forM_)"
+url="https://github.com/nh2/loop;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('c4f57547dc80a0afdb20f590564f36425b41263b420f64877b26650b8f15479c29c0d87a8bfeb751bf2abb85c019f3b3459ecda8b50ca35627e26599d284f8f8')
+
+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 --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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 --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+}



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

2022-06-10 Thread Felix Yan via arch-commits
Date: Friday, June 10, 2022 @ 17:05:51
  Author: felixonmars
Revision: 1230794

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-loop/repos/community-staging-x86_64/PKGBUILD (from rev 1230793, 
haskell-loop/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-10 17:05:51 UTC (rev 1230794)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=loop
+pkgname=haskell-loop
+pkgver=0.3.0
+pkgrel=194
+pkgdesc="Fast loops (for when GHC can't optimize forM_)"
+url="https://github.com/nh2/loop;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('c4f57547dc80a0afdb20f590564f36425b41263b420f64877b26650b8f15479c29c0d87a8bfeb751bf2abb85c019f3b3459ecda8b50ca35627e26599d284f8f8')
+
+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 --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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 --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+}



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

2022-06-05 Thread Felix Yan via arch-commits
Date: Sunday, June 5, 2022 @ 16:59:14
  Author: felixonmars
Revision: 1223277

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-loop/repos/community-staging-x86_64/PKGBUILD (from rev 1223276, 
haskell-loop/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-05 16:59:14 UTC (rev 1223277)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=loop
+pkgname=haskell-loop
+pkgver=0.3.0
+pkgrel=193
+pkgdesc="Fast loops (for when GHC can't optimize forM_)"
+url="https://github.com/nh2/loop;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('c4f57547dc80a0afdb20f590564f36425b41263b420f64877b26650b8f15479c29c0d87a8bfeb751bf2abb85c019f3b3459ecda8b50ca35627e26599d284f8f8')
+
+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 --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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 --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+}



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

2022-06-03 Thread Felix Yan via arch-commits
Date: Friday, June 3, 2022 @ 08:16:31
  Author: felixonmars
Revision: 1219396

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-loop/repos/community-staging-x86_64/PKGBUILD (from rev 1219395, 
haskell-loop/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-03 08:16:31 UTC (rev 1219396)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=loop
+pkgname=haskell-loop
+pkgver=0.3.0
+pkgrel=192
+pkgdesc="Fast loops (for when GHC can't optimize forM_)"
+url="https://github.com/nh2/loop;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('c4f57547dc80a0afdb20f590564f36425b41263b420f64877b26650b8f15479c29c0d87a8bfeb751bf2abb85c019f3b3459ecda8b50ca35627e26599d284f8f8')
+
+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 --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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 --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+}



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

2022-05-30 Thread Felix Yan via arch-commits
Date: Monday, May 30, 2022 @ 09:00:51
  Author: felixonmars
Revision: 1215178

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-loop/repos/community-staging-x86_64/PKGBUILD (from rev 1215177, 
haskell-loop/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-30 09:00:51 UTC (rev 1215178)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=loop
+pkgname=haskell-loop
+pkgver=0.3.0
+pkgrel=191
+pkgdesc="Fast loops (for when GHC can't optimize forM_)"
+url="https://github.com/nh2/loop;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('c4f57547dc80a0afdb20f590564f36425b41263b420f64877b26650b8f15479c29c0d87a8bfeb751bf2abb85c019f3b3459ecda8b50ca35627e26599d284f8f8')
+
+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 --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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 --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+}



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

2022-05-28 Thread Felix Yan via arch-commits
Date: Saturday, May 28, 2022 @ 14:18:35
  Author: felixonmars
Revision: 1211558

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-loop/repos/community-staging-x86_64/PKGBUILD (from rev 1211557, 
haskell-loop/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-28 14:18:35 UTC (rev 1211558)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=loop
+pkgname=haskell-loop
+pkgver=0.3.0
+pkgrel=190
+pkgdesc="Fast loops (for when GHC can't optimize forM_)"
+url="https://github.com/nh2/loop;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('c4f57547dc80a0afdb20f590564f36425b41263b420f64877b26650b8f15479c29c0d87a8bfeb751bf2abb85c019f3b3459ecda8b50ca35627e26599d284f8f8')
+
+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 --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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 --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+}



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

2022-05-14 Thread Felix Yan via arch-commits
Date: Saturday, May 14, 2022 @ 12:17:54
  Author: felixonmars
Revision: 1204117

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-loop/repos/community-staging-x86_64/PKGBUILD (from rev 1204116, 
haskell-loop/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-14 12:17:54 UTC (rev 1204117)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=loop
+pkgname=haskell-loop
+pkgver=0.3.0
+pkgrel=189
+pkgdesc="Fast loops (for when GHC can't optimize forM_)"
+url="https://github.com/nh2/loop;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('c4f57547dc80a0afdb20f590564f36425b41263b420f64877b26650b8f15479c29c0d87a8bfeb751bf2abb85c019f3b3459ecda8b50ca35627e26599d284f8f8')
+
+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 --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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 --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+}



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

2022-05-13 Thread Felix Yan via arch-commits
Date: Friday, May 13, 2022 @ 07:24:04
  Author: felixonmars
Revision: 1200616

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-loop/repos/community-staging-x86_64/PKGBUILD (from rev 1200615, 
haskell-loop/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-13 07:24:04 UTC (rev 1200616)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=loop
+pkgname=haskell-loop
+pkgver=0.3.0
+pkgrel=188
+pkgdesc="Fast loops (for when GHC can't optimize forM_)"
+url="https://github.com/nh2/loop;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('c4f57547dc80a0afdb20f590564f36425b41263b420f64877b26650b8f15479c29c0d87a8bfeb751bf2abb85c019f3b3459ecda8b50ca35627e26599d284f8f8')
+
+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 --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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 --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+}



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

2022-05-04 Thread Felix Yan via arch-commits
Date: Wednesday, May 4, 2022 @ 10:26:08
  Author: felixonmars
Revision: 1193128

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-loop/repos/community-staging-x86_64/PKGBUILD (from rev 1193127, 
haskell-loop/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-04 10:26:08 UTC (rev 1193128)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=loop
+pkgname=haskell-loop
+pkgver=0.3.0
+pkgrel=187
+pkgdesc="Fast loops (for when GHC can't optimize forM_)"
+url="https://github.com/nh2/loop;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('c4f57547dc80a0afdb20f590564f36425b41263b420f64877b26650b8f15479c29c0d87a8bfeb751bf2abb85c019f3b3459ecda8b50ca35627e26599d284f8f8')
+
+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 --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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 --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+}



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

2022-04-23 Thread Felix Yan via arch-commits
Date: Saturday, April 23, 2022 @ 19:51:08
  Author: felixonmars
Revision: 1188086

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-loop/repos/community-staging-x86_64/PKGBUILD (from rev 1188085, 
haskell-loop/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-04-23 19:51:08 UTC (rev 1188086)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=loop
+pkgname=haskell-loop
+pkgver=0.3.0
+pkgrel=186
+pkgdesc="Fast loops (for when GHC can't optimize forM_)"
+url="https://github.com/nh2/loop;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('c4f57547dc80a0afdb20f590564f36425b41263b420f64877b26650b8f15479c29c0d87a8bfeb751bf2abb85c019f3b3459ecda8b50ca35627e26599d284f8f8')
+
+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 --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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 --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+}



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

2022-04-09 Thread Felix Yan via arch-commits
Date: Saturday, April 9, 2022 @ 23:33:38
  Author: felixonmars
Revision: 1183520

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-loop/repos/community-staging-x86_64/PKGBUILD (from rev 1183519, 
haskell-loop/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-04-09 23:33:38 UTC (rev 1183520)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=loop
+pkgname=haskell-loop
+pkgver=0.3.0
+pkgrel=185
+pkgdesc="Fast loops (for when GHC can't optimize forM_)"
+url="https://github.com/nh2/loop;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('c4f57547dc80a0afdb20f590564f36425b41263b420f64877b26650b8f15479c29c0d87a8bfeb751bf2abb85c019f3b3459ecda8b50ca35627e26599d284f8f8')
+
+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 --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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 --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+}



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

2022-03-31 Thread Felix Yan via arch-commits
Date: Friday, April 1, 2022 @ 03:38:59
  Author: felixonmars
Revision: 1178508

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-loop/repos/community-staging-x86_64/PKGBUILD (from rev 1178507, 
haskell-loop/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-04-01 03:38:59 UTC (rev 1178508)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=loop
+pkgname=haskell-loop
+pkgver=0.3.0
+pkgrel=184
+pkgdesc="Fast loops (for when GHC can't optimize forM_)"
+url="https://github.com/nh2/loop;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('c4f57547dc80a0afdb20f590564f36425b41263b420f64877b26650b8f15479c29c0d87a8bfeb751bf2abb85c019f3b3459ecda8b50ca35627e26599d284f8f8')
+
+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 --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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 --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+}



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

2022-03-23 Thread Felix Yan via arch-commits
Date: Wednesday, March 23, 2022 @ 23:45:36
  Author: felixonmars
Revision: 1172456

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-loop/repos/community-staging-x86_64/PKGBUILD (from rev 1172455, 
haskell-loop/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-23 23:45:36 UTC (rev 1172456)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=loop
+pkgname=haskell-loop
+pkgver=0.3.0
+pkgrel=183
+pkgdesc="Fast loops (for when GHC can't optimize forM_)"
+url="https://github.com/nh2/loop;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('c4f57547dc80a0afdb20f590564f36425b41263b420f64877b26650b8f15479c29c0d87a8bfeb751bf2abb85c019f3b3459ecda8b50ca35627e26599d284f8f8')
+
+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 --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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 --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+}



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

2022-03-21 Thread Felix Yan via arch-commits
Date: Monday, March 21, 2022 @ 16:50:38
  Author: felixonmars
Revision: 1167230

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-loop/repos/community-staging-x86_64/PKGBUILD (from rev 1167229, 
haskell-loop/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-21 16:50:38 UTC (rev 1167230)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=loop
+pkgname=haskell-loop
+pkgver=0.3.0
+pkgrel=182
+pkgdesc="Fast loops (for when GHC can't optimize forM_)"
+url="https://github.com/nh2/loop;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('c4f57547dc80a0afdb20f590564f36425b41263b420f64877b26650b8f15479c29c0d87a8bfeb751bf2abb85c019f3b3459ecda8b50ca35627e26599d284f8f8')
+
+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 --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm
+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 --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+}



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

2022-03-20 Thread Felix Yan via arch-commits
Date: Sunday, March 20, 2022 @ 16:55:13
  Author: felixonmars
Revision: 1164085

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-loop/repos/community-staging-x86_64/PKGBUILD (from rev 1164084, 
haskell-loop/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-20 16:55:13 UTC (rev 1164085)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=loop
+pkgname=haskell-loop
+pkgver=0.3.0
+pkgrel=181
+pkgdesc="Fast loops (for when GHC can't optimize forM_)"
+url="https://github.com/nh2/loop;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('c4f57547dc80a0afdb20f590564f36425b41263b420f64877b26650b8f15479c29c0d87a8bfeb751bf2abb85c019f3b3459ecda8b50ca35627e26599d284f8f8')
+
+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 
--ghc-option=-fllvm
+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 --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+}



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

2022-03-19 Thread Felix Yan via arch-commits
Date: Saturday, March 19, 2022 @ 14:15:24
  Author: felixonmars
Revision: 1160934

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-loop/repos/community-staging-x86_64/PKGBUILD (from rev 1160933, 
haskell-loop/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-19 14:15:24 UTC (rev 1160934)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=loop
+pkgname=haskell-loop
+pkgver=0.3.0
+pkgrel=180
+pkgdesc="Fast loops (for when GHC can't optimize forM_)"
+url="https://github.com/nh2/loop;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('c4f57547dc80a0afdb20f590564f36425b41263b420f64877b26650b8f15479c29c0d87a8bfeb751bf2abb85c019f3b3459ecda8b50ca35627e26599d284f8f8')
+
+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 
--ghc-option=-fllvm
+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 --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+}



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

2022-03-17 Thread Felix Yan via arch-commits
Date: Friday, March 18, 2022 @ 01:44:06
  Author: felixonmars
Revision: 1157866

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-loop/repos/community-staging-x86_64/PKGBUILD (from rev 1157865, 
haskell-loop/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-18 01:44:06 UTC (rev 1157866)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=loop
+pkgname=haskell-loop
+pkgver=0.3.0
+pkgrel=179
+pkgdesc="Fast loops (for when GHC can't optimize forM_)"
+url="https://github.com/nh2/loop;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('c4f57547dc80a0afdb20f590564f36425b41263b420f64877b26650b8f15479c29c0d87a8bfeb751bf2abb85c019f3b3459ecda8b50ca35627e26599d284f8f8')
+
+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 
--ghc-option=-fllvm
+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 --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+}



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

2022-03-13 Thread Felix Yan via arch-commits
Date: Sunday, March 13, 2022 @ 23:10:04
  Author: felixonmars
Revision: 1151739

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-loop/repos/community-staging-x86_64/PKGBUILD (from rev 1151738, 
haskell-loop/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-13 23:10:04 UTC (rev 1151739)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=loop
+pkgname=haskell-loop
+pkgver=0.3.0
+pkgrel=178
+pkgdesc="Fast loops (for when GHC can't optimize forM_)"
+url="https://github.com/nh2/loop;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('c4f57547dc80a0afdb20f590564f36425b41263b420f64877b26650b8f15479c29c0d87a8bfeb751bf2abb85c019f3b3459ecda8b50ca35627e26599d284f8f8')
+
+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 
--ghc-option=-fllvm
+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 --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+}



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

2022-03-10 Thread Felix Yan via arch-commits
Date: Friday, March 11, 2022 @ 04:21:59
  Author: felixonmars
Revision: 1147486

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-loop/repos/community-staging-x86_64/PKGBUILD (from rev 1147485, 
haskell-loop/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-11 04:21:59 UTC (rev 1147486)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=loop
+pkgname=haskell-loop
+pkgver=0.3.0
+pkgrel=177
+pkgdesc="Fast loops (for when GHC can't optimize forM_)"
+url="https://github.com/nh2/loop;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('c4f57547dc80a0afdb20f590564f36425b41263b420f64877b26650b8f15479c29c0d87a8bfeb751bf2abb85c019f3b3459ecda8b50ca35627e26599d284f8f8')
+
+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 
--ghc-option=-fllvm
+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 --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+}



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

2022-03-07 Thread Felix Yan via arch-commits
Date: Monday, March 7, 2022 @ 17:45:22
  Author: felixonmars
Revision: 1144575

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-loop/repos/community-staging-x86_64/PKGBUILD (from rev 1144574, 
haskell-loop/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-07 17:45:22 UTC (rev 1144575)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=loop
+pkgname=haskell-loop
+pkgver=0.3.0
+pkgrel=176
+pkgdesc="Fast loops (for when GHC can't optimize forM_)"
+url="https://github.com/nh2/loop;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('c4f57547dc80a0afdb20f590564f36425b41263b420f64877b26650b8f15479c29c0d87a8bfeb751bf2abb85c019f3b3459ecda8b50ca35627e26599d284f8f8')
+
+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 
--ghc-option=-fllvm
+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 --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+}



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

2022-03-03 Thread Felix Yan via arch-commits
Date: Thursday, March 3, 2022 @ 11:35:04
  Author: felixonmars
Revision: 1140466

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-loop/repos/community-staging-x86_64/PKGBUILD (from rev 1140465, 
haskell-loop/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-03 11:35:04 UTC (rev 1140466)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=loop
+pkgname=haskell-loop
+pkgver=0.3.0
+pkgrel=175
+pkgdesc="Fast loops (for when GHC can't optimize forM_)"
+url="https://github.com/nh2/loop;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('c4f57547dc80a0afdb20f590564f36425b41263b420f64877b26650b8f15479c29c0d87a8bfeb751bf2abb85c019f3b3459ecda8b50ca35627e26599d284f8f8')
+
+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 
--ghc-option=-fllvm
+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 --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+}



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

2022-02-18 Thread Felix Yan via arch-commits
Date: Friday, February 18, 2022 @ 23:37:56
  Author: felixonmars
Revision: 1134548

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-loop/repos/community-staging-x86_64/PKGBUILD (from rev 1134547, 
haskell-loop/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-02-18 23:37:56 UTC (rev 1134548)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=loop
+pkgname=haskell-loop
+pkgver=0.3.0
+pkgrel=174
+pkgdesc="Fast loops (for when GHC can't optimize forM_)"
+url="https://github.com/nh2/loop;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('c4f57547dc80a0afdb20f590564f36425b41263b420f64877b26650b8f15479c29c0d87a8bfeb751bf2abb85c019f3b3459ecda8b50ca35627e26599d284f8f8')
+
+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 
--ghc-option=-fllvm
+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 --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+}



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

2022-02-07 Thread Felix Yan via arch-commits
Date: Monday, February 7, 2022 @ 14:23:51
  Author: felixonmars
Revision: 1128013

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-loop/repos/community-staging-x86_64/PKGBUILD (from rev 1128012, 
haskell-loop/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-02-07 14:23:51 UTC (rev 1128013)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=loop
+pkgname=haskell-loop
+pkgver=0.3.0
+pkgrel=173
+pkgdesc="Fast loops (for when GHC can't optimize forM_)"
+url="https://github.com/nh2/loop;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('c4f57547dc80a0afdb20f590564f36425b41263b420f64877b26650b8f15479c29c0d87a8bfeb751bf2abb85c019f3b3459ecda8b50ca35627e26599d284f8f8')
+
+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 
--ghc-option=-fllvm
+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 --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+}



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

2022-02-02 Thread Felix Yan via arch-commits
Date: Wednesday, February 2, 2022 @ 16:36:21
  Author: felixonmars
Revision: 1122637

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-loop/repos/community-staging-x86_64/PKGBUILD (from rev 1122636, 
haskell-loop/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-02-02 16:36:21 UTC (rev 1122637)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=loop
+pkgname=haskell-loop
+pkgver=0.3.0
+pkgrel=172
+pkgdesc="Fast loops (for when GHC can't optimize forM_)"
+url="https://github.com/nh2/loop;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('c4f57547dc80a0afdb20f590564f36425b41263b420f64877b26650b8f15479c29c0d87a8bfeb751bf2abb85c019f3b3459ecda8b50ca35627e26599d284f8f8')
+
+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 
--ghc-option=-fllvm
+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 --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+}



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

2022-01-27 Thread Felix Yan via arch-commits
Date: Thursday, January 27, 2022 @ 20:35:55
  Author: felixonmars
Revision: 1117623

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-loop/repos/community-staging-x86_64/PKGBUILD (from rev 1117622, 
haskell-loop/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-27 20:35:55 UTC (rev 1117623)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=loop
+pkgname=haskell-loop
+pkgver=0.3.0
+pkgrel=171
+pkgdesc="Fast loops (for when GHC can't optimize forM_)"
+url="https://github.com/nh2/loop;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('c4f57547dc80a0afdb20f590564f36425b41263b420f64877b26650b8f15479c29c0d87a8bfeb751bf2abb85c019f3b3459ecda8b50ca35627e26599d284f8f8')
+
+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 
--ghc-option=-fllvm
+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 --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+}



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

2022-01-24 Thread Felix Yan via arch-commits
Date: Monday, January 24, 2022 @ 13:20:34
  Author: felixonmars
Revision: 1114446

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-loop/repos/community-staging-x86_64/PKGBUILD (from rev 1114445, 
haskell-loop/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-24 13:20:34 UTC (rev 1114446)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=loop
+pkgname=haskell-loop
+pkgver=0.3.0
+pkgrel=170
+pkgdesc="Fast loops (for when GHC can't optimize forM_)"
+url="https://github.com/nh2/loop;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('c4f57547dc80a0afdb20f590564f36425b41263b420f64877b26650b8f15479c29c0d87a8bfeb751bf2abb85c019f3b3459ecda8b50ca35627e26599d284f8f8')
+
+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 
--ghc-option=-fllvm
+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 --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+}



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

2022-01-17 Thread Felix Yan via arch-commits
Date: Monday, January 17, 2022 @ 19:05:52
  Author: felixonmars
Revision: 1107987

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-loop/repos/community-staging-x86_64/PKGBUILD (from rev 1107986, 
haskell-loop/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-17 19:05:52 UTC (rev 1107987)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=loop
+pkgname=haskell-loop
+pkgver=0.3.0
+pkgrel=169
+pkgdesc="Fast loops (for when GHC can't optimize forM_)"
+url="https://github.com/nh2/loop;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('c4f57547dc80a0afdb20f590564f36425b41263b420f64877b26650b8f15479c29c0d87a8bfeb751bf2abb85c019f3b3459ecda8b50ca35627e26599d284f8f8')
+
+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 
--ghc-option=-fllvm
+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 --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+}



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

2022-01-11 Thread Felix Yan via arch-commits
Date: Tuesday, January 11, 2022 @ 11:39:21
  Author: felixonmars
Revision: 1100491

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-loop/repos/community-staging-x86_64/PKGBUILD (from rev 1100490, 
haskell-loop/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-11 11:39:21 UTC (rev 1100491)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=loop
+pkgname=haskell-loop
+pkgver=0.3.0
+pkgrel=168
+pkgdesc="Fast loops (for when GHC can't optimize forM_)"
+url="https://github.com/nh2/loop;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('c4f57547dc80a0afdb20f590564f36425b41263b420f64877b26650b8f15479c29c0d87a8bfeb751bf2abb85c019f3b3459ecda8b50ca35627e26599d284f8f8')
+
+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 
--ghc-option=-fllvm
+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 --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+}



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

2022-01-07 Thread Felix Yan via arch-commits
Date: Friday, January 7, 2022 @ 19:57:44
  Author: felixonmars
Revision: 1096231

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-loop/repos/community-staging-x86_64/PKGBUILD (from rev 1096230, 
haskell-loop/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-07 19:57:44 UTC (rev 1096231)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=loop
+pkgname=haskell-loop
+pkgver=0.3.0
+pkgrel=167
+pkgdesc="Fast loops (for when GHC can't optimize forM_)"
+url="https://github.com/nh2/loop;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('c4f57547dc80a0afdb20f590564f36425b41263b420f64877b26650b8f15479c29c0d87a8bfeb751bf2abb85c019f3b3459ecda8b50ca35627e26599d284f8f8')
+
+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 
--ghc-option=-fllvm
+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 --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+}



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

2022-01-05 Thread Felix Yan via arch-commits
Date: Wednesday, January 5, 2022 @ 21:02:13
  Author: felixonmars
Revision: 1093584

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-loop/repos/community-staging-x86_64/PKGBUILD (from rev 1093583, 
haskell-loop/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-05 21:02:13 UTC (rev 1093584)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=loop
+pkgname=haskell-loop
+pkgver=0.3.0
+pkgrel=166
+pkgdesc="Fast loops (for when GHC can't optimize forM_)"
+url="https://github.com/nh2/loop;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('c4f57547dc80a0afdb20f590564f36425b41263b420f64877b26650b8f15479c29c0d87a8bfeb751bf2abb85c019f3b3459ecda8b50ca35627e26599d284f8f8')
+
+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 
--ghc-option=-fllvm
+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 --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+}



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

2021-12-30 Thread Felix Yan via arch-commits
Date: Friday, December 31, 2021 @ 03:23:25
  Author: felixonmars
Revision: 1089324

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-loop/repos/community-staging-x86_64/PKGBUILD (from rev 1089323, 
haskell-loop/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-31 03:23:25 UTC (rev 1089324)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=loop
+pkgname=haskell-loop
+pkgver=0.3.0
+pkgrel=165
+pkgdesc="Fast loops (for when GHC can't optimize forM_)"
+url="https://github.com/nh2/loop;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('c4f57547dc80a0afdb20f590564f36425b41263b420f64877b26650b8f15479c29c0d87a8bfeb751bf2abb85c019f3b3459ecda8b50ca35627e26599d284f8f8')
+
+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 
--ghc-option=-fllvm
+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 --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+}



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

2021-12-27 Thread Felix Yan via arch-commits
Date: Monday, December 27, 2021 @ 21:46:45
  Author: felixonmars
Revision: 1084361

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-loop/repos/community-staging-x86_64/PKGBUILD (from rev 1084360, 
haskell-loop/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-27 21:46:45 UTC (rev 1084361)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=loop
+pkgname=haskell-loop
+pkgver=0.3.0
+pkgrel=164
+pkgdesc="Fast loops (for when GHC can't optimize forM_)"
+url="https://github.com/nh2/loop;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('c4f57547dc80a0afdb20f590564f36425b41263b420f64877b26650b8f15479c29c0d87a8bfeb751bf2abb85c019f3b3459ecda8b50ca35627e26599d284f8f8')
+
+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 
--ghc-option=-fllvm
+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 --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+}



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

2021-12-20 Thread Felix Yan via arch-commits
Date: Monday, December 20, 2021 @ 17:34:39
  Author: felixonmars
Revision: 1080476

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-loop/repos/community-staging-x86_64/PKGBUILD (from rev 1080475, 
haskell-loop/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-20 17:34:39 UTC (rev 1080476)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=loop
+pkgname=haskell-loop
+pkgver=0.3.0
+pkgrel=163
+pkgdesc="Fast loops (for when GHC can't optimize forM_)"
+url="https://github.com/nh2/loop;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('c4f57547dc80a0afdb20f590564f36425b41263b420f64877b26650b8f15479c29c0d87a8bfeb751bf2abb85c019f3b3459ecda8b50ca35627e26599d284f8f8')
+
+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 
--ghc-option=-fllvm
+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 --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+}



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

2021-12-18 Thread Felix Yan via arch-commits
Date: Saturday, December 18, 2021 @ 14:13:53
  Author: felixonmars
Revision: 1076957

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-loop/repos/community-staging-x86_64/PKGBUILD (from rev 1076956, 
haskell-loop/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-18 14:13:53 UTC (rev 1076957)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=loop
+pkgname=haskell-loop
+pkgver=0.3.0
+pkgrel=162
+pkgdesc="Fast loops (for when GHC can't optimize forM_)"
+url="https://github.com/nh2/loop;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('c4f57547dc80a0afdb20f590564f36425b41263b420f64877b26650b8f15479c29c0d87a8bfeb751bf2abb85c019f3b3459ecda8b50ca35627e26599d284f8f8')
+
+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 
--ghc-option=-fllvm
+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 --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+}



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

2021-12-15 Thread Felix Yan via arch-commits
Date: Wednesday, December 15, 2021 @ 16:12:33
  Author: felixonmars
Revision: 1073275

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-loop/repos/community-staging-x86_64/PKGBUILD (from rev 1073274, 
haskell-loop/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-15 16:12:33 UTC (rev 1073275)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=loop
+pkgname=haskell-loop
+pkgver=0.3.0
+pkgrel=161
+pkgdesc="Fast loops (for when GHC can't optimize forM_)"
+url="https://github.com/nh2/loop;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('c4f57547dc80a0afdb20f590564f36425b41263b420f64877b26650b8f15479c29c0d87a8bfeb751bf2abb85c019f3b3459ecda8b50ca35627e26599d284f8f8')
+
+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 
--ghc-option=-fllvm
+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 --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+}



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

2021-11-28 Thread Felix Yan via arch-commits
Date: Sunday, November 28, 2021 @ 20:19:46
  Author: felixonmars
Revision: 1055473

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-loop/repos/community-staging-x86_64/PKGBUILD (from rev 1055472, 
haskell-loop/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-11-28 20:19:46 UTC (rev 1055473)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=loop
+pkgname=haskell-loop
+pkgver=0.3.0
+pkgrel=160
+pkgdesc="Fast loops (for when GHC can't optimize forM_)"
+url="https://github.com/nh2/loop;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('c4f57547dc80a0afdb20f590564f36425b41263b420f64877b26650b8f15479c29c0d87a8bfeb751bf2abb85c019f3b3459ecda8b50ca35627e26599d284f8f8')
+
+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 
--ghc-option=-fllvm
+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 --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+}



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

2021-11-17 Thread Felix Yan via arch-commits
Date: Thursday, November 18, 2021 @ 01:20:55
  Author: felixonmars
Revision: 1051555

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-loop/repos/community-staging-x86_64/PKGBUILD (from rev 1051554, 
haskell-loop/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-11-18 01:20:55 UTC (rev 1051555)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=loop
+pkgname=haskell-loop
+pkgver=0.3.0
+pkgrel=159
+pkgdesc="Fast loops (for when GHC can't optimize forM_)"
+url="https://github.com/nh2/loop;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('c4f57547dc80a0afdb20f590564f36425b41263b420f64877b26650b8f15479c29c0d87a8bfeb751bf2abb85c019f3b3459ecda8b50ca35627e26599d284f8f8')
+
+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 
--ghc-option=-fllvm
+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 --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+}



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

2021-11-16 Thread Felix Yan via arch-commits
Date: Wednesday, November 17, 2021 @ 00:39:05
  Author: felixonmars
Revision: 1049097

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-loop/repos/community-staging-x86_64/PKGBUILD (from rev 1049096, 
haskell-loop/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-11-17 00:39:05 UTC (rev 1049097)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=loop
+pkgname=haskell-loop
+pkgver=0.3.0
+pkgrel=158
+pkgdesc="Fast loops (for when GHC can't optimize forM_)"
+url="https://github.com/nh2/loop;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('c4f57547dc80a0afdb20f590564f36425b41263b420f64877b26650b8f15479c29c0d87a8bfeb751bf2abb85c019f3b3459ecda8b50ca35627e26599d284f8f8')
+
+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 
--ghc-option=-fllvm
+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 --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+}



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

2021-11-13 Thread Felix Yan via arch-commits
Date: Saturday, November 13, 2021 @ 11:34:41
  Author: felixonmars
Revision: 1045241

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-loop/repos/community-staging-x86_64/PKGBUILD (from rev 1045240, 
haskell-loop/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-11-13 11:34:41 UTC (rev 1045241)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=loop
+pkgname=haskell-loop
+pkgver=0.3.0
+pkgrel=157
+pkgdesc="Fast loops (for when GHC can't optimize forM_)"
+url="https://github.com/nh2/loop;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('c4f57547dc80a0afdb20f590564f36425b41263b420f64877b26650b8f15479c29c0d87a8bfeb751bf2abb85c019f3b3459ecda8b50ca35627e26599d284f8f8')
+
+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 
--ghc-option=-fllvm
+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 --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+}



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

2021-11-11 Thread Felix Yan via arch-commits
Date: Thursday, November 11, 2021 @ 23:31:19
  Author: felixonmars
Revision: 1042621

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-loop/repos/community-staging-x86_64/PKGBUILD (from rev 1042620, 
haskell-loop/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-11-11 23:31:19 UTC (rev 1042621)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=loop
+pkgname=haskell-loop
+pkgver=0.3.0
+pkgrel=156
+pkgdesc="Fast loops (for when GHC can't optimize forM_)"
+url="https://github.com/nh2/loop;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('c4f57547dc80a0afdb20f590564f36425b41263b420f64877b26650b8f15479c29c0d87a8bfeb751bf2abb85c019f3b3459ecda8b50ca35627e26599d284f8f8')
+
+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 
--ghc-option=-fllvm
+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 --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+}



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

2021-11-10 Thread Felix Yan via arch-commits
Date: Wednesday, November 10, 2021 @ 17:05:38
  Author: felixonmars
Revision: 1039933

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-loop/repos/community-staging-x86_64/PKGBUILD (from rev 1039932, 
haskell-loop/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-11-10 17:05:38 UTC (rev 1039933)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=loop
+pkgname=haskell-loop
+pkgver=0.3.0
+pkgrel=155
+pkgdesc="Fast loops (for when GHC can't optimize forM_)"
+url="https://github.com/nh2/loop;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('c4f57547dc80a0afdb20f590564f36425b41263b420f64877b26650b8f15479c29c0d87a8bfeb751bf2abb85c019f3b3459ecda8b50ca35627e26599d284f8f8')
+
+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 
--ghc-option=-fllvm
+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 --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+}



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

2021-10-26 Thread Felix Yan via arch-commits
Date: Tuesday, October 26, 2021 @ 13:32:43
  Author: felixonmars
Revision: 1033971

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-loop/repos/community-staging-x86_64/PKGBUILD (from rev 1033970, 
haskell-loop/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-10-26 13:32:43 UTC (rev 1033971)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=loop
+pkgname=haskell-loop
+pkgver=0.3.0
+pkgrel=154
+pkgdesc="Fast loops (for when GHC can't optimize forM_)"
+url="https://github.com/nh2/loop;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('c4f57547dc80a0afdb20f590564f36425b41263b420f64877b26650b8f15479c29c0d87a8bfeb751bf2abb85c019f3b3459ecda8b50ca35627e26599d284f8f8')
+
+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 
--ghc-option=-fllvm
+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 --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+}



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

2021-09-23 Thread Felix Yan via arch-commits
Date: Friday, September 24, 2021 @ 01:48:53
  Author: felixonmars
Revision: 1023068

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-loop/repos/community-staging-x86_64/PKGBUILD (from rev 1023067, 
haskell-loop/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-09-24 01:48:53 UTC (rev 1023068)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=loop
+pkgname=haskell-loop
+pkgver=0.3.0
+pkgrel=153
+pkgdesc="Fast loops (for when GHC can't optimize forM_)"
+url="https://github.com/nh2/loop;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('c4f57547dc80a0afdb20f590564f36425b41263b420f64877b26650b8f15479c29c0d87a8bfeb751bf2abb85c019f3b3459ecda8b50ca35627e26599d284f8f8')
+
+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 
--ghc-option=-fllvm
+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 --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+}



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

2021-09-21 Thread Felix Yan via arch-commits
Date: Tuesday, September 21, 2021 @ 14:58:42
  Author: felixonmars
Revision: 1020452

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-loop/repos/community-staging-x86_64/PKGBUILD (from rev 1020451, 
haskell-loop/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-09-21 14:58:42 UTC (rev 1020452)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=loop
+pkgname=haskell-loop
+pkgver=0.3.0
+pkgrel=152
+pkgdesc="Fast loops (for when GHC can't optimize forM_)"
+url="https://github.com/nh2/loop;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('c4f57547dc80a0afdb20f590564f36425b41263b420f64877b26650b8f15479c29c0d87a8bfeb751bf2abb85c019f3b3459ecda8b50ca35627e26599d284f8f8')
+
+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
+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 --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+}



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

2021-09-19 Thread Felix Yan via arch-commits
Date: Sunday, September 19, 2021 @ 17:47:34
  Author: felixonmars
Revision: 1017618

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-loop/repos/community-staging-x86_64/PKGBUILD (from rev 1017617, 
haskell-loop/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-09-19 17:47:34 UTC (rev 1017618)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=loop
+pkgname=haskell-loop
+pkgver=0.3.0
+pkgrel=151
+pkgdesc="Fast loops (for when GHC can't optimize forM_)"
+url="https://github.com/nh2/loop;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('c4f57547dc80a0afdb20f590564f36425b41263b420f64877b26650b8f15479c29c0d87a8bfeb751bf2abb85c019f3b3459ecda8b50ca35627e26599d284f8f8')
+
+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
+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 --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+}



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

2021-08-28 Thread Felix Yan via arch-commits
Date: Saturday, August 28, 2021 @ 22:30:32
  Author: felixonmars
Revision: 1008073

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-loop/repos/community-staging-x86_64/PKGBUILD (from rev 1008072, 
haskell-loop/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-08-28 22:30:32 UTC (rev 1008073)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=loop
+pkgname=haskell-loop
+pkgver=0.3.0
+pkgrel=150
+pkgdesc="Fast loops (for when GHC can't optimize forM_)"
+url="https://github.com/nh2/loop;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('c4f57547dc80a0afdb20f590564f36425b41263b420f64877b26650b8f15479c29c0d87a8bfeb751bf2abb85c019f3b3459ecda8b50ca35627e26599d284f8f8')
+
+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
+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 --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+}



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

2021-08-25 Thread Felix Yan via arch-commits
Date: Thursday, August 26, 2021 @ 02:07:17
  Author: felixonmars
Revision: 1005266

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-loop/repos/community-staging-x86_64/PKGBUILD (from rev 1005265, 
haskell-loop/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-08-26 02:07:17 UTC (rev 1005266)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=loop
+pkgname=haskell-loop
+pkgver=0.3.0
+pkgrel=149
+pkgdesc="Fast loops (for when GHC can't optimize forM_)"
+url="https://github.com/nh2/loop;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('c4f57547dc80a0afdb20f590564f36425b41263b420f64877b26650b8f15479c29c0d87a8bfeb751bf2abb85c019f3b3459ecda8b50ca35627e26599d284f8f8')
+
+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
+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 --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+}



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

2021-08-17 Thread Felix Yan via arch-commits
Date: Tuesday, August 17, 2021 @ 13:54:36
  Author: felixonmars
Revision: 1001649

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-loop/repos/community-staging-x86_64/PKGBUILD (from rev 1001648, 
haskell-loop/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-08-17 13:54:36 UTC (rev 1001649)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=loop
+pkgname=haskell-loop
+pkgver=0.3.0
+pkgrel=148
+pkgdesc="Fast loops (for when GHC can't optimize forM_)"
+url="https://github.com/nh2/loop;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('c4f57547dc80a0afdb20f590564f36425b41263b420f64877b26650b8f15479c29c0d87a8bfeb751bf2abb85c019f3b3459ecda8b50ca35627e26599d284f8f8')
+
+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
+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 --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+}



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

2021-08-15 Thread Felix Yan via arch-commits
Date: Sunday, August 15, 2021 @ 18:13:51
  Author: felixonmars
Revision: 998999

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-loop/repos/community-staging-x86_64/PKGBUILD (from rev 998998, 
haskell-loop/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-08-15 18:13:51 UTC (rev 998999)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=loop
+pkgname=haskell-loop
+pkgver=0.3.0
+pkgrel=147
+pkgdesc="Fast loops (for when GHC can't optimize forM_)"
+url="https://github.com/nh2/loop;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('c4f57547dc80a0afdb20f590564f36425b41263b420f64877b26650b8f15479c29c0d87a8bfeb751bf2abb85c019f3b3459ecda8b50ca35627e26599d284f8f8')
+
+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
+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 --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+}



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

2021-08-08 Thread Felix Yan via arch-commits
Date: Sunday, August 8, 2021 @ 16:34:03
  Author: felixonmars
Revision: 995232

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-loop/repos/community-staging-x86_64/PKGBUILD (from rev 995231, 
haskell-loop/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-08-08 16:34:03 UTC (rev 995232)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=loop
+pkgname=haskell-loop
+pkgver=0.3.0
+pkgrel=146
+pkgdesc="Fast loops (for when GHC can't optimize forM_)"
+url="https://github.com/nh2/loop;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('c4f57547dc80a0afdb20f590564f36425b41263b420f64877b26650b8f15479c29c0d87a8bfeb751bf2abb85c019f3b3459ecda8b50ca35627e26599d284f8f8')
+
+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
+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 --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+}



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

2021-07-26 Thread Felix Yan via arch-commits
Date: Monday, July 26, 2021 @ 15:48:10
  Author: felixonmars
Revision: 985425

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-loop/repos/community-staging-x86_64/PKGBUILD (from rev 985424, 
haskell-loop/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-26 15:48:10 UTC (rev 985425)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=loop
+pkgname=haskell-loop
+pkgver=0.3.0
+pkgrel=145
+pkgdesc="Fast loops (for when GHC can't optimize forM_)"
+url="https://github.com/nh2/loop;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('c4f57547dc80a0afdb20f590564f36425b41263b420f64877b26650b8f15479c29c0d87a8bfeb751bf2abb85c019f3b3459ecda8b50ca35627e26599d284f8f8')
+
+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
+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 --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+}



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

2021-07-21 Thread Felix Yan via arch-commits
Date: Wednesday, July 21, 2021 @ 11:37:30
  Author: felixonmars
Revision: 981811

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-loop/repos/community-staging-x86_64/PKGBUILD (from rev 981810, 
haskell-loop/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-21 11:37:30 UTC (rev 981811)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=loop
+pkgname=haskell-loop
+pkgver=0.3.0
+pkgrel=144
+pkgdesc="Fast loops (for when GHC can't optimize forM_)"
+url="https://github.com/nh2/loop;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('c4f57547dc80a0afdb20f590564f36425b41263b420f64877b26650b8f15479c29c0d87a8bfeb751bf2abb85c019f3b3459ecda8b50ca35627e26599d284f8f8')
+
+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
+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 --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+}



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

2021-07-20 Thread Felix Yan via arch-commits
Date: Tuesday, July 20, 2021 @ 06:04:21
  Author: felixonmars
Revision: 979090

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-loop/repos/community-staging-x86_64/PKGBUILD (from rev 979089, 
haskell-loop/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-20 06:04:21 UTC (rev 979090)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=loop
+pkgname=haskell-loop
+pkgver=0.3.0
+pkgrel=143
+pkgdesc="Fast loops (for when GHC can't optimize forM_)"
+url="https://github.com/nh2/loop;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('c4f57547dc80a0afdb20f590564f36425b41263b420f64877b26650b8f15479c29c0d87a8bfeb751bf2abb85c019f3b3459ecda8b50ca35627e26599d284f8f8')
+
+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
+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 --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+}



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

2021-07-06 Thread Felix Yan via arch-commits
Date: Tuesday, July 6, 2021 @ 12:06:53
  Author: felixonmars
Revision: 973089

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-loop/repos/community-staging-x86_64/PKGBUILD (from rev 973088, 
haskell-loop/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-06 12:06:53 UTC (rev 973089)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=loop
+pkgname=haskell-loop
+pkgver=0.3.0
+pkgrel=142
+pkgdesc="Fast loops (for when GHC can't optimize forM_)"
+url="https://github.com/nh2/loop;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('c4f57547dc80a0afdb20f590564f36425b41263b420f64877b26650b8f15479c29c0d87a8bfeb751bf2abb85c019f3b3459ecda8b50ca35627e26599d284f8f8')
+
+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
+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 --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+}



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

2021-07-01 Thread Felix Yan via arch-commits
Date: Thursday, July 1, 2021 @ 19:32:37
  Author: felixonmars
Revision: 969660

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-loop/repos/community-staging-x86_64/PKGBUILD (from rev 969659, 
haskell-loop/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-01 19:32:37 UTC (rev 969660)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=loop
+pkgname=haskell-loop
+pkgver=0.3.0
+pkgrel=141
+pkgdesc="Fast loops (for when GHC can't optimize forM_)"
+url="https://github.com/nh2/loop;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('c4f57547dc80a0afdb20f590564f36425b41263b420f64877b26650b8f15479c29c0d87a8bfeb751bf2abb85c019f3b3459ecda8b50ca35627e26599d284f8f8')
+
+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
+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 --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+}



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

2021-06-18 Thread Felix Yan via arch-commits
Date: Saturday, June 19, 2021 @ 01:34:06
  Author: felixonmars
Revision: 965317

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-loop/repos/community-staging-x86_64/PKGBUILD (from rev 965316, 
haskell-loop/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-06-19 01:34:06 UTC (rev 965317)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=loop
+pkgname=haskell-loop
+pkgver=0.3.0
+pkgrel=140
+pkgdesc="Fast loops (for when GHC can't optimize forM_)"
+url="https://github.com/nh2/loop;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('c4f57547dc80a0afdb20f590564f36425b41263b420f64877b26650b8f15479c29c0d87a8bfeb751bf2abb85c019f3b3459ecda8b50ca35627e26599d284f8f8')
+
+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
+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 --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+}


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

2021-06-09 Thread Felix Yan via arch-commits
Date: Wednesday, June 9, 2021 @ 22:18:38
  Author: felixonmars
Revision: 960659

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-loop/repos/community-staging-x86_64/PKGBUILD (from rev 960658, 
haskell-loop/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-06-09 22:18:38 UTC (rev 960659)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=loop
+pkgname=haskell-loop
+pkgver=0.3.0
+pkgrel=139
+pkgdesc="Fast loops (for when GHC can't optimize forM_)"
+url="https://github.com/nh2/loop;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('c4f57547dc80a0afdb20f590564f36425b41263b420f64877b26650b8f15479c29c0d87a8bfeb751bf2abb85c019f3b3459ecda8b50ca35627e26599d284f8f8')
+
+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
+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 --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+}


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

2021-06-07 Thread Felix Yan via arch-commits
Date: Monday, June 7, 2021 @ 09:44:44
  Author: felixonmars
Revision: 957262

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-loop/repos/community-staging-x86_64/PKGBUILD (from rev 957261, 
haskell-loop/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-06-07 09:44:44 UTC (rev 957262)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=loop
+pkgname=haskell-loop
+pkgver=0.3.0
+pkgrel=138
+pkgdesc="Fast loops (for when GHC can't optimize forM_)"
+url="https://github.com/nh2/loop;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('c4f57547dc80a0afdb20f590564f36425b41263b420f64877b26650b8f15479c29c0d87a8bfeb751bf2abb85c019f3b3459ecda8b50ca35627e26599d284f8f8')
+
+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
+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 --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+}


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

2021-06-02 Thread Felix Yan via arch-commits
Date: Wednesday, June 2, 2021 @ 23:02:47
  Author: felixonmars
Revision: 953700

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-loop/repos/community-staging-x86_64/PKGBUILD (from rev 953699, 
haskell-loop/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-06-02 23:02:47 UTC (rev 953700)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=loop
+pkgname=haskell-loop
+pkgver=0.3.0
+pkgrel=137
+pkgdesc="Fast loops (for when GHC can't optimize forM_)"
+url="https://github.com/nh2/loop;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('c4f57547dc80a0afdb20f590564f36425b41263b420f64877b26650b8f15479c29c0d87a8bfeb751bf2abb85c019f3b3459ecda8b50ca35627e26599d284f8f8')
+
+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
+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 --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+}


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

2021-05-30 Thread Felix Yan via arch-commits
Date: Sunday, May 30, 2021 @ 23:20:42
  Author: felixonmars
Revision: 950977

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-loop/repos/community-staging-x86_64/PKGBUILD (from rev 950976, 
haskell-loop/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-30 23:20:42 UTC (rev 950977)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=loop
+pkgname=haskell-loop
+pkgver=0.3.0
+pkgrel=136
+pkgdesc="Fast loops (for when GHC can't optimize forM_)"
+url="https://github.com/nh2/loop;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('c4f57547dc80a0afdb20f590564f36425b41263b420f64877b26650b8f15479c29c0d87a8bfeb751bf2abb85c019f3b3459ecda8b50ca35627e26599d284f8f8')
+
+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
+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 --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+}


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

2021-05-26 Thread Felix Yan via arch-commits
Date: Wednesday, May 26, 2021 @ 21:47:38
  Author: felixonmars
Revision: 947077

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-loop/repos/community-staging-x86_64/PKGBUILD (from rev 947076, 
haskell-loop/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-26 21:47:38 UTC (rev 947077)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=loop
+pkgname=haskell-loop
+pkgver=0.3.0
+pkgrel=135
+pkgdesc="Fast loops (for when GHC can't optimize forM_)"
+url="https://github.com/nh2/loop;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('c4f57547dc80a0afdb20f590564f36425b41263b420f64877b26650b8f15479c29c0d87a8bfeb751bf2abb85c019f3b3459ecda8b50ca35627e26599d284f8f8')
+
+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
+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 --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+}


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

2021-05-21 Thread Felix Yan via arch-commits
Date: Friday, May 21, 2021 @ 06:42:56
  Author: felixonmars
Revision: 940399

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-loop/repos/community-staging-x86_64/PKGBUILD (from rev 940398, 
haskell-loop/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-21 06:42:56 UTC (rev 940399)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=loop
+pkgname=haskell-loop
+pkgver=0.3.0
+pkgrel=134
+pkgdesc="Fast loops (for when GHC can't optimize forM_)"
+url="https://github.com/nh2/loop;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('c4f57547dc80a0afdb20f590564f36425b41263b420f64877b26650b8f15479c29c0d87a8bfeb751bf2abb85c019f3b3459ecda8b50ca35627e26599d284f8f8')
+
+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
+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 --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+}


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

2021-05-19 Thread Felix Yan via arch-commits
Date: Wednesday, May 19, 2021 @ 21:50:37
  Author: felixonmars
Revision: 936981

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-loop/repos/community-staging-x86_64/PKGBUILD (from rev 936980, 
haskell-loop/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-19 21:50:37 UTC (rev 936981)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=loop
+pkgname=haskell-loop
+pkgver=0.3.0
+pkgrel=133
+pkgdesc="Fast loops (for when GHC can't optimize forM_)"
+url="https://github.com/nh2/loop;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('c4f57547dc80a0afdb20f590564f36425b41263b420f64877b26650b8f15479c29c0d87a8bfeb751bf2abb85c019f3b3459ecda8b50ca35627e26599d284f8f8')
+
+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
+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 --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+}


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

2021-05-13 Thread Felix Yan via arch-commits
Date: Thursday, May 13, 2021 @ 13:55:09
  Author: felixonmars
Revision: 933286

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-loop/repos/community-staging-x86_64/PKGBUILD (from rev 933285, 
haskell-loop/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-13 13:55:09 UTC (rev 933286)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=loop
+pkgname=haskell-loop
+pkgver=0.3.0
+pkgrel=132
+pkgdesc="Fast loops (for when GHC can't optimize forM_)"
+url="https://github.com/nh2/loop;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('c4f57547dc80a0afdb20f590564f36425b41263b420f64877b26650b8f15479c29c0d87a8bfeb751bf2abb85c019f3b3459ecda8b50ca35627e26599d284f8f8')
+
+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
+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 --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+}


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

2021-05-11 Thread Felix Yan via arch-commits
Date: Tuesday, May 11, 2021 @ 22:43:38
  Author: felixonmars
Revision: 930858

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-loop/repos/community-staging-x86_64/PKGBUILD (from rev 930857, 
haskell-loop/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-05-11 22:43:38 UTC (rev 930858)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=loop
+pkgname=haskell-loop
+pkgver=0.3.0
+pkgrel=131
+pkgdesc="Fast loops (for when GHC can't optimize forM_)"
+url="https://github.com/nh2/loop;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('c4f57547dc80a0afdb20f590564f36425b41263b420f64877b26650b8f15479c29c0d87a8bfeb751bf2abb85c019f3b3459ecda8b50ca35627e26599d284f8f8')
+
+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
+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 --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+}


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

2021-04-22 Thread Felix Yan via arch-commits
Date: Thursday, April 22, 2021 @ 15:32:12
  Author: felixonmars
Revision: 921173

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-loop/repos/community-staging-x86_64/PKGBUILD (from rev 921172, 
haskell-loop/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-04-22 15:32:12 UTC (rev 921173)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=loop
+pkgname=haskell-loop
+pkgver=0.3.0
+pkgrel=130
+pkgdesc="Fast loops (for when GHC can't optimize forM_)"
+url="https://github.com/nh2/loop;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('c4f57547dc80a0afdb20f590564f36425b41263b420f64877b26650b8f15479c29c0d87a8bfeb751bf2abb85c019f3b3459ecda8b50ca35627e26599d284f8f8')
+
+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
+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 --show-details=direct
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+}


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

2021-04-12 Thread Felix Yan via arch-commits
Date: Tuesday, April 13, 2021 @ 03:52:54
  Author: felixonmars
Revision: 916200

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-loop/repos/community-staging-x86_64/PKGBUILD (from rev 916199, 
haskell-loop/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-04-13 03:52:54 UTC (rev 916200)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=loop
+pkgname=haskell-loop
+pkgver=0.3.0
+pkgrel=129
+pkgdesc="Fast loops (for when GHC can't optimize forM_)"
+url="https://github.com/nh2/loop;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('c4f57547dc80a0afdb20f590564f36425b41263b420f64877b26650b8f15479c29c0d87a8bfeb751bf2abb85c019f3b3459ecda8b50ca35627e26599d284f8f8')
+
+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
+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"
+}


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

2021-04-07 Thread Felix Yan via arch-commits
Date: Wednesday, April 7, 2021 @ 22:19:58
  Author: felixonmars
Revision: 912901

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-loop/repos/community-staging-x86_64/PKGBUILD (from rev 912900, 
haskell-loop/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-04-07 22:19:58 UTC (rev 912901)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=loop
+pkgname=haskell-loop
+pkgver=0.3.0
+pkgrel=128
+pkgdesc="Fast loops (for when GHC can't optimize forM_)"
+url="https://github.com/nh2/loop;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('c4f57547dc80a0afdb20f590564f36425b41263b420f64877b26650b8f15479c29c0d87a8bfeb751bf2abb85c019f3b3459ecda8b50ca35627e26599d284f8f8')
+
+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
+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"
+}


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

2021-03-28 Thread Felix Yan via arch-commits
Date: Monday, March 29, 2021 @ 02:33:21
  Author: felixonmars
Revision: 908300

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-loop/repos/community-staging-x86_64/PKGBUILD (from rev 908299, 
haskell-loop/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-03-29 02:33:21 UTC (rev 908300)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=loop
+pkgname=haskell-loop
+pkgver=0.3.0
+pkgrel=127
+pkgdesc="Fast loops (for when GHC can't optimize forM_)"
+url="https://github.com/nh2/loop;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('c4f57547dc80a0afdb20f590564f36425b41263b420f64877b26650b8f15479c29c0d87a8bfeb751bf2abb85c019f3b3459ecda8b50ca35627e26599d284f8f8')
+
+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
+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"
+}


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

2021-03-27 Thread Felix Yan via arch-commits
Date: Sunday, March 28, 2021 @ 01:07:30
  Author: felixonmars
Revision: 905888

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-loop/repos/community-staging-x86_64/PKGBUILD (from rev 905887, 
haskell-loop/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-03-28 01:07:30 UTC (rev 905888)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=loop
+pkgname=haskell-loop
+pkgver=0.3.0
+pkgrel=126
+pkgdesc="Fast loops (for when GHC can't optimize forM_)"
+url="https://github.com/nh2/loop;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('c4f57547dc80a0afdb20f590564f36425b41263b420f64877b26650b8f15479c29c0d87a8bfeb751bf2abb85c019f3b3459ecda8b50ca35627e26599d284f8f8')
+
+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
+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"
+}


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

2021-03-24 Thread Felix Yan via arch-commits
Date: Thursday, March 25, 2021 @ 03:38:06
  Author: felixonmars
Revision: 902326

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-loop/repos/community-staging-x86_64/PKGBUILD (from rev 902325, 
haskell-loop/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-03-25 03:38:06 UTC (rev 902326)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=loop
+pkgname=haskell-loop
+pkgver=0.3.0
+pkgrel=125
+pkgdesc="Fast loops (for when GHC can't optimize forM_)"
+url="https://github.com/nh2/loop;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('c4f57547dc80a0afdb20f590564f36425b41263b420f64877b26650b8f15479c29c0d87a8bfeb751bf2abb85c019f3b3459ecda8b50ca35627e26599d284f8f8')
+
+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
+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"
+}


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

2021-03-22 Thread Felix Yan via arch-commits
Date: Monday, March 22, 2021 @ 22:20:56
  Author: felixonmars
Revision: 899244

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-loop/repos/community-staging-x86_64/PKGBUILD (from rev 899243, 
haskell-loop/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-03-22 22:20:56 UTC (rev 899244)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=loop
+pkgname=haskell-loop
+pkgver=0.3.0
+pkgrel=124
+pkgdesc="Fast loops (for when GHC can't optimize forM_)"
+url="https://github.com/nh2/loop;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('c4f57547dc80a0afdb20f590564f36425b41263b420f64877b26650b8f15479c29c0d87a8bfeb751bf2abb85c019f3b3459ecda8b50ca35627e26599d284f8f8')
+
+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
+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"
+}


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

2021-03-20 Thread Felix Yan via arch-commits
Date: Sunday, March 21, 2021 @ 03:30:24
  Author: felixonmars
Revision: 896714

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-loop/repos/community-staging-x86_64/PKGBUILD (from rev 896713, 
haskell-loop/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-03-21 03:30:24 UTC (rev 896714)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=loop
+pkgname=haskell-loop
+pkgver=0.3.0
+pkgrel=123
+pkgdesc="Fast loops (for when GHC can't optimize forM_)"
+url="https://github.com/nh2/loop;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('c4f57547dc80a0afdb20f590564f36425b41263b420f64877b26650b8f15479c29c0d87a8bfeb751bf2abb85c019f3b3459ecda8b50ca35627e26599d284f8f8')
+
+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
+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"
+}


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

2021-03-16 Thread Felix Yan via arch-commits
Date: Tuesday, March 16, 2021 @ 20:09:26
  Author: felixonmars
Revision: 892198

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-loop/repos/community-staging-x86_64/PKGBUILD (from rev 892197, 
haskell-loop/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-03-16 20:09:26 UTC (rev 892198)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=loop
+pkgname=haskell-loop
+pkgver=0.3.0
+pkgrel=122
+pkgdesc="Fast loops (for when GHC can't optimize forM_)"
+url="https://github.com/nh2/loop;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('c4f57547dc80a0afdb20f590564f36425b41263b420f64877b26650b8f15479c29c0d87a8bfeb751bf2abb85c019f3b3459ecda8b50ca35627e26599d284f8f8')
+
+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
+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"
+}


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

2021-03-11 Thread Felix Yan via arch-commits
Date: Friday, March 12, 2021 @ 01:29:13
  Author: felixonmars
Revision: 887766

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-loop/repos/community-staging-x86_64/PKGBUILD (from rev 887765, 
haskell-loop/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-03-12 01:29:13 UTC (rev 887766)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=loop
+pkgname=haskell-loop
+pkgver=0.3.0
+pkgrel=121
+pkgdesc="Fast loops (for when GHC can't optimize forM_)"
+url="https://github.com/nh2/loop;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('c4f57547dc80a0afdb20f590564f36425b41263b420f64877b26650b8f15479c29c0d87a8bfeb751bf2abb85c019f3b3459ecda8b50ca35627e26599d284f8f8')
+
+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
+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"
+}


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

2021-03-06 Thread Felix Yan via arch-commits
Date: Saturday, March 6, 2021 @ 23:40:48
  Author: felixonmars
Revision: 884775

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-loop/repos/community-staging-x86_64/PKGBUILD (from rev 884774, 
haskell-loop/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-03-06 23:40:48 UTC (rev 884775)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=loop
+pkgname=haskell-loop
+pkgver=0.3.0
+pkgrel=120
+pkgdesc="Fast loops (for when GHC can't optimize forM_)"
+url="https://github.com/nh2/loop;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('c4f57547dc80a0afdb20f590564f36425b41263b420f64877b26650b8f15479c29c0d87a8bfeb751bf2abb85c019f3b3459ecda8b50ca35627e26599d284f8f8')
+
+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
+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"
+}


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

2021-03-05 Thread Felix Yan via arch-commits
Date: Friday, March 5, 2021 @ 19:32:42
  Author: felixonmars
Revision: 882151

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-loop/repos/community-staging-x86_64/PKGBUILD (from rev 882150, 
haskell-loop/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-03-05 19:32:42 UTC (rev 882151)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=loop
+pkgname=haskell-loop
+pkgver=0.3.0
+pkgrel=119
+pkgdesc="Fast loops (for when GHC can't optimize forM_)"
+url="https://github.com/nh2/loop;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('c4f57547dc80a0afdb20f590564f36425b41263b420f64877b26650b8f15479c29c0d87a8bfeb751bf2abb85c019f3b3459ecda8b50ca35627e26599d284f8f8')
+
+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
+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"
+}


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

2021-03-03 Thread Felix Yan via arch-commits
Date: Wednesday, March 3, 2021 @ 21:59:03
  Author: felixonmars
Revision: 879555

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-loop/repos/community-staging-x86_64/PKGBUILD (from rev 879554, 
haskell-loop/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-03-03 21:59:03 UTC (rev 879555)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=loop
+pkgname=haskell-loop
+pkgver=0.3.0
+pkgrel=118
+pkgdesc="Fast loops (for when GHC can't optimize forM_)"
+url="https://github.com/nh2/loop;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('c4f57547dc80a0afdb20f590564f36425b41263b420f64877b26650b8f15479c29c0d87a8bfeb751bf2abb85c019f3b3459ecda8b50ca35627e26599d284f8f8')
+
+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
+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"
+}


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

2021-03-01 Thread Felix Yan via arch-commits
Date: Monday, March 1, 2021 @ 19:26:36
  Author: felixonmars
Revision: 876634

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-loop/repos/community-staging-x86_64/PKGBUILD (from rev 876633, 
haskell-loop/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-03-01 19:26:36 UTC (rev 876634)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=loop
+pkgname=haskell-loop
+pkgver=0.3.0
+pkgrel=117
+pkgdesc="Fast loops (for when GHC can't optimize forM_)"
+url="https://github.com/nh2/loop;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('c4f57547dc80a0afdb20f590564f36425b41263b420f64877b26650b8f15479c29c0d87a8bfeb751bf2abb85c019f3b3459ecda8b50ca35627e26599d284f8f8')
+
+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
+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"
+}


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

2021-02-24 Thread Felix Yan via arch-commits
Date: Thursday, February 25, 2021 @ 00:06:04
  Author: felixonmars
Revision: 872223

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-loop/repos/community-staging-x86_64/PKGBUILD (from rev 87, 
haskell-loop/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-25 00:06:04 UTC (rev 872223)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=loop
+pkgname=haskell-loop
+pkgver=0.3.0
+pkgrel=116
+pkgdesc="Fast loops (for when GHC can't optimize forM_)"
+url="https://github.com/nh2/loop;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('c4f57547dc80a0afdb20f590564f36425b41263b420f64877b26650b8f15479c29c0d87a8bfeb751bf2abb85c019f3b3459ecda8b50ca35627e26599d284f8f8')
+
+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
+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"
+}


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

2021-02-22 Thread Felix Yan via arch-commits
Date: Monday, February 22, 2021 @ 13:52:37
  Author: felixonmars
Revision: 868677

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-loop/repos/community-staging-x86_64/PKGBUILD (from rev 868676, 
haskell-loop/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-22 13:52:37 UTC (rev 868677)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=loop
+pkgname=haskell-loop
+pkgver=0.3.0
+pkgrel=115
+pkgdesc="Fast loops (for when GHC can't optimize forM_)"
+url="https://github.com/nh2/loop;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('c4f57547dc80a0afdb20f590564f36425b41263b420f64877b26650b8f15479c29c0d87a8bfeb751bf2abb85c019f3b3459ecda8b50ca35627e26599d284f8f8')
+
+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
+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"
+}


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

2021-02-17 Thread Felix Yan via arch-commits
Date: Thursday, February 18, 2021 @ 00:41:42
  Author: felixonmars
Revision: 863206

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-loop/repos/community-staging-x86_64/PKGBUILD (from rev 863205, 
haskell-loop/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-18 00:41:42 UTC (rev 863206)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=loop
+pkgname=haskell-loop
+pkgver=0.3.0
+pkgrel=114
+pkgdesc="Fast loops (for when GHC can't optimize forM_)"
+url="https://github.com/nh2/loop;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('c4f57547dc80a0afdb20f590564f36425b41263b420f64877b26650b8f15479c29c0d87a8bfeb751bf2abb85c019f3b3459ecda8b50ca35627e26599d284f8f8')
+
+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
+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"
+}


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

2021-02-14 Thread Felix Yan via arch-commits
Date: Monday, February 15, 2021 @ 02:54:14
  Author: felixonmars
Revision: 860420

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-loop/repos/community-staging-x86_64/PKGBUILD (from rev 860419, 
haskell-loop/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-15 02:54:14 UTC (rev 860420)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=loop
+pkgname=haskell-loop
+pkgver=0.3.0
+pkgrel=113
+pkgdesc="Fast loops (for when GHC can't optimize forM_)"
+url="https://github.com/nh2/loop;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('c4f57547dc80a0afdb20f590564f36425b41263b420f64877b26650b8f15479c29c0d87a8bfeb751bf2abb85c019f3b3459ecda8b50ca35627e26599d284f8f8')
+
+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
+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"
+}


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

2021-02-12 Thread Felix Yan via arch-commits
Date: Saturday, February 13, 2021 @ 00:09:28
  Author: felixonmars
Revision: 857175

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-loop/repos/community-staging-x86_64/PKGBUILD (from rev 857174, 
haskell-loop/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-13 00:09:28 UTC (rev 857175)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=loop
+pkgname=haskell-loop
+pkgver=0.3.0
+pkgrel=112
+pkgdesc="Fast loops (for when GHC can't optimize forM_)"
+url="https://github.com/nh2/loop;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('c4f57547dc80a0afdb20f590564f36425b41263b420f64877b26650b8f15479c29c0d87a8bfeb751bf2abb85c019f3b3459ecda8b50ca35627e26599d284f8f8')
+
+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
+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"
+}


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

2021-02-10 Thread Felix Yan via arch-commits
Date: Thursday, February 11, 2021 @ 02:01:08
  Author: felixonmars
Revision: 854934

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-loop/repos/community-staging-x86_64/PKGBUILD (from rev 854933, 
haskell-loop/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-11 02:01:08 UTC (rev 854934)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=loop
+pkgname=haskell-loop
+pkgver=0.3.0
+pkgrel=111
+pkgdesc="Fast loops (for when GHC can't optimize forM_)"
+url="https://github.com/nh2/loop;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('c4f57547dc80a0afdb20f590564f36425b41263b420f64877b26650b8f15479c29c0d87a8bfeb751bf2abb85c019f3b3459ecda8b50ca35627e26599d284f8f8')
+
+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
+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"
+}


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

2021-02-09 Thread Felix Yan via arch-commits
Date: Tuesday, February 9, 2021 @ 20:19:56
  Author: felixonmars
Revision: 851545

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-loop/repos/community-staging-x86_64/PKGBUILD (from rev 851544, 
haskell-loop/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-09 20:19:56 UTC (rev 851545)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=loop
+pkgname=haskell-loop
+pkgver=0.3.0
+pkgrel=110
+pkgdesc="Fast loops (for when GHC can't optimize forM_)"
+url="https://github.com/nh2/loop;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('c4f57547dc80a0afdb20f590564f36425b41263b420f64877b26650b8f15479c29c0d87a8bfeb751bf2abb85c019f3b3459ecda8b50ca35627e26599d284f8f8')
+
+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
+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"
+}


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

2021-02-07 Thread Felix Yan via arch-commits
Date: Sunday, February 7, 2021 @ 21:30:32
  Author: felixonmars
Revision: 848342

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-loop/repos/community-staging-x86_64/PKGBUILD (from rev 848341, 
haskell-loop/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-07 21:30:32 UTC (rev 848342)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=loop
+pkgname=haskell-loop
+pkgver=0.3.0
+pkgrel=109
+pkgdesc="Fast loops (for when GHC can't optimize forM_)"
+url="https://github.com/nh2/loop;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('c4f57547dc80a0afdb20f590564f36425b41263b420f64877b26650b8f15479c29c0d87a8bfeb751bf2abb85c019f3b3459ecda8b50ca35627e26599d284f8f8')
+
+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
+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"
+}


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

2021-02-03 Thread Felix Yan via arch-commits
Date: Wednesday, February 3, 2021 @ 19:07:39
  Author: felixonmars
Revision: 843505

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-loop/repos/community-staging-x86_64/PKGBUILD (from rev 843504, 
haskell-loop/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-03 19:07:39 UTC (rev 843505)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=loop
+pkgname=haskell-loop
+pkgver=0.3.0
+pkgrel=108
+pkgdesc="Fast loops (for when GHC can't optimize forM_)"
+url="https://github.com/nh2/loop;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('c4f57547dc80a0afdb20f590564f36425b41263b420f64877b26650b8f15479c29c0d87a8bfeb751bf2abb85c019f3b3459ecda8b50ca35627e26599d284f8f8')
+
+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
+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"
+}


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

2021-02-02 Thread Felix Yan via arch-commits
Date: Tuesday, February 2, 2021 @ 18:44:05
  Author: felixonmars
Revision: 841345

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-loop/repos/community-staging-x86_64/PKGBUILD (from rev 841344, 
haskell-loop/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-02-02 18:44:05 UTC (rev 841345)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=loop
+pkgname=haskell-loop
+pkgver=0.3.0
+pkgrel=107
+pkgdesc="Fast loops (for when GHC can't optimize forM_)"
+url="https://github.com/nh2/loop;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('c4f57547dc80a0afdb20f590564f36425b41263b420f64877b26650b8f15479c29c0d87a8bfeb751bf2abb85c019f3b3459ecda8b50ca35627e26599d284f8f8')
+
+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
+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"
+}


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

2021-01-31 Thread Felix Yan via arch-commits
Date: Sunday, January 31, 2021 @ 17:31:24
  Author: felixonmars
Revision: 838337

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-loop/repos/community-staging-x86_64/PKGBUILD (from rev 838336, 
haskell-loop/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-01-31 17:31:24 UTC (rev 838337)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=loop
+pkgname=haskell-loop
+pkgver=0.3.0
+pkgrel=106
+pkgdesc="Fast loops (for when GHC can't optimize forM_)"
+url="https://github.com/nh2/loop;
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hspec')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('c4f57547dc80a0afdb20f590564f36425b41263b420f64877b26650b8f15479c29c0d87a8bfeb751bf2abb85c019f3b3459ecda8b50ca35627e26599d284f8f8')
+
+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
+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"
+}


  1   2   >