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

2020-12-29 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 11:45:55
  Author: felixonmars
Revision: 796919

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-relude/repos/community-staging-x86_64/PKGBUILD (from rev 
796918, haskell-relude/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 11:45:55 UTC (rev 796919)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=relude
+pkgname=haskell-relude
+pkgver=0.7.0.0
+pkgrel=35
+pkgdesc="Safe, performant, user-friendly and lightweight Haskell Standard 
Library."
+url="https://github.com/kowainik/relude";
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hashable' 'haskell-unordered-containers')
+makedepends=('ghc' 'haskell-doctest' 'haskell-glob' 'haskell-hedgehog')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('c7492118453176e9ffbfca6c6723d4429d1d11f2133325ce06e87353cc80a1bf')
+
+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=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-12-28 Thread Felix Yan via arch-commits
Date: Monday, December 28, 2020 @ 11:24:05
  Author: felixonmars
Revision: 794717

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-relude/repos/community-staging-x86_64/PKGBUILD (from rev 
794716, haskell-relude/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-28 11:24:05 UTC (rev 794717)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=relude
+pkgname=haskell-relude
+pkgver=0.7.0.0
+pkgrel=34
+pkgdesc="Safe, performant, user-friendly and lightweight Haskell Standard 
Library."
+url="https://github.com/kowainik/relude";
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hashable' 'haskell-unordered-containers')
+makedepends=('ghc' 'haskell-doctest' 'haskell-glob' 'haskell-hedgehog')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('c7492118453176e9ffbfca6c6723d4429d1d11f2133325ce06e87353cc80a1bf')
+
+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=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-12-26 Thread Felix Yan via arch-commits
Date: Saturday, December 26, 2020 @ 22:44:33
  Author: felixonmars
Revision: 793179

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-relude/repos/community-staging-x86_64/PKGBUILD (from rev 
793178, haskell-relude/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-26 22:44:33 UTC (rev 793179)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=relude
+pkgname=haskell-relude
+pkgver=0.7.0.0
+pkgrel=33
+pkgdesc="Safe, performant, user-friendly and lightweight Haskell Standard 
Library."
+url="https://github.com/kowainik/relude";
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hashable' 'haskell-unordered-containers')
+makedepends=('ghc' 'haskell-doctest' 'haskell-glob' 'haskell-hedgehog')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('c7492118453176e9ffbfca6c6723d4429d1d11f2133325ce06e87353cc80a1bf')
+
+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=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-12-25 Thread Felix Yan via arch-commits
Date: Saturday, December 26, 2020 @ 02:28:04
  Author: felixonmars
Revision: 791598

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-relude/repos/community-staging-x86_64/PKGBUILD (from rev 
791597, haskell-relude/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-26 02:28:04 UTC (rev 791598)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=relude
+pkgname=haskell-relude
+pkgver=0.7.0.0
+pkgrel=32
+pkgdesc="Safe, performant, user-friendly and lightweight Haskell Standard 
Library."
+url="https://github.com/kowainik/relude";
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hashable' 'haskell-unordered-containers')
+makedepends=('ghc' 'haskell-doctest' 'haskell-glob' 'haskell-hedgehog')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('c7492118453176e9ffbfca6c6723d4429d1d11f2133325ce06e87353cc80a1bf')
+
+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=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-12-24 Thread Felix Yan via arch-commits
Date: Friday, December 25, 2020 @ 02:17:46
  Author: felixonmars
Revision: 789432

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-relude/repos/community-staging-x86_64/PKGBUILD (from rev 
789431, haskell-relude/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-25 02:17:46 UTC (rev 789432)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=relude
+pkgname=haskell-relude
+pkgver=0.7.0.0
+pkgrel=31
+pkgdesc="Safe, performant, user-friendly and lightweight Haskell Standard 
Library."
+url="https://github.com/kowainik/relude";
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hashable' 'haskell-unordered-containers')
+makedepends=('ghc' 'haskell-doctest' 'haskell-glob' 'haskell-hedgehog')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('c7492118453176e9ffbfca6c6723d4429d1d11f2133325ce06e87353cc80a1bf')
+
+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=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

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

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-relude/repos/community-staging-x86_64/PKGBUILD (from rev 
786429, haskell-relude/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-24 05:24:44 UTC (rev 786430)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=relude
+pkgname=haskell-relude
+pkgver=0.7.0.0
+pkgrel=30
+pkgdesc="Safe, performant, user-friendly and lightweight Haskell Standard 
Library."
+url="https://github.com/kowainik/relude";
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hashable' 'haskell-unordered-containers')
+makedepends=('ghc' 'haskell-doctest' 'haskell-glob' 'haskell-hedgehog')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('c7492118453176e9ffbfca6c6723d4429d1d11f2133325ce06e87353cc80a1bf')
+
+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=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

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

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-relude/repos/community-staging-x86_64/PKGBUILD (from rev 
784111, haskell-relude/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-23 11:11:37 UTC (rev 784112)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=relude
+pkgname=haskell-relude
+pkgver=0.7.0.0
+pkgrel=29
+pkgdesc="Safe, performant, user-friendly and lightweight Haskell Standard 
Library."
+url="https://github.com/kowainik/relude";
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hashable' 'haskell-unordered-containers')
+makedepends=('ghc' 'haskell-doctest' 'haskell-glob' 'haskell-hedgehog')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('c7492118453176e9ffbfca6c6723d4429d1d11f2133325ce06e87353cc80a1bf')
+
+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=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-12-21 Thread Felix Yan via arch-commits
Date: Monday, December 21, 2020 @ 17:03:18
  Author: felixonmars
Revision: 781231

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-relude/repos/community-staging-x86_64/PKGBUILD (from rev 
781230, haskell-relude/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-21 17:03:18 UTC (rev 781231)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=relude
+pkgname=haskell-relude
+pkgver=0.7.0.0
+pkgrel=28
+pkgdesc="Safe, performant, user-friendly and lightweight Haskell Standard 
Library."
+url="https://github.com/kowainik/relude";
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hashable' 'haskell-unordered-containers')
+makedepends=('ghc' 'haskell-doctest' 'haskell-glob' 'haskell-hedgehog')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('c7492118453176e9ffbfca6c6723d4429d1d11f2133325ce06e87353cc80a1bf')
+
+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=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-12-18 Thread Felix Yan via arch-commits
Date: Friday, December 18, 2020 @ 10:47:29
  Author: felixonmars
Revision: 778455

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-relude/repos/community-staging-x86_64/PKGBUILD (from rev 
778454, haskell-relude/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-18 10:47:29 UTC (rev 778455)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=relude
+pkgname=haskell-relude
+pkgver=0.7.0.0
+pkgrel=27
+pkgdesc="Safe, performant, user-friendly and lightweight Haskell Standard 
Library."
+url="https://github.com/kowainik/relude";
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hashable' 'haskell-unordered-containers')
+makedepends=('ghc' 'haskell-doctest' 'haskell-glob' 'haskell-hedgehog')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('c7492118453176e9ffbfca6c6723d4429d1d11f2133325ce06e87353cc80a1bf')
+
+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=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-12-14 Thread Felix Yan via arch-commits
Date: Monday, December 14, 2020 @ 12:29:52
  Author: felixonmars
Revision: 774954

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-relude/repos/community-staging-x86_64/PKGBUILD (from rev 
774953, haskell-relude/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-14 12:29:52 UTC (rev 774954)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=relude
+pkgname=haskell-relude
+pkgver=0.7.0.0
+pkgrel=26
+pkgdesc="Safe, performant, user-friendly and lightweight Haskell Standard 
Library."
+url="https://github.com/kowainik/relude";
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hashable' 'haskell-unordered-containers')
+makedepends=('ghc' 'haskell-doctest' 'haskell-glob' 'haskell-hedgehog')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('c7492118453176e9ffbfca6c6723d4429d1d11f2133325ce06e87353cc80a1bf')
+
+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=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

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

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-relude/repos/community-staging-x86_64/PKGBUILD (from rev 
764775, haskell-relude/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-27 23:11:15 UTC (rev 764776)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=relude
+pkgname=haskell-relude
+pkgver=0.7.0.0
+pkgrel=25
+pkgdesc="Safe, performant, user-friendly and lightweight Haskell Standard 
Library."
+url="https://github.com/kowainik/relude";
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hashable' 'haskell-unordered-containers')
+makedepends=('ghc' 'haskell-doctest' 'haskell-glob' 'haskell-hedgehog')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('c7492118453176e9ffbfca6c6723d4429d1d11f2133325ce06e87353cc80a1bf')
+
+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=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

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

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-relude/repos/community-staging-x86_64/PKGBUILD (from rev 
759668, haskell-relude/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-22 22:54:30 UTC (rev 759669)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=relude
+pkgname=haskell-relude
+pkgver=0.7.0.0
+pkgrel=24
+pkgdesc="Safe, performant, user-friendly and lightweight Haskell Standard 
Library."
+url="https://github.com/kowainik/relude";
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hashable' 'haskell-unordered-containers')
+makedepends=('ghc' 'haskell-doctest' 'haskell-glob' 'haskell-hedgehog')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('c7492118453176e9ffbfca6c6723d4429d1d11f2133325ce06e87353cc80a1bf')
+
+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=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-11-16 Thread Felix Yan via arch-commits
Date: Monday, November 16, 2020 @ 13:00:38
  Author: felixonmars
Revision: 755228

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-relude/repos/community-staging-x86_64/PKGBUILD (from rev 
755227, haskell-relude/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-16 13:00:38 UTC (rev 755228)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=relude
+pkgname=haskell-relude
+pkgver=0.7.0.0
+pkgrel=23
+pkgdesc="Safe, performant, user-friendly and lightweight Haskell Standard 
Library."
+url="https://github.com/kowainik/relude";
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hashable' 'haskell-unordered-containers')
+makedepends=('ghc' 'haskell-doctest' 'haskell-glob' 'haskell-hedgehog')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('c7492118453176e9ffbfca6c6723d4429d1d11f2133325ce06e87353cc80a1bf')
+
+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=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-11-06 Thread Felix Yan via arch-commits
Date: Friday, November 6, 2020 @ 18:36:58
  Author: felixonmars
Revision: 744469

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-relude/repos/community-staging-x86_64/PKGBUILD (from rev 
744468, haskell-relude/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-06 18:36:58 UTC (rev 744469)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=relude
+pkgname=haskell-relude
+pkgver=0.7.0.0
+pkgrel=22
+pkgdesc="Safe, performant, user-friendly and lightweight Haskell Standard 
Library."
+url="https://github.com/kowainik/relude";
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hashable' 'haskell-unordered-containers')
+makedepends=('ghc' 'haskell-doctest' 'haskell-glob' 'haskell-hedgehog')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('c7492118453176e9ffbfca6c6723d4429d1d11f2133325ce06e87353cc80a1bf')
+
+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=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-11-02 Thread Felix Yan via arch-commits
Date: Tuesday, November 3, 2020 @ 04:46:50
  Author: felixonmars
Revision: 740209

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-relude/repos/community-staging-x86_64/PKGBUILD (from rev 
740208, haskell-relude/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-03 04:46:50 UTC (rev 740209)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=relude
+pkgname=haskell-relude
+pkgver=0.7.0.0
+pkgrel=21
+pkgdesc="Safe, performant, user-friendly and lightweight Haskell Standard 
Library."
+url="https://github.com/kowainik/relude";
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hashable' 'haskell-unordered-containers')
+makedepends=('ghc' 'haskell-doctest' 'haskell-glob' 'haskell-hedgehog')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('c7492118453176e9ffbfca6c6723d4429d1d11f2133325ce06e87353cc80a1bf')
+
+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=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

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

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-relude/repos/community-staging-x86_64/PKGBUILD (from rev 
737430, haskell-relude/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-31 07:46:04 UTC (rev 737431)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=relude
+pkgname=haskell-relude
+pkgver=0.7.0.0
+pkgrel=20
+pkgdesc="Safe, performant, user-friendly and lightweight Haskell Standard 
Library."
+url="https://github.com/kowainik/relude";
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hashable' 'haskell-unordered-containers')
+makedepends=('ghc' 'haskell-doctest' 'haskell-glob' 'haskell-hedgehog')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('c7492118453176e9ffbfca6c6723d4429d1d11f2133325ce06e87353cc80a1bf')
+
+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=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-10-28 Thread Felix Yan via arch-commits
Date: Wednesday, October 28, 2020 @ 18:54:49
  Author: felixonmars
Revision: 735654

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-relude/repos/community-staging-x86_64/PKGBUILD (from rev 
735653, haskell-relude/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-28 18:54:49 UTC (rev 735654)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=relude
+pkgname=haskell-relude
+pkgver=0.7.0.0
+pkgrel=19
+pkgdesc="Safe, performant, user-friendly and lightweight Haskell Standard 
Library."
+url="https://github.com/kowainik/relude";
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hashable' 'haskell-unordered-containers')
+makedepends=('ghc' 'haskell-doctest' 'haskell-glob' 'haskell-hedgehog')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('c7492118453176e9ffbfca6c6723d4429d1d11f2133325ce06e87353cc80a1bf')
+
+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=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-10-25 Thread Felix Yan via arch-commits
Date: Sunday, October 25, 2020 @ 09:20:54
  Author: felixonmars
Revision: 732199

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-relude/repos/community-staging-x86_64/PKGBUILD (from rev 
732198, haskell-relude/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-25 09:20:54 UTC (rev 732199)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=relude
+pkgname=haskell-relude
+pkgver=0.7.0.0
+pkgrel=18
+pkgdesc="Safe, performant, user-friendly and lightweight Haskell Standard 
Library."
+url="https://github.com/kowainik/relude";
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hashable' 'haskell-unordered-containers')
+makedepends=('ghc' 'haskell-doctest' 'haskell-glob' 'haskell-hedgehog')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('c7492118453176e9ffbfca6c6723d4429d1d11f2133325ce06e87353cc80a1bf')
+
+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=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-10-22 Thread Felix Yan via arch-commits
Date: Thursday, October 22, 2020 @ 10:25:56
  Author: felixonmars
Revision: 728945

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-relude/repos/community-staging-x86_64/PKGBUILD (from rev 
728944, haskell-relude/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-22 10:25:56 UTC (rev 728945)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=relude
+pkgname=haskell-relude
+pkgver=0.7.0.0
+pkgrel=17
+pkgdesc="Safe, performant, user-friendly and lightweight Haskell Standard 
Library."
+url="https://github.com/kowainik/relude";
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hashable' 'haskell-unordered-containers')
+makedepends=('ghc' 'haskell-doctest' 'haskell-glob' 'haskell-hedgehog')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('c7492118453176e9ffbfca6c6723d4429d1d11f2133325ce06e87353cc80a1bf')
+
+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=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-10-17 Thread Felix Yan via arch-commits
Date: Saturday, October 17, 2020 @ 22:18:50
  Author: felixonmars
Revision: 725655

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-relude/repos/community-staging-x86_64/PKGBUILD (from rev 
725654, haskell-relude/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-17 22:18:50 UTC (rev 725655)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=relude
+pkgname=haskell-relude
+pkgver=0.7.0.0
+pkgrel=16
+pkgdesc="Safe, performant, user-friendly and lightweight Haskell Standard 
Library."
+url="https://github.com/kowainik/relude";
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hashable' 'haskell-unordered-containers')
+makedepends=('ghc' 'haskell-doctest' 'haskell-glob' 'haskell-hedgehog')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('c7492118453176e9ffbfca6c6723d4429d1d11f2133325ce06e87353cc80a1bf')
+
+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=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-10-09 Thread Felix Yan via arch-commits
Date: Friday, October 9, 2020 @ 17:38:28
  Author: felixonmars
Revision: 722589

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-relude/repos/community-staging-x86_64/PKGBUILD (from rev 
722588, haskell-relude/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-09 17:38:28 UTC (rev 722589)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=relude
+pkgname=haskell-relude
+pkgver=0.7.0.0
+pkgrel=15
+pkgdesc="Safe, performant, user-friendly and lightweight Haskell Standard 
Library."
+url="https://github.com/kowainik/relude";
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hashable' 'haskell-unordered-containers')
+makedepends=('ghc' 'haskell-doctest' 'haskell-glob' 'haskell-hedgehog')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('c7492118453176e9ffbfca6c6723d4429d1d11f2133325ce06e87353cc80a1bf')
+
+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=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-10-07 Thread Felix Yan via arch-commits
Date: Wednesday, October 7, 2020 @ 13:36:38
  Author: felixonmars
Revision: 720553

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-relude/repos/community-staging-x86_64/PKGBUILD (from rev 
720552, haskell-relude/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-07 13:36:38 UTC (rev 720553)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=relude
+pkgname=haskell-relude
+pkgver=0.7.0.0
+pkgrel=14
+pkgdesc="Safe, performant, user-friendly and lightweight Haskell Standard 
Library."
+url="https://github.com/kowainik/relude";
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hashable' 'haskell-unordered-containers')
+makedepends=('ghc' 'haskell-doctest' 'haskell-glob' 'haskell-hedgehog')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('c7492118453176e9ffbfca6c6723d4429d1d11f2133325ce06e87353cc80a1bf')
+
+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=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-10-04 Thread Felix Yan via arch-commits
Date: Sunday, October 4, 2020 @ 10:34:02
  Author: felixonmars
Revision: 717537

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-relude/repos/community-staging-x86_64/PKGBUILD (from rev 
717536, haskell-relude/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-04 10:34:02 UTC (rev 717537)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=relude
+pkgname=haskell-relude
+pkgver=0.7.0.0
+pkgrel=13
+pkgdesc="Safe, performant, user-friendly and lightweight Haskell Standard 
Library."
+url="https://github.com/kowainik/relude";
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hashable' 'haskell-unordered-containers')
+makedepends=('ghc' 'haskell-doctest' 'haskell-glob' 'haskell-hedgehog')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('c7492118453176e9ffbfca6c6723d4429d1d11f2133325ce06e87353cc80a1bf')
+
+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=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-10-02 Thread Felix Yan via arch-commits
Date: Friday, October 2, 2020 @ 11:34:49
  Author: felixonmars
Revision: 715314

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-relude/repos/community-staging-x86_64/PKGBUILD (from rev 
715313, haskell-relude/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-02 11:34:49 UTC (rev 715314)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=relude
+pkgname=haskell-relude
+pkgver=0.7.0.0
+pkgrel=12
+pkgdesc="Safe, performant, user-friendly and lightweight Haskell Standard 
Library."
+url="https://github.com/kowainik/relude";
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hashable' 'haskell-unordered-containers')
+makedepends=('ghc' 'haskell-doctest' 'haskell-glob' 'haskell-hedgehog')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('c7492118453176e9ffbfca6c6723d4429d1d11f2133325ce06e87353cc80a1bf')
+
+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=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-09-17 Thread Felix Yan via arch-commits
Date: Friday, September 18, 2020 @ 04:07:57
  Author: felixonmars
Revision: 709685

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-relude/repos/community-staging-x86_64/PKGBUILD (from rev 
709684, haskell-relude/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-18 04:07:57 UTC (rev 709685)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=relude
+pkgname=haskell-relude
+pkgver=0.7.0.0
+pkgrel=11
+pkgdesc="Safe, performant, user-friendly and lightweight Haskell Standard 
Library."
+url="https://github.com/kowainik/relude";
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hashable' 'haskell-unordered-containers')
+makedepends=('ghc' 'haskell-doctest' 'haskell-glob' 'haskell-hedgehog')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('c7492118453176e9ffbfca6c6723d4429d1d11f2133325ce06e87353cc80a1bf')
+
+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=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

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

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-relude/repos/community-staging-x86_64/PKGBUILD (from rev 
706964, haskell-relude/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-15 07:23:23 UTC (rev 706965)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=relude
+pkgname=haskell-relude
+pkgver=0.7.0.0
+pkgrel=10
+pkgdesc="Safe, performant, user-friendly and lightweight Haskell Standard 
Library."
+url="https://github.com/kowainik/relude";
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hashable' 'haskell-unordered-containers')
+makedepends=('ghc' 'haskell-doctest' 'haskell-glob' 'haskell-hedgehog')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('c7492118453176e9ffbfca6c6723d4429d1d11f2133325ce06e87353cc80a1bf')
+
+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=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-09-12 Thread Felix Yan via arch-commits
Date: Saturday, September 12, 2020 @ 20:26:37
  Author: felixonmars
Revision: 704773

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-relude/repos/community-staging-x86_64/PKGBUILD (from rev 
704772, haskell-relude/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-12 20:26:37 UTC (rev 704773)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=relude
+pkgname=haskell-relude
+pkgver=0.7.0.0
+pkgrel=9
+pkgdesc="Safe, performant, user-friendly and lightweight Haskell Standard 
Library."
+url="https://github.com/kowainik/relude";
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hashable' 'haskell-unordered-containers')
+makedepends=('ghc' 'haskell-doctest' 'haskell-glob' 'haskell-hedgehog')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('c7492118453176e9ffbfca6c6723d4429d1d11f2133325ce06e87353cc80a1bf')
+
+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=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-09-11 Thread Felix Yan via arch-commits
Date: Friday, September 11, 2020 @ 10:19:06
  Author: felixonmars
Revision: 702650

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-relude/repos/community-staging-x86_64/PKGBUILD (from rev 
702649, haskell-relude/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-11 10:19:06 UTC (rev 702650)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=relude
+pkgname=haskell-relude
+pkgver=0.7.0.0
+pkgrel=8
+pkgdesc="Safe, performant, user-friendly and lightweight Haskell Standard 
Library."
+url="https://github.com/kowainik/relude";
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hashable' 'haskell-unordered-containers')
+makedepends=('ghc' 'haskell-doctest' 'haskell-glob' 'haskell-hedgehog')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('c7492118453176e9ffbfca6c6723d4429d1d11f2133325ce06e87353cc80a1bf')
+
+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=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

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

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-relude/repos/community-staging-x86_64/PKGBUILD (from rev 
700226, haskell-relude/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-07 19:37:19 UTC (rev 700227)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=relude
+pkgname=haskell-relude
+pkgver=0.7.0.0
+pkgrel=7
+pkgdesc="Safe, performant, user-friendly and lightweight Haskell Standard 
Library."
+url="https://github.com/kowainik/relude";
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hashable' 'haskell-unordered-containers')
+makedepends=('ghc' 'haskell-doctest' 'haskell-glob' 'haskell-hedgehog')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('c7492118453176e9ffbfca6c6723d4429d1d11f2133325ce06e87353cc80a1bf')
+
+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=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-09-04 Thread Felix Yan via arch-commits
Date: Friday, September 4, 2020 @ 20:10:06
  Author: felixonmars
Revision: 698566

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-relude/repos/community-staging-x86_64/PKGBUILD (from rev 
698565, haskell-relude/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-04 20:10:06 UTC (rev 698566)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=relude
+pkgname=haskell-relude
+pkgver=0.7.0.0
+pkgrel=6
+pkgdesc="Safe, performant, user-friendly and lightweight Haskell Standard 
Library."
+url="https://github.com/kowainik/relude";
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hashable' 'haskell-unordered-containers')
+makedepends=('ghc' 'haskell-doctest' 'haskell-glob' 'haskell-hedgehog')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('c7492118453176e9ffbfca6c6723d4429d1d11f2133325ce06e87353cc80a1bf')
+
+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=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-09-03 Thread Felix Yan via arch-commits
Date: Thursday, September 3, 2020 @ 13:46:18
  Author: felixonmars
Revision: 697387

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-relude/repos/community-staging-x86_64/PKGBUILD (from rev 
697386, haskell-relude/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-03 13:46:18 UTC (rev 697387)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=relude
+pkgname=haskell-relude
+pkgver=0.7.0.0
+pkgrel=5
+pkgdesc="Safe, performant, user-friendly and lightweight Haskell Standard 
Library."
+url="https://github.com/kowainik/relude";
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hashable' 'haskell-unordered-containers')
+makedepends=('ghc' 'haskell-doctest' 'haskell-glob' 'haskell-hedgehog')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('c7492118453176e9ffbfca6c6723d4429d1d11f2133325ce06e87353cc80a1bf')
+
+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=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-08-31 Thread Felix Yan via arch-commits
Date: Monday, August 31, 2020 @ 09:37:46
  Author: felixonmars
Revision: 694010

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-relude/repos/community-staging-x86_64/PKGBUILD (from rev 
694009, haskell-relude/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-31 09:37:46 UTC (rev 694010)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=relude
+pkgname=haskell-relude
+pkgver=0.7.0.0
+pkgrel=4
+pkgdesc="Safe, performant, user-friendly and lightweight Haskell Standard 
Library."
+url="https://github.com/kowainik/relude";
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hashable' 'haskell-unordered-containers')
+makedepends=('ghc' 'haskell-doctest' 'haskell-glob' 'haskell-hedgehog')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('c7492118453176e9ffbfca6c6723d4429d1d11f2133325ce06e87353cc80a1bf')
+
+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=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-08-28 Thread Felix Yan via arch-commits
Date: Friday, August 28, 2020 @ 19:03:47
  Author: felixonmars
Revision: 691167

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-relude/repos/community-staging-x86_64/PKGBUILD (from rev 
691166, haskell-relude/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-28 19:03:47 UTC (rev 691167)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=relude
+pkgname=haskell-relude
+pkgver=0.7.0.0
+pkgrel=3
+pkgdesc="Safe, performant, user-friendly and lightweight Haskell Standard 
Library."
+url="https://github.com/kowainik/relude";
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hashable' 'haskell-unordered-containers')
+makedepends=('ghc' 'haskell-doctest' 'haskell-glob' 'haskell-hedgehog')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('c7492118453176e9ffbfca6c6723d4429d1d11f2133325ce06e87353cc80a1bf')
+
+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=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-08-25 Thread Felix Yan via arch-commits
Date: Tuesday, August 25, 2020 @ 21:35:14
  Author: felixonmars
Revision: 688768

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-relude/repos/community-staging-x86_64/PKGBUILD (from rev 
688767, haskell-relude/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-25 21:35:14 UTC (rev 688768)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=relude
+pkgname=haskell-relude
+pkgver=0.7.0.0
+pkgrel=2
+pkgdesc="Safe, performant, user-friendly and lightweight Haskell Standard 
Library."
+url="https://github.com/kowainik/relude";
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hashable' 'haskell-unordered-containers')
+makedepends=('ghc' 'haskell-doctest' 'haskell-glob' 'haskell-hedgehog')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('c7492118453176e9ffbfca6c6723d4429d1d11f2133325ce06e87353cc80a1bf')
+
+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=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build $MAKEFLAGS
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-08-21 Thread Felix Yan via arch-commits
Date: Friday, August 21, 2020 @ 16:46:19
  Author: felixonmars
Revision: 686303

archrelease: copy trunk to community-x86_64

Added:
  haskell-relude/repos/community-x86_64/
  haskell-relude/repos/community-x86_64/PKGBUILD
(from rev 686302, haskell-relude/trunk/PKGBUILD)

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

Copied: haskell-relude/repos/community-x86_64/PKGBUILD (from rev 686302, 
haskell-relude/trunk/PKGBUILD)
===
--- community-x86_64/PKGBUILD   (rev 0)
+++ community-x86_64/PKGBUILD   2020-08-21 16:46:19 UTC (rev 686303)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: berberman 
+
+_hkgname=relude
+pkgname=haskell-relude
+pkgver=0.7.0.0
+pkgrel=1
+pkgdesc="Safe, performant, user-friendly and lightweight Haskell Standard 
Library."
+url="https://github.com/kowainik/relude";
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hashable' 'haskell-unordered-containers')
+makedepends=('ghc' 'haskell-doctest' 'haskell-glob' 'haskell-hedgehog')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('c7492118453176e9ffbfca6c6723d4429d1d11f2133325ce06e87353cc80a1bf')
+
+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=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+  rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}