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

2020-12-29 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 09:40:42
  Author: felixonmars
Revision: 796659

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-modern-uri/repos/community-staging-x86_64/
  haskell-modern-uri/repos/community-staging-x86_64/PKGBUILD
(from rev 796658, haskell-modern-uri/trunk/PKGBUILD)

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

Copied: haskell-modern-uri/repos/community-staging-x86_64/PKGBUILD (from rev 
796658, haskell-modern-uri/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 09:40:42 UTC (rev 796659)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=modern-uri
+pkgname=haskell-modern-uri
+pkgver=0.3.3.0
+pkgrel=18
+pkgdesc="Modern library for working with URIs"
+url="https://github.com/mrkkrp/modern-uri;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-quickcheck' 'haskell-contravariant' 
'haskell-megaparsec'
+ 'haskell-profunctors' 'haskell-reflection' 'haskell-tagged')
+makedepends=('ghc' 'haskell-hspec' 'haskell-hspec-megaparsec' 
'haskell-hspec-discover')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('631f4d679feb29897d806c94d183cac6101d6f266cde6d420f63ead21f26266bfee97a29f3e5010ef8efbcb5906874b67bc2d3da6970df43708f3f5ebe09ba66')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}


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

2020-12-28 Thread Felix Yan via arch-commits
Date: Monday, December 28, 2020 @ 09:35:10
  Author: felixonmars
Revision: 794473

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-modern-uri/repos/community-staging-x86_64/
  haskell-modern-uri/repos/community-staging-x86_64/PKGBUILD
(from rev 794472, haskell-modern-uri/trunk/PKGBUILD)

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

Copied: haskell-modern-uri/repos/community-staging-x86_64/PKGBUILD (from rev 
794472, haskell-modern-uri/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-28 09:35:10 UTC (rev 794473)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=modern-uri
+pkgname=haskell-modern-uri
+pkgver=0.3.3.0
+pkgrel=17
+pkgdesc="Modern library for working with URIs"
+url="https://github.com/mrkkrp/modern-uri;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-quickcheck' 'haskell-contravariant' 
'haskell-megaparsec'
+ 'haskell-profunctors' 'haskell-reflection' 'haskell-tagged')
+makedepends=('ghc' 'haskell-hspec' 'haskell-hspec-megaparsec' 
'haskell-hspec-discover')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('631f4d679feb29897d806c94d183cac6101d6f266cde6d420f63ead21f26266bfee97a29f3e5010ef8efbcb5906874b67bc2d3da6970df43708f3f5ebe09ba66')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}


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

2020-12-25 Thread Felix Yan via arch-commits
Date: Saturday, December 26, 2020 @ 02:44:17
  Author: felixonmars
Revision: 791646

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-modern-uri/repos/community-staging-x86_64/
  haskell-modern-uri/repos/community-staging-x86_64/PKGBUILD
(from rev 791645, haskell-modern-uri/trunk/PKGBUILD)

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

Copied: haskell-modern-uri/repos/community-staging-x86_64/PKGBUILD (from rev 
791645, haskell-modern-uri/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-26 02:44:17 UTC (rev 791646)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=modern-uri
+pkgname=haskell-modern-uri
+pkgver=0.3.3.0
+pkgrel=16
+pkgdesc="Modern library for working with URIs"
+url="https://github.com/mrkkrp/modern-uri;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-quickcheck' 'haskell-contravariant' 
'haskell-megaparsec'
+ 'haskell-profunctors' 'haskell-reflection' 'haskell-tagged')
+makedepends=('ghc' 'haskell-hspec' 'haskell-hspec-megaparsec' 
'haskell-hspec-discover')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('631f4d679feb29897d806c94d183cac6101d6f266cde6d420f63ead21f26266bfee97a29f3e5010ef8efbcb5906874b67bc2d3da6970df43708f3f5ebe09ba66')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}


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

2020-12-24 Thread Felix Yan via arch-commits
Date: Friday, December 25, 2020 @ 00:23:45
  Author: felixonmars
Revision: 789282

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-modern-uri/repos/community-staging-x86_64/
  haskell-modern-uri/repos/community-staging-x86_64/PKGBUILD
(from rev 789281, haskell-modern-uri/trunk/PKGBUILD)

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

Copied: haskell-modern-uri/repos/community-staging-x86_64/PKGBUILD (from rev 
789281, haskell-modern-uri/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-25 00:23:45 UTC (rev 789282)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=modern-uri
+pkgname=haskell-modern-uri
+pkgver=0.3.3.0
+pkgrel=15
+pkgdesc="Modern library for working with URIs"
+url="https://github.com/mrkkrp/modern-uri;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-quickcheck' 'haskell-contravariant' 
'haskell-megaparsec'
+ 'haskell-profunctors' 'haskell-reflection' 'haskell-tagged')
+makedepends=('ghc' 'haskell-hspec' 'haskell-hspec-megaparsec' 
'haskell-hspec-discover')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('631f4d679feb29897d806c94d183cac6101d6f266cde6d420f63ead21f26266bfee97a29f3e5010ef8efbcb5906874b67bc2d3da6970df43708f3f5ebe09ba66')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}


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

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

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-modern-uri/repos/community-staging-x86_64/
  haskell-modern-uri/repos/community-staging-x86_64/PKGBUILD
(from rev 786469, haskell-modern-uri/trunk/PKGBUILD)

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

Copied: haskell-modern-uri/repos/community-staging-x86_64/PKGBUILD (from rev 
786469, haskell-modern-uri/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-24 05:39:30 UTC (rev 786470)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=modern-uri
+pkgname=haskell-modern-uri
+pkgver=0.3.3.0
+pkgrel=14
+pkgdesc="Modern library for working with URIs"
+url="https://github.com/mrkkrp/modern-uri;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-quickcheck' 'haskell-contravariant' 
'haskell-megaparsec'
+ 'haskell-profunctors' 'haskell-reflection' 'haskell-tagged')
+makedepends=('ghc' 'haskell-hspec' 'haskell-hspec-megaparsec' 
'haskell-hspec-discover')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('631f4d679feb29897d806c94d183cac6101d6f266cde6d420f63ead21f26266bfee97a29f3e5010ef8efbcb5906874b67bc2d3da6970df43708f3f5ebe09ba66')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}


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

2020-12-22 Thread Felix Yan via arch-commits
Date: Wednesday, December 23, 2020 @ 06:41:34
  Author: felixonmars
Revision: 783805

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-modern-uri/repos/community-staging-x86_64/
  haskell-modern-uri/repos/community-staging-x86_64/PKGBUILD
(from rev 783804, haskell-modern-uri/trunk/PKGBUILD)

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

Copied: haskell-modern-uri/repos/community-staging-x86_64/PKGBUILD (from rev 
783804, haskell-modern-uri/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-23 06:41:34 UTC (rev 783805)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=modern-uri
+pkgname=haskell-modern-uri
+pkgver=0.3.3.0
+pkgrel=13
+pkgdesc="Modern library for working with URIs"
+url="https://github.com/mrkkrp/modern-uri;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-quickcheck' 'haskell-contravariant' 
'haskell-megaparsec'
+ 'haskell-profunctors' 'haskell-reflection' 'haskell-tagged')
+makedepends=('ghc' 'haskell-hspec' 'haskell-hspec-megaparsec' 
'haskell-hspec-discover')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('631f4d679feb29897d806c94d183cac6101d6f266cde6d420f63ead21f26266bfee97a29f3e5010ef8efbcb5906874b67bc2d3da6970df43708f3f5ebe09ba66')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}


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

2020-12-22 Thread Felix Yan via arch-commits
Date: Tuesday, December 22, 2020 @ 18:23:13
  Author: felixonmars
Revision: 782727

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-modern-uri/repos/community-staging-x86_64/
  haskell-modern-uri/repos/community-staging-x86_64/PKGBUILD
(from rev 782726, haskell-modern-uri/trunk/PKGBUILD)

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

Copied: haskell-modern-uri/repos/community-staging-x86_64/PKGBUILD (from rev 
782726, haskell-modern-uri/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-22 18:23:13 UTC (rev 782727)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=modern-uri
+pkgname=haskell-modern-uri
+pkgver=0.3.3.0
+pkgrel=12
+pkgdesc="Modern library for working with URIs"
+url="https://github.com/mrkkrp/modern-uri;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-quickcheck' 'haskell-contravariant' 
'haskell-megaparsec'
+ 'haskell-profunctors' 'haskell-reflection' 'haskell-tagged')
+makedepends=('ghc' 'haskell-hspec' 'haskell-hspec-megaparsec' 
'haskell-hspec-discover')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('631f4d679feb29897d806c94d183cac6101d6f266cde6d420f63ead21f26266bfee97a29f3e5010ef8efbcb5906874b67bc2d3da6970df43708f3f5ebe09ba66')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}


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

2020-12-20 Thread Felix Yan via arch-commits
Date: Sunday, December 20, 2020 @ 18:17:25
  Author: felixonmars
Revision: 780585

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-modern-uri/repos/community-staging-x86_64/
  haskell-modern-uri/repos/community-staging-x86_64/PKGBUILD
(from rev 780584, haskell-modern-uri/trunk/PKGBUILD)

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

Copied: haskell-modern-uri/repos/community-staging-x86_64/PKGBUILD (from rev 
780584, haskell-modern-uri/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-20 18:17:25 UTC (rev 780585)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=modern-uri
+pkgname=haskell-modern-uri
+pkgver=0.3.3.0
+pkgrel=10
+pkgdesc="Modern library for working with URIs"
+url="https://github.com/mrkkrp/modern-uri;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-quickcheck' 'haskell-contravariant' 
'haskell-megaparsec'
+ 'haskell-profunctors' 'haskell-reflection' 'haskell-tagged')
+makedepends=('ghc' 'haskell-hspec' 'haskell-hspec-megaparsec' 
'haskell-hspec-discover')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('631f4d679feb29897d806c94d183cac6101d6f266cde6d420f63ead21f26266bfee97a29f3e5010ef8efbcb5906874b67bc2d3da6970df43708f3f5ebe09ba66')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}


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

2020-12-17 Thread Felix Yan via arch-commits
Date: Thursday, December 17, 2020 @ 19:31:45
  Author: felixonmars
Revision: 777893

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-modern-uri/repos/community-staging-x86_64/
  haskell-modern-uri/repos/community-staging-x86_64/PKGBUILD
(from rev 777892, haskell-modern-uri/trunk/PKGBUILD)

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

Copied: haskell-modern-uri/repos/community-staging-x86_64/PKGBUILD (from rev 
777892, haskell-modern-uri/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-17 19:31:45 UTC (rev 777893)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=modern-uri
+pkgname=haskell-modern-uri
+pkgver=0.3.3.0
+pkgrel=9
+pkgdesc="Modern library for working with URIs"
+url="https://github.com/mrkkrp/modern-uri;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-quickcheck' 'haskell-contravariant' 
'haskell-megaparsec'
+ 'haskell-profunctors' 'haskell-reflection' 'haskell-tagged')
+makedepends=('ghc' 'haskell-hspec' 'haskell-hspec-megaparsec' 
'haskell-hspec-discover')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('631f4d679feb29897d806c94d183cac6101d6f266cde6d420f63ead21f26266bfee97a29f3e5010ef8efbcb5906874b67bc2d3da6970df43708f3f5ebe09ba66')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}


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

2020-12-16 Thread Felix Yan via arch-commits
Date: Wednesday, December 16, 2020 @ 10:35:51
  Author: felixonmars
Revision: 776617

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-modern-uri/repos/community-staging-x86_64/
  haskell-modern-uri/repos/community-staging-x86_64/PKGBUILD
(from rev 776616, haskell-modern-uri/trunk/PKGBUILD)

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

Copied: haskell-modern-uri/repos/community-staging-x86_64/PKGBUILD (from rev 
776616, haskell-modern-uri/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-16 10:35:51 UTC (rev 776617)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=modern-uri
+pkgname=haskell-modern-uri
+pkgver=0.3.3.0
+pkgrel=8
+pkgdesc="Modern library for working with URIs"
+url="https://github.com/mrkkrp/modern-uri;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-quickcheck' 'haskell-contravariant' 
'haskell-megaparsec'
+ 'haskell-profunctors' 'haskell-reflection' 'haskell-tagged')
+makedepends=('ghc' 'haskell-hspec' 'haskell-hspec-megaparsec' 
'haskell-hspec-discover')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('631f4d679feb29897d806c94d183cac6101d6f266cde6d420f63ead21f26266bfee97a29f3e5010ef8efbcb5906874b67bc2d3da6970df43708f3f5ebe09ba66')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}


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

2020-12-13 Thread Felix Yan via arch-commits
Date: Sunday, December 13, 2020 @ 15:40:04
  Author: felixonmars
Revision: 774460

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-modern-uri/repos/community-staging-x86_64/
  haskell-modern-uri/repos/community-staging-x86_64/PKGBUILD
(from rev 774459, haskell-modern-uri/trunk/PKGBUILD)

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

Copied: haskell-modern-uri/repos/community-staging-x86_64/PKGBUILD (from rev 
774459, haskell-modern-uri/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-13 15:40:04 UTC (rev 774460)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=modern-uri
+pkgname=haskell-modern-uri
+pkgver=0.3.3.0
+pkgrel=7
+pkgdesc="Modern library for working with URIs"
+url="https://github.com/mrkkrp/modern-uri;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-quickcheck' 'haskell-contravariant' 
'haskell-megaparsec'
+ 'haskell-profunctors' 'haskell-reflection' 'haskell-tagged')
+makedepends=('ghc' 'haskell-hspec' 'haskell-hspec-megaparsec' 
'haskell-hspec-discover')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('631f4d679feb29897d806c94d183cac6101d6f266cde6d420f63ead21f26266bfee97a29f3e5010ef8efbcb5906874b67bc2d3da6970df43708f3f5ebe09ba66')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}


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

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

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-modern-uri/repos/community-staging-x86_64/
  haskell-modern-uri/repos/community-staging-x86_64/PKGBUILD
(from rev 764568, haskell-modern-uri/trunk/PKGBUILD)

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

Copied: haskell-modern-uri/repos/community-staging-x86_64/PKGBUILD (from rev 
764568, haskell-modern-uri/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-27 18:15:49 UTC (rev 764569)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=modern-uri
+pkgname=haskell-modern-uri
+pkgver=0.3.3.0
+pkgrel=6
+pkgdesc="Modern library for working with URIs"
+url="https://github.com/mrkkrp/modern-uri;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-quickcheck' 'haskell-contravariant' 
'haskell-megaparsec'
+ 'haskell-profunctors' 'haskell-reflection' 'haskell-tagged')
+makedepends=('ghc' 'haskell-hspec' 'haskell-hspec-megaparsec' 
'haskell-hspec-discover')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('631f4d679feb29897d806c94d183cac6101d6f266cde6d420f63ead21f26266bfee97a29f3e5010ef8efbcb5906874b67bc2d3da6970df43708f3f5ebe09ba66')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}


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

2020-11-22 Thread Felix Yan via arch-commits
Date: Sunday, November 22, 2020 @ 17:14:16
  Author: felixonmars
Revision: 759281

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-modern-uri/repos/community-staging-x86_64/
  haskell-modern-uri/repos/community-staging-x86_64/PKGBUILD
(from rev 759280, haskell-modern-uri/trunk/PKGBUILD)

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

Copied: haskell-modern-uri/repos/community-staging-x86_64/PKGBUILD (from rev 
759280, haskell-modern-uri/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-22 17:14:16 UTC (rev 759281)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=modern-uri
+pkgname=haskell-modern-uri
+pkgver=0.3.3.0
+pkgrel=5
+pkgdesc="Modern library for working with URIs"
+url="https://github.com/mrkkrp/modern-uri;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-quickcheck' 'haskell-contravariant' 
'haskell-megaparsec'
+ 'haskell-profunctors' 'haskell-reflection' 'haskell-tagged')
+makedepends=('ghc' 'haskell-hspec' 'haskell-hspec-megaparsec' 
'haskell-hspec-discover')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('631f4d679feb29897d806c94d183cac6101d6f266cde6d420f63ead21f26266bfee97a29f3e5010ef8efbcb5906874b67bc2d3da6970df43708f3f5ebe09ba66')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}


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

2020-11-16 Thread Felix Yan via arch-commits
Date: Monday, November 16, 2020 @ 16:07:11
  Author: felixonmars
Revision: 755358

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-modern-uri/repos/community-staging-x86_64/
  haskell-modern-uri/repos/community-staging-x86_64/PKGBUILD
(from rev 755357, haskell-modern-uri/trunk/PKGBUILD)

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

Copied: haskell-modern-uri/repos/community-staging-x86_64/PKGBUILD (from rev 
755357, haskell-modern-uri/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-16 16:07:11 UTC (rev 755358)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=modern-uri
+pkgname=haskell-modern-uri
+pkgver=0.3.3.0
+pkgrel=4
+pkgdesc="Modern library for working with URIs"
+url="https://github.com/mrkkrp/modern-uri;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-quickcheck' 'haskell-contravariant' 
'haskell-megaparsec'
+ 'haskell-profunctors' 'haskell-reflection' 'haskell-tagged')
+makedepends=('ghc' 'haskell-hspec' 'haskell-hspec-megaparsec' 
'haskell-hspec-discover')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('631f4d679feb29897d806c94d183cac6101d6f266cde6d420f63ead21f26266bfee97a29f3e5010ef8efbcb5906874b67bc2d3da6970df43708f3f5ebe09ba66')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}


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

2020-11-07 Thread Felix Yan via arch-commits
Date: Saturday, November 7, 2020 @ 10:25:28
  Author: felixonmars
Revision: 745585

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-modern-uri/repos/community-staging-x86_64/
  haskell-modern-uri/repos/community-staging-x86_64/PKGBUILD
(from rev 745584, haskell-modern-uri/trunk/PKGBUILD)

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

Copied: haskell-modern-uri/repos/community-staging-x86_64/PKGBUILD (from rev 
745584, haskell-modern-uri/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-07 10:25:28 UTC (rev 745585)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=modern-uri
+pkgname=haskell-modern-uri
+pkgver=0.3.3.0
+pkgrel=3
+pkgdesc="Modern library for working with URIs"
+url="https://github.com/mrkkrp/modern-uri;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-quickcheck' 'haskell-contravariant' 
'haskell-megaparsec'
+ 'haskell-profunctors' 'haskell-reflection' 'haskell-tagged')
+makedepends=('ghc' 'haskell-hspec' 'haskell-hspec-megaparsec' 
'haskell-hspec-discover')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('631f4d679feb29897d806c94d183cac6101d6f266cde6d420f63ead21f26266bfee97a29f3e5010ef8efbcb5906874b67bc2d3da6970df43708f3f5ebe09ba66')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}


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

2020-11-06 Thread Felix Yan via arch-commits
Date: Friday, November 6, 2020 @ 13:08:34
  Author: felixonmars
Revision: 744215

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-modern-uri/repos/community-staging-x86_64/
  haskell-modern-uri/repos/community-staging-x86_64/PKGBUILD
(from rev 744214, haskell-modern-uri/trunk/PKGBUILD)

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

Copied: haskell-modern-uri/repos/community-staging-x86_64/PKGBUILD (from rev 
744214, haskell-modern-uri/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-06 13:08:34 UTC (rev 744215)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=modern-uri
+pkgname=haskell-modern-uri
+pkgver=0.3.3.0
+pkgrel=2
+pkgdesc="Modern library for working with URIs"
+url="https://github.com/mrkkrp/modern-uri;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-quickcheck' 'haskell-contravariant' 
'haskell-megaparsec'
+ 'haskell-profunctors' 'haskell-reflection' 'haskell-tagged')
+makedepends=('ghc' 'haskell-hspec' 'haskell-hspec-megaparsec' 
'haskell-hspec-discover')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('631f4d679feb29897d806c94d183cac6101d6f266cde6d420f63ead21f26266bfee97a29f3e5010ef8efbcb5906874b67bc2d3da6970df43708f3f5ebe09ba66')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}


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

2020-11-03 Thread Felix Yan via arch-commits
Date: Tuesday, November 3, 2020 @ 18:22:21
  Author: felixonmars
Revision: 741187

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-modern-uri/repos/community-staging-x86_64/
  haskell-modern-uri/repos/community-staging-x86_64/PKGBUILD
(from rev 741186, haskell-modern-uri/trunk/PKGBUILD)

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

Copied: haskell-modern-uri/repos/community-staging-x86_64/PKGBUILD (from rev 
741186, haskell-modern-uri/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-03 18:22:21 UTC (rev 741187)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=modern-uri
+pkgname=haskell-modern-uri
+pkgver=0.3.3.0
+pkgrel=1
+pkgdesc="Modern library for working with URIs"
+url="https://github.com/mrkkrp/modern-uri;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-quickcheck' 'haskell-contravariant' 
'haskell-megaparsec'
+ 'haskell-profunctors' 'haskell-reflection' 'haskell-tagged')
+makedepends=('ghc' 'haskell-hspec' 'haskell-hspec-megaparsec' 
'haskell-hspec-discover')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('631f4d679feb29897d806c94d183cac6101d6f266cde6d420f63ead21f26266bfee97a29f3e5010ef8efbcb5906874b67bc2d3da6970df43708f3f5ebe09ba66')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}


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

2020-11-02 Thread Felix Yan via arch-commits
Date: Monday, November 2, 2020 @ 12:54:46
  Author: felixonmars
Revision: 739616

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-modern-uri/repos/community-staging-x86_64/
  haskell-modern-uri/repos/community-staging-x86_64/PKGBUILD
(from rev 739615, haskell-modern-uri/trunk/PKGBUILD)

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

Copied: haskell-modern-uri/repos/community-staging-x86_64/PKGBUILD (from rev 
739615, haskell-modern-uri/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-02 12:54:46 UTC (rev 739616)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=modern-uri
+pkgname=haskell-modern-uri
+pkgver=0.3.2.0
+pkgrel=15
+pkgdesc="Modern library for working with URIs"
+url="https://github.com/mrkkrp/modern-uri;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-quickcheck' 'haskell-contravariant' 
'haskell-megaparsec'
+ 'haskell-profunctors' 'haskell-reflection' 'haskell-tagged')
+makedepends=('ghc' 'haskell-hspec' 'haskell-hspec-megaparsec' 
'haskell-hspec-discover')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('0bf2a8ef82111f21cae401ea99fbd7f68139fe2b56d567e926902aaf3c425a98')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  sed -i 's/< *2.16/<3/' $_hkgname.cabal
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}


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

2020-10-31 Thread Felix Yan via arch-commits
Date: Saturday, October 31, 2020 @ 08:36:53
  Author: felixonmars
Revision: 737521

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-modern-uri/repos/community-staging-x86_64/
  haskell-modern-uri/repos/community-staging-x86_64/PKGBUILD
(from rev 737520, haskell-modern-uri/trunk/PKGBUILD)

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

Copied: haskell-modern-uri/repos/community-staging-x86_64/PKGBUILD (from rev 
737520, haskell-modern-uri/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-31 08:36:53 UTC (rev 737521)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=modern-uri
+pkgname=haskell-modern-uri
+pkgver=0.3.2.0
+pkgrel=14
+pkgdesc="Modern library for working with URIs"
+url="https://github.com/mrkkrp/modern-uri;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-quickcheck' 'haskell-contravariant' 
'haskell-megaparsec'
+ 'haskell-profunctors' 'haskell-reflection' 'haskell-tagged')
+makedepends=('ghc' 'haskell-hspec' 'haskell-hspec-megaparsec' 
'haskell-hspec-discover')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('0bf2a8ef82111f21cae401ea99fbd7f68139fe2b56d567e926902aaf3c425a98')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  sed -i 's/< *2.16/<3/' $_hkgname.cabal
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}


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

2020-10-27 Thread Felix Yan via arch-commits
Date: Tuesday, October 27, 2020 @ 19:31:03
  Author: felixonmars
Revision: 734930

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-modern-uri/repos/community-staging-x86_64/
  haskell-modern-uri/repos/community-staging-x86_64/PKGBUILD
(from rev 734929, haskell-modern-uri/trunk/PKGBUILD)

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

Copied: haskell-modern-uri/repos/community-staging-x86_64/PKGBUILD (from rev 
734929, haskell-modern-uri/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-27 19:31:03 UTC (rev 734930)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=modern-uri
+pkgname=haskell-modern-uri
+pkgver=0.3.2.0
+pkgrel=13
+pkgdesc="Modern library for working with URIs"
+url="https://github.com/mrkkrp/modern-uri;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-quickcheck' 'haskell-contravariant' 
'haskell-megaparsec'
+ 'haskell-profunctors' 'haskell-reflection' 'haskell-tagged')
+makedepends=('ghc' 'haskell-hspec' 'haskell-hspec-megaparsec' 
'haskell-hspec-discover')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('0bf2a8ef82111f21cae401ea99fbd7f68139fe2b56d567e926902aaf3c425a98')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  sed -i 's/< *2.16/<3/' $_hkgname.cabal
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}


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

2020-10-25 Thread Felix Yan via arch-commits
Date: Sunday, October 25, 2020 @ 09:46:43
  Author: felixonmars
Revision: 732261

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-modern-uri/repos/community-staging-x86_64/
  haskell-modern-uri/repos/community-staging-x86_64/PKGBUILD
(from rev 732260, haskell-modern-uri/trunk/PKGBUILD)

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

Copied: haskell-modern-uri/repos/community-staging-x86_64/PKGBUILD (from rev 
732260, haskell-modern-uri/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-25 09:46:43 UTC (rev 732261)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=modern-uri
+pkgname=haskell-modern-uri
+pkgver=0.3.2.0
+pkgrel=12
+pkgdesc="Modern library for working with URIs"
+url="https://github.com/mrkkrp/modern-uri;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-quickcheck' 'haskell-contravariant' 
'haskell-megaparsec'
+ 'haskell-profunctors' 'haskell-reflection' 'haskell-tagged')
+makedepends=('ghc' 'haskell-hspec' 'haskell-hspec-megaparsec' 
'haskell-hspec-discover')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('0bf2a8ef82111f21cae401ea99fbd7f68139fe2b56d567e926902aaf3c425a98')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  sed -i 's/< *2.16/<3/' $_hkgname.cabal
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}


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

2020-10-22 Thread Felix Yan via arch-commits
Date: Friday, October 23, 2020 @ 00:23:30
  Author: felixonmars
Revision: 730430

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-modern-uri/repos/community-staging-x86_64/
  haskell-modern-uri/repos/community-staging-x86_64/PKGBUILD
(from rev 730429, haskell-modern-uri/trunk/PKGBUILD)

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

Copied: haskell-modern-uri/repos/community-staging-x86_64/PKGBUILD (from rev 
730429, haskell-modern-uri/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-23 00:23:30 UTC (rev 730430)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=modern-uri
+pkgname=haskell-modern-uri
+pkgver=0.3.2.0
+pkgrel=11
+pkgdesc="Modern library for working with URIs"
+url="https://github.com/mrkkrp/modern-uri;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-quickcheck' 'haskell-contravariant' 
'haskell-megaparsec'
+ 'haskell-profunctors' 'haskell-reflection' 'haskell-tagged')
+makedepends=('ghc' 'haskell-hspec' 'haskell-hspec-megaparsec' 
'haskell-hspec-discover')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('0bf2a8ef82111f21cae401ea99fbd7f68139fe2b56d567e926902aaf3c425a98')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  sed -i 's/< *2.16/<3/' $_hkgname.cabal
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}


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

2020-10-21 Thread Felix Yan via arch-commits
Date: Wednesday, October 21, 2020 @ 19:06:42
  Author: felixonmars
Revision: 728229

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-modern-uri/repos/community-staging-x86_64/
  haskell-modern-uri/repos/community-staging-x86_64/PKGBUILD
(from rev 728228, haskell-modern-uri/trunk/PKGBUILD)

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

Copied: haskell-modern-uri/repos/community-staging-x86_64/PKGBUILD (from rev 
728228, haskell-modern-uri/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-21 19:06:42 UTC (rev 728229)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=modern-uri
+pkgname=haskell-modern-uri
+pkgver=0.3.2.0
+pkgrel=10
+pkgdesc="Modern library for working with URIs"
+url="https://github.com/mrkkrp/modern-uri;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-quickcheck' 'haskell-contravariant' 
'haskell-megaparsec'
+ 'haskell-profunctors' 'haskell-reflection' 'haskell-tagged')
+makedepends=('ghc' 'haskell-hspec' 'haskell-hspec-megaparsec' 
'haskell-hspec-discover')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('0bf2a8ef82111f21cae401ea99fbd7f68139fe2b56d567e926902aaf3c425a98')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  sed -i 's/< *2.16/<3/' $_hkgname.cabal
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}


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

2020-10-16 Thread Felix Yan via arch-commits
Date: Friday, October 16, 2020 @ 20:57:18
  Author: felixonmars
Revision: 724999

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-modern-uri/repos/community-staging-x86_64/
  haskell-modern-uri/repos/community-staging-x86_64/PKGBUILD
(from rev 724998, haskell-modern-uri/trunk/PKGBUILD)

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

Copied: haskell-modern-uri/repos/community-staging-x86_64/PKGBUILD (from rev 
724998, haskell-modern-uri/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-16 20:57:18 UTC (rev 724999)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=modern-uri
+pkgname=haskell-modern-uri
+pkgver=0.3.2.0
+pkgrel=9
+pkgdesc="Modern library for working with URIs"
+url="https://github.com/mrkkrp/modern-uri;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-quickcheck' 'haskell-contravariant' 
'haskell-megaparsec'
+ 'haskell-profunctors' 'haskell-reflection' 'haskell-tagged')
+makedepends=('ghc' 'haskell-hspec' 'haskell-hspec-megaparsec' 
'haskell-hspec-discover')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('0bf2a8ef82111f21cae401ea99fbd7f68139fe2b56d567e926902aaf3c425a98')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  sed -i 's/< *2.16/<3/' $_hkgname.cabal
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}


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

2020-10-06 Thread Felix Yan via arch-commits
Date: Wednesday, October 7, 2020 @ 00:01:55
  Author: felixonmars
Revision: 720001

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-modern-uri/repos/community-staging-x86_64/
  haskell-modern-uri/repos/community-staging-x86_64/PKGBUILD
(from rev 72, haskell-modern-uri/trunk/PKGBUILD)

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

Copied: haskell-modern-uri/repos/community-staging-x86_64/PKGBUILD (from rev 
72, haskell-modern-uri/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-07 00:01:55 UTC (rev 720001)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=modern-uri
+pkgname=haskell-modern-uri
+pkgver=0.3.2.0
+pkgrel=8
+pkgdesc="Modern library for working with URIs"
+url="https://github.com/mrkkrp/modern-uri;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-quickcheck' 'haskell-contravariant' 
'haskell-megaparsec'
+ 'haskell-profunctors' 'haskell-reflection' 'haskell-tagged')
+makedepends=('ghc' 'haskell-hspec' 'haskell-hspec-megaparsec' 
'haskell-hspec-discover')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('0bf2a8ef82111f21cae401ea99fbd7f68139fe2b56d567e926902aaf3c425a98')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  sed -i 's/< *2.16/<3/' $_hkgname.cabal
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}


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

2020-10-03 Thread Felix Yan via arch-commits
Date: Saturday, October 3, 2020 @ 23:45:01
  Author: felixonmars
Revision: 717015

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-modern-uri/repos/community-staging-x86_64/
  haskell-modern-uri/repos/community-staging-x86_64/PKGBUILD
(from rev 717014, haskell-modern-uri/trunk/PKGBUILD)

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

Copied: haskell-modern-uri/repos/community-staging-x86_64/PKGBUILD (from rev 
717014, haskell-modern-uri/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-03 23:45:01 UTC (rev 717015)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=modern-uri
+pkgname=haskell-modern-uri
+pkgver=0.3.2.0
+pkgrel=7
+pkgdesc="Modern library for working with URIs"
+url="https://github.com/mrkkrp/modern-uri;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-quickcheck' 'haskell-contravariant' 
'haskell-megaparsec'
+ 'haskell-profunctors' 'haskell-reflection' 'haskell-tagged')
+makedepends=('ghc' 'haskell-hspec' 'haskell-hspec-megaparsec' 
'haskell-hspec-discover')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('0bf2a8ef82111f21cae401ea99fbd7f68139fe2b56d567e926902aaf3c425a98')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  sed -i 's/< *2.16/<3/' $_hkgname.cabal
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}


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

2020-10-01 Thread Felix Yan via arch-commits
Date: Friday, October 2, 2020 @ 00:14:12
  Author: felixonmars
Revision: 714745

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-modern-uri/repos/community-staging-x86_64/
  haskell-modern-uri/repos/community-staging-x86_64/PKGBUILD
(from rev 714744, haskell-modern-uri/trunk/PKGBUILD)

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

Copied: haskell-modern-uri/repos/community-staging-x86_64/PKGBUILD (from rev 
714744, haskell-modern-uri/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-02 00:14:12 UTC (rev 714745)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=modern-uri
+pkgname=haskell-modern-uri
+pkgver=0.3.2.0
+pkgrel=6
+pkgdesc="Modern library for working with URIs"
+url="https://github.com/mrkkrp/modern-uri;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-quickcheck' 'haskell-contravariant' 
'haskell-megaparsec'
+ 'haskell-profunctors' 'haskell-reflection' 'haskell-tagged')
+makedepends=('ghc' 'haskell-hspec' 'haskell-hspec-megaparsec' 
'haskell-hspec-discover')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('0bf2a8ef82111f21cae401ea99fbd7f68139fe2b56d567e926902aaf3c425a98')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  sed -i 's/< *2.16/<3/' $_hkgname.cabal
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}


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

2020-09-17 Thread Felix Yan via arch-commits
Date: Thursday, September 17, 2020 @ 19:31:22
  Author: felixonmars
Revision: 709166

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-modern-uri/repos/community-staging-x86_64/
  haskell-modern-uri/repos/community-staging-x86_64/PKGBUILD
(from rev 709165, haskell-modern-uri/trunk/PKGBUILD)

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

Copied: haskell-modern-uri/repos/community-staging-x86_64/PKGBUILD (from rev 
709165, haskell-modern-uri/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-17 19:31:22 UTC (rev 709166)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=modern-uri
+pkgname=haskell-modern-uri
+pkgver=0.3.2.0
+pkgrel=5
+pkgdesc="Modern library for working with URIs"
+url="https://github.com/mrkkrp/modern-uri;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-quickcheck' 'haskell-contravariant' 
'haskell-megaparsec'
+ 'haskell-profunctors' 'haskell-reflection' 'haskell-tagged')
+makedepends=('ghc' 'haskell-hspec' 'haskell-hspec-megaparsec' 
'haskell-hspec-discover')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('0bf2a8ef82111f21cae401ea99fbd7f68139fe2b56d567e926902aaf3c425a98')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  sed -i 's/< *2.16/<3/' $_hkgname.cabal
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}


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

2020-09-14 Thread Felix Yan via arch-commits
Date: Monday, September 14, 2020 @ 19:48:44
  Author: felixonmars
Revision: 706455

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-modern-uri/repos/community-staging-x86_64/
  haskell-modern-uri/repos/community-staging-x86_64/PKGBUILD
(from rev 706454, haskell-modern-uri/trunk/PKGBUILD)

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

Copied: haskell-modern-uri/repos/community-staging-x86_64/PKGBUILD (from rev 
706454, haskell-modern-uri/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-14 19:48:44 UTC (rev 706455)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=modern-uri
+pkgname=haskell-modern-uri
+pkgver=0.3.2.0
+pkgrel=4
+pkgdesc="Modern library for working with URIs"
+url="https://github.com/mrkkrp/modern-uri;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-quickcheck' 'haskell-contravariant' 
'haskell-megaparsec'
+ 'haskell-profunctors' 'haskell-reflection' 'haskell-tagged')
+makedepends=('ghc' 'haskell-hspec' 'haskell-hspec-megaparsec' 
'haskell-hspec-discover')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('0bf2a8ef82111f21cae401ea99fbd7f68139fe2b56d567e926902aaf3c425a98')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  sed -i 's/< *2.16/<3/' $_hkgname.cabal
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}


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

2020-09-12 Thread Felix Yan via arch-commits
Date: Saturday, September 12, 2020 @ 16:22:55
  Author: felixonmars
Revision: 704267

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-modern-uri/repos/community-staging-x86_64/
  haskell-modern-uri/repos/community-staging-x86_64/PKGBUILD
(from rev 704266, haskell-modern-uri/trunk/PKGBUILD)

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

Copied: haskell-modern-uri/repos/community-staging-x86_64/PKGBUILD (from rev 
704266, haskell-modern-uri/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-12 16:22:55 UTC (rev 704267)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=modern-uri
+pkgname=haskell-modern-uri
+pkgver=0.3.2.0
+pkgrel=3
+pkgdesc="Modern library for working with URIs"
+url="https://github.com/mrkkrp/modern-uri;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-quickcheck' 'haskell-contravariant' 
'haskell-megaparsec'
+ 'haskell-profunctors' 'haskell-reflection' 'haskell-tagged')
+makedepends=('ghc' 'haskell-hspec' 'haskell-hspec-megaparsec' 
'haskell-hspec-discover')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('0bf2a8ef82111f21cae401ea99fbd7f68139fe2b56d567e926902aaf3c425a98')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  sed -i 's/< *2.16/<3/' $_hkgname.cabal
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}


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

2020-09-10 Thread Felix Yan via arch-commits
Date: Thursday, September 10, 2020 @ 18:06:49
  Author: felixonmars
Revision: 702110

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-modern-uri/repos/community-staging-x86_64/
  haskell-modern-uri/repos/community-staging-x86_64/PKGBUILD
(from rev 702109, haskell-modern-uri/trunk/PKGBUILD)

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

Copied: haskell-modern-uri/repos/community-staging-x86_64/PKGBUILD (from rev 
702109, haskell-modern-uri/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-10 18:06:49 UTC (rev 702110)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=modern-uri
+pkgname=haskell-modern-uri
+pkgver=0.3.2.0
+pkgrel=2
+pkgdesc="Modern library for working with URIs"
+url="https://github.com/mrkkrp/modern-uri;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-quickcheck' 'haskell-contravariant' 
'haskell-megaparsec'
+ 'haskell-profunctors' 'haskell-reflection' 'haskell-tagged')
+makedepends=('ghc' 'haskell-hspec' 'haskell-hspec-megaparsec' 
'haskell-hspec-discover')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('0bf2a8ef82111f21cae401ea99fbd7f68139fe2b56d567e926902aaf3c425a98')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  sed -i 's/< *2.16/<3/' $_hkgname.cabal
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}


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

2020-09-08 Thread Felix Yan via arch-commits
Date: Tuesday, September 8, 2020 @ 21:04:19
  Author: felixonmars
Revision: 701321

archrelease: copy trunk to community-x86_64

Added:
  haskell-modern-uri/repos/community-x86_64/
  haskell-modern-uri/repos/community-x86_64/PKGBUILD
(from rev 701320, haskell-modern-uri/trunk/PKGBUILD)

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

Copied: haskell-modern-uri/repos/community-x86_64/PKGBUILD (from rev 701320, 
haskell-modern-uri/trunk/PKGBUILD)
===
--- community-x86_64/PKGBUILD   (rev 0)
+++ community-x86_64/PKGBUILD   2020-09-08 21:04:19 UTC (rev 701321)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+_hkgname=modern-uri
+pkgname=haskell-modern-uri
+pkgver=0.3.2.0
+pkgrel=1
+pkgdesc="Modern library for working with URIs"
+url="https://github.com/mrkkrp/modern-uri;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-quickcheck' 'haskell-contravariant' 
'haskell-megaparsec'
+ 'haskell-profunctors' 'haskell-reflection' 'haskell-tagged')
+makedepends=('ghc' 'haskell-hspec' 'haskell-hspec-megaparsec' 
'haskell-hspec-discover')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('0bf2a8ef82111f21cae401ea99fbd7f68139fe2b56d567e926902aaf3c425a98')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  sed -i 's/< *2.16/<3/' $_hkgname.cabal
+}
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+--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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}