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

2022-09-10 Thread Felix Yan via arch-commits
Date: Saturday, September 10, 2022 @ 15:25:20
  Author: felixonmars
Revision: 1299257

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fuzzy/repos/community-staging-x86_64/PKGBUILD (from rev 
1299255, haskell-fuzzy/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-09-10 15:25:20 UTC (rev 1299257)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=fuzzy
+pkgname=haskell-fuzzy
+pkgver=0.1.0.1
+pkgrel=83
+pkgdesc="Filters a list based on a fuzzy string search."
+url="https://github.com/joom/fuzzy;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-monoid-subclasses')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('677f03be681c2943e6e5dd0badbc2b35fc78e2805fed999b53538b2fe0d5623fbc9b91218576f0bbe414e9cd5d03d7230698e966df4b258469630fba437c20e2')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--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 --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-09-09 Thread Felix Yan via arch-commits
Date: Friday, September 9, 2022 @ 21:48:55
  Author: felixonmars
Revision: 1297636

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fuzzy/repos/community-staging-x86_64/PKGBUILD (from rev 
1297635, haskell-fuzzy/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-09-09 21:48:55 UTC (rev 1297636)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=fuzzy
+pkgname=haskell-fuzzy
+pkgver=0.1.0.1
+pkgrel=82
+pkgdesc="Filters a list based on a fuzzy string search."
+url="https://github.com/joom/fuzzy;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-monoid-subclasses')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('677f03be681c2943e6e5dd0badbc2b35fc78e2805fed999b53538b2fe0d5623fbc9b91218576f0bbe414e9cd5d03d7230698e966df4b258469630fba437c20e2')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--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 --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-09-06 Thread Felix Yan via arch-commits
Date: Tuesday, September 6, 2022 @ 07:17:03
  Author: felixonmars
Revision: 1294329

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fuzzy/repos/community-staging-x86_64/PKGBUILD (from rev 
1294328, haskell-fuzzy/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-09-06 07:17:03 UTC (rev 1294329)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=fuzzy
+pkgname=haskell-fuzzy
+pkgver=0.1.0.1
+pkgrel=81
+pkgdesc="Filters a list based on a fuzzy string search."
+url="https://github.com/joom/fuzzy;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-monoid-subclasses')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('677f03be681c2943e6e5dd0badbc2b35fc78e2805fed999b53538b2fe0d5623fbc9b91218576f0bbe414e9cd5d03d7230698e966df4b258469630fba437c20e2')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--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 --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-09-03 Thread Felix Yan via arch-commits
Date: Saturday, September 3, 2022 @ 09:23:59
  Author: felixonmars
Revision: 1291315

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fuzzy/repos/community-staging-x86_64/PKGBUILD (from rev 
1291314, haskell-fuzzy/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-09-03 09:23:59 UTC (rev 1291315)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=fuzzy
+pkgname=haskell-fuzzy
+pkgver=0.1.0.1
+pkgrel=80
+pkgdesc="Filters a list based on a fuzzy string search."
+url="https://github.com/joom/fuzzy;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-monoid-subclasses')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('677f03be681c2943e6e5dd0badbc2b35fc78e2805fed999b53538b2fe0d5623fbc9b91218576f0bbe414e9cd5d03d7230698e966df4b258469630fba437c20e2')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--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 --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-08-29 Thread Felix Yan via arch-commits
Date: Monday, August 29, 2022 @ 23:13:41
  Author: felixonmars
Revision: 1286817

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fuzzy/repos/community-staging-x86_64/PKGBUILD (from rev 
1286816, haskell-fuzzy/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-29 23:13:41 UTC (rev 1286817)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=fuzzy
+pkgname=haskell-fuzzy
+pkgver=0.1.0.1
+pkgrel=79
+pkgdesc="Filters a list based on a fuzzy string search."
+url="https://github.com/joom/fuzzy;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-monoid-subclasses')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('677f03be681c2943e6e5dd0badbc2b35fc78e2805fed999b53538b2fe0d5623fbc9b91218576f0bbe414e9cd5d03d7230698e966df4b258469630fba437c20e2')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--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 --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-08-26 Thread Felix Yan via arch-commits
Date: Friday, August 26, 2022 @ 15:44:31
  Author: felixonmars
Revision: 1282909

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fuzzy/repos/community-staging-x86_64/PKGBUILD (from rev 
1282908, haskell-fuzzy/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-26 15:44:31 UTC (rev 1282909)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=fuzzy
+pkgname=haskell-fuzzy
+pkgver=0.1.0.1
+pkgrel=78
+pkgdesc="Filters a list based on a fuzzy string search."
+url="https://github.com/joom/fuzzy;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-monoid-subclasses')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('677f03be681c2943e6e5dd0badbc2b35fc78e2805fed999b53538b2fe0d5623fbc9b91218576f0bbe414e9cd5d03d7230698e966df4b258469630fba437c20e2')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--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 --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-08-25 Thread Felix Yan via arch-commits
Date: Thursday, August 25, 2022 @ 17:40:27
  Author: felixonmars
Revision: 1279587

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fuzzy/repos/community-staging-x86_64/PKGBUILD (from rev 
1279586, haskell-fuzzy/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-25 17:40:27 UTC (rev 1279587)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=fuzzy
+pkgname=haskell-fuzzy
+pkgver=0.1.0.1
+pkgrel=77
+pkgdesc="Filters a list based on a fuzzy string search."
+url="https://github.com/joom/fuzzy;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-monoid-subclasses')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('677f03be681c2943e6e5dd0badbc2b35fc78e2805fed999b53538b2fe0d5623fbc9b91218576f0bbe414e9cd5d03d7230698e966df4b258469630fba437c20e2')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--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 --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-08-24 Thread Felix Yan via arch-commits
Date: Wednesday, August 24, 2022 @ 23:14:08
  Author: felixonmars
Revision: 1277823

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fuzzy/repos/community-staging-x86_64/PKGBUILD (from rev 
1277822, haskell-fuzzy/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-24 23:14:08 UTC (rev 1277823)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=fuzzy
+pkgname=haskell-fuzzy
+pkgver=0.1.0.1
+pkgrel=76
+pkgdesc="Filters a list based on a fuzzy string search."
+url="https://github.com/joom/fuzzy;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-monoid-subclasses')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('677f03be681c2943e6e5dd0badbc2b35fc78e2805fed999b53538b2fe0d5623fbc9b91218576f0bbe414e9cd5d03d7230698e966df4b258469630fba437c20e2')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--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 --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-08-21 Thread Felix Yan via arch-commits
Date: Sunday, August 21, 2022 @ 16:47:34
  Author: felixonmars
Revision: 1272873

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fuzzy/repos/community-staging-x86_64/PKGBUILD (from rev 
1272872, haskell-fuzzy/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-21 16:47:34 UTC (rev 1272873)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=fuzzy
+pkgname=haskell-fuzzy
+pkgver=0.1.0.1
+pkgrel=75
+pkgdesc="Filters a list based on a fuzzy string search."
+url="https://github.com/joom/fuzzy;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-monoid-subclasses')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('677f03be681c2943e6e5dd0badbc2b35fc78e2805fed999b53538b2fe0d5623fbc9b91218576f0bbe414e9cd5d03d7230698e966df4b258469630fba437c20e2')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--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 --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-08-20 Thread Felix Yan via arch-commits
Date: Saturday, August 20, 2022 @ 21:55:33
  Author: felixonmars
Revision: 1271363

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fuzzy/repos/community-staging-x86_64/PKGBUILD (from rev 
1271362, haskell-fuzzy/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-20 21:55:33 UTC (rev 1271363)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=fuzzy
+pkgname=haskell-fuzzy
+pkgver=0.1.0.1
+pkgrel=74
+pkgdesc="Filters a list based on a fuzzy string search."
+url="https://github.com/joom/fuzzy;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-monoid-subclasses')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('677f03be681c2943e6e5dd0badbc2b35fc78e2805fed999b53538b2fe0d5623fbc9b91218576f0bbe414e9cd5d03d7230698e966df4b258469630fba437c20e2')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--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 --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-08-18 Thread Felix Yan via arch-commits
Date: Thursday, August 18, 2022 @ 22:10:32
  Author: felixonmars
Revision: 1269334

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fuzzy/repos/community-staging-x86_64/PKGBUILD (from rev 
1269333, haskell-fuzzy/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-18 22:10:32 UTC (rev 1269334)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=fuzzy
+pkgname=haskell-fuzzy
+pkgver=0.1.0.1
+pkgrel=73
+pkgdesc="Filters a list based on a fuzzy string search."
+url="https://github.com/joom/fuzzy;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-monoid-subclasses')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('677f03be681c2943e6e5dd0badbc2b35fc78e2805fed999b53538b2fe0d5623fbc9b91218576f0bbe414e9cd5d03d7230698e966df4b258469630fba437c20e2')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--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 --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-08-18 Thread Felix Yan via arch-commits
Date: Thursday, August 18, 2022 @ 12:08:26
  Author: felixonmars
Revision: 1267047

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fuzzy/repos/community-staging-x86_64/PKGBUILD (from rev 
1267046, haskell-fuzzy/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-18 12:08:26 UTC (rev 1267047)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=fuzzy
+pkgname=haskell-fuzzy
+pkgver=0.1.0.1
+pkgrel=72
+pkgdesc="Filters a list based on a fuzzy string search."
+url="https://github.com/joom/fuzzy;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-monoid-subclasses')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('677f03be681c2943e6e5dd0badbc2b35fc78e2805fed999b53538b2fe0d5623fbc9b91218576f0bbe414e9cd5d03d7230698e966df4b258469630fba437c20e2')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--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 --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-08-09 Thread Felix Yan via arch-commits
Date: Tuesday, August 9, 2022 @ 16:21:42
  Author: felixonmars
Revision: 1263871

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fuzzy/repos/community-staging-x86_64/PKGBUILD (from rev 
1263870, haskell-fuzzy/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-09 16:21:42 UTC (rev 1263871)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=fuzzy
+pkgname=haskell-fuzzy
+pkgver=0.1.0.1
+pkgrel=71
+pkgdesc="Filters a list based on a fuzzy string search."
+url="https://github.com/joom/fuzzy;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-monoid-subclasses')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('677f03be681c2943e6e5dd0badbc2b35fc78e2805fed999b53538b2fe0d5623fbc9b91218576f0bbe414e9cd5d03d7230698e966df4b258469630fba437c20e2')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--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 --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-08-08 Thread Felix Yan via arch-commits
Date: Monday, August 8, 2022 @ 18:26:57
  Author: felixonmars
Revision: 1261839

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fuzzy/repos/community-staging-x86_64/PKGBUILD (from rev 
1261838, haskell-fuzzy/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-08-08 18:26:57 UTC (rev 1261839)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=fuzzy
+pkgname=haskell-fuzzy
+pkgver=0.1.0.1
+pkgrel=70
+pkgdesc="Filters a list based on a fuzzy string search."
+url="https://github.com/joom/fuzzy;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-monoid-subclasses')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('677f03be681c2943e6e5dd0badbc2b35fc78e2805fed999b53538b2fe0d5623fbc9b91218576f0bbe414e9cd5d03d7230698e966df4b258469630fba437c20e2')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--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 --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-07-25 Thread Felix Yan via arch-commits
Date: Monday, July 25, 2022 @ 08:53:25
  Author: felixonmars
Revision: 1257165

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fuzzy/repos/community-staging-x86_64/PKGBUILD (from rev 
1257164, haskell-fuzzy/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-07-25 08:53:25 UTC (rev 1257165)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=fuzzy
+pkgname=haskell-fuzzy
+pkgver=0.1.0.1
+pkgrel=69
+pkgdesc="Filters a list based on a fuzzy string search."
+url="https://github.com/joom/fuzzy;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-monoid-subclasses')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('677f03be681c2943e6e5dd0badbc2b35fc78e2805fed999b53538b2fe0d5623fbc9b91218576f0bbe414e9cd5d03d7230698e966df4b258469630fba437c20e2')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--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 --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-07-15 Thread Felix Yan via arch-commits
Date: Saturday, July 16, 2022 @ 02:56:58
  Author: felixonmars
Revision: 1253222

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fuzzy/repos/community-staging-x86_64/PKGBUILD (from rev 
1253221, haskell-fuzzy/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-07-16 02:56:58 UTC (rev 1253222)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=fuzzy
+pkgname=haskell-fuzzy
+pkgver=0.1.0.1
+pkgrel=68
+pkgdesc="Filters a list based on a fuzzy string search."
+url="https://github.com/joom/fuzzy;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-monoid-subclasses')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('677f03be681c2943e6e5dd0badbc2b35fc78e2805fed999b53538b2fe0d5623fbc9b91218576f0bbe414e9cd5d03d7230698e966df4b258469630fba437c20e2')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--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 --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-07-12 Thread Felix Yan via arch-commits
Date: Tuesday, July 12, 2022 @ 19:33:59
  Author: felixonmars
Revision: 1251071

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fuzzy/repos/community-staging-x86_64/PKGBUILD (from rev 
1251070, haskell-fuzzy/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-07-12 19:33:59 UTC (rev 1251071)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=fuzzy
+pkgname=haskell-fuzzy
+pkgver=0.1.0.1
+pkgrel=67
+pkgdesc="Filters a list based on a fuzzy string search."
+url="https://github.com/joom/fuzzy;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-monoid-subclasses')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('677f03be681c2943e6e5dd0badbc2b35fc78e2805fed999b53538b2fe0d5623fbc9b91218576f0bbe414e9cd5d03d7230698e966df4b258469630fba437c20e2')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--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 --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-07-06 Thread Felix Yan via arch-commits
Date: Wednesday, July 6, 2022 @ 22:32:44
  Author: felixonmars
Revision: 1246954

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fuzzy/repos/community-staging-x86_64/PKGBUILD (from rev 
1246953, haskell-fuzzy/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-07-06 22:32:44 UTC (rev 1246954)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=fuzzy
+pkgname=haskell-fuzzy
+pkgver=0.1.0.1
+pkgrel=66
+pkgdesc="Filters a list based on a fuzzy string search."
+url="https://github.com/joom/fuzzy;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-monoid-subclasses')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('677f03be681c2943e6e5dd0badbc2b35fc78e2805fed999b53538b2fe0d5623fbc9b91218576f0bbe414e9cd5d03d7230698e966df4b258469630fba437c20e2')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--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 --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-07-05 Thread Felix Yan via arch-commits
Date: Tuesday, July 5, 2022 @ 19:17:44
  Author: felixonmars
Revision: 1245245

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fuzzy/repos/community-staging-x86_64/PKGBUILD (from rev 
1245244, haskell-fuzzy/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-07-05 19:17:44 UTC (rev 1245245)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=fuzzy
+pkgname=haskell-fuzzy
+pkgver=0.1.0.1
+pkgrel=65
+pkgdesc="Filters a list based on a fuzzy string search."
+url="https://github.com/joom/fuzzy;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-monoid-subclasses')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('677f03be681c2943e6e5dd0badbc2b35fc78e2805fed999b53538b2fe0d5623fbc9b91218576f0bbe414e9cd5d03d7230698e966df4b258469630fba437c20e2')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--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 --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-06-29 Thread Felix Yan via arch-commits
Date: Wednesday, June 29, 2022 @ 22:08:20
  Author: felixonmars
Revision: 1241512

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fuzzy/repos/community-staging-x86_64/PKGBUILD (from rev 
1241511, haskell-fuzzy/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-29 22:08:20 UTC (rev 1241512)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=fuzzy
+pkgname=haskell-fuzzy
+pkgver=0.1.0.1
+pkgrel=64
+pkgdesc="Filters a list based on a fuzzy string search."
+url="https://github.com/joom/fuzzy;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-monoid-subclasses')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('677f03be681c2943e6e5dd0badbc2b35fc78e2805fed999b53538b2fe0d5623fbc9b91218576f0bbe414e9cd5d03d7230698e966df4b258469630fba437c20e2')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--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 --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-06-11 Thread Felix Yan via arch-commits
Date: Saturday, June 11, 2022 @ 23:02:05
  Author: felixonmars
Revision: 1235509

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fuzzy/repos/community-staging-x86_64/PKGBUILD (from rev 
1235508, haskell-fuzzy/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-11 23:02:05 UTC (rev 1235509)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=fuzzy
+pkgname=haskell-fuzzy
+pkgver=0.1.0.1
+pkgrel=63
+pkgdesc="Filters a list based on a fuzzy string search."
+url="https://github.com/joom/fuzzy;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-monoid-subclasses')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('677f03be681c2943e6e5dd0badbc2b35fc78e2805fed999b53538b2fe0d5623fbc9b91218576f0bbe414e9cd5d03d7230698e966df4b258469630fba437c20e2')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--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 --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-06-11 Thread Felix Yan via arch-commits
Date: Saturday, June 11, 2022 @ 12:18:18
  Author: felixonmars
Revision: 1233244

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fuzzy/repos/community-staging-x86_64/PKGBUILD (from rev 
1233243, haskell-fuzzy/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-11 12:18:18 UTC (rev 1233244)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=fuzzy
+pkgname=haskell-fuzzy
+pkgver=0.1.0.1
+pkgrel=62
+pkgdesc="Filters a list based on a fuzzy string search."
+url="https://github.com/joom/fuzzy;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-monoid-subclasses')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('677f03be681c2943e6e5dd0badbc2b35fc78e2805fed999b53538b2fe0d5623fbc9b91218576f0bbe414e9cd5d03d7230698e966df4b258469630fba437c20e2')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--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 --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-06-10 Thread Felix Yan via arch-commits
Date: Friday, June 10, 2022 @ 21:46:57
  Author: felixonmars
Revision: 1231563

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fuzzy/repos/community-staging-x86_64/PKGBUILD (from rev 
1231562, haskell-fuzzy/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-10 21:46:57 UTC (rev 1231563)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=fuzzy
+pkgname=haskell-fuzzy
+pkgver=0.1.0.1
+pkgrel=61
+pkgdesc="Filters a list based on a fuzzy string search."
+url="https://github.com/joom/fuzzy;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-monoid-subclasses')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('677f03be681c2943e6e5dd0badbc2b35fc78e2805fed999b53538b2fe0d5623fbc9b91218576f0bbe414e9cd5d03d7230698e966df4b258469630fba437c20e2')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--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 --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-06-06 Thread Felix Yan via arch-commits
Date: Tuesday, June 7, 2022 @ 05:56:03
  Author: felixonmars
Revision: 1227439

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fuzzy/repos/community-staging-x86_64/PKGBUILD (from rev 
1227438, haskell-fuzzy/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-07 05:56:03 UTC (rev 1227439)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=fuzzy
+pkgname=haskell-fuzzy
+pkgver=0.1.0.1
+pkgrel=60
+pkgdesc="Filters a list based on a fuzzy string search."
+url="https://github.com/joom/fuzzy;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-monoid-subclasses')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('677f03be681c2943e6e5dd0badbc2b35fc78e2805fed999b53538b2fe0d5623fbc9b91218576f0bbe414e9cd5d03d7230698e966df4b258469630fba437c20e2')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--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 --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-06-06 Thread Felix Yan via arch-commits
Date: Monday, June 6, 2022 @ 10:32:43
  Author: felixonmars
Revision: 1225763

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fuzzy/repos/community-staging-x86_64/PKGBUILD (from rev 
1225762, haskell-fuzzy/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-06 10:32:43 UTC (rev 1225763)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=fuzzy
+pkgname=haskell-fuzzy
+pkgver=0.1.0.1
+pkgrel=59
+pkgdesc="Filters a list based on a fuzzy string search."
+url="https://github.com/joom/fuzzy;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-monoid-subclasses')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('677f03be681c2943e6e5dd0badbc2b35fc78e2805fed999b53538b2fe0d5623fbc9b91218576f0bbe414e9cd5d03d7230698e966df4b258469630fba437c20e2')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--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 --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-06-05 Thread Felix Yan via arch-commits
Date: Sunday, June 5, 2022 @ 19:18:58
  Author: felixonmars
Revision: 1224068

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fuzzy/repos/community-staging-x86_64/PKGBUILD (from rev 
1224067, haskell-fuzzy/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-05 19:18:58 UTC (rev 1224068)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=fuzzy
+pkgname=haskell-fuzzy
+pkgver=0.1.0.1
+pkgrel=58
+pkgdesc="Filters a list based on a fuzzy string search."
+url="https://github.com/joom/fuzzy;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-monoid-subclasses')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('677f03be681c2943e6e5dd0badbc2b35fc78e2805fed999b53538b2fe0d5623fbc9b91218576f0bbe414e9cd5d03d7230698e966df4b258469630fba437c20e2')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--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 --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-06-04 Thread Felix Yan via arch-commits
Date: Saturday, June 4, 2022 @ 15:57:52
  Author: felixonmars
Revision: 1221800

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fuzzy/repos/community-staging-x86_64/PKGBUILD (from rev 
1221799, haskell-fuzzy/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-04 15:57:52 UTC (rev 1221800)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=fuzzy
+pkgname=haskell-fuzzy
+pkgver=0.1.0.1
+pkgrel=57
+pkgdesc="Filters a list based on a fuzzy string search."
+url="https://github.com/joom/fuzzy;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-monoid-subclasses')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('677f03be681c2943e6e5dd0badbc2b35fc78e2805fed999b53538b2fe0d5623fbc9b91218576f0bbe414e9cd5d03d7230698e966df4b258469630fba437c20e2')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--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 --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-06-03 Thread Felix Yan via arch-commits
Date: Friday, June 3, 2022 @ 10:11:29
  Author: felixonmars
Revision: 1220102

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fuzzy/repos/community-staging-x86_64/PKGBUILD (from rev 
1220101, haskell-fuzzy/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-06-03 10:11:29 UTC (rev 1220102)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=fuzzy
+pkgname=haskell-fuzzy
+pkgver=0.1.0.1
+pkgrel=56
+pkgdesc="Filters a list based on a fuzzy string search."
+url="https://github.com/joom/fuzzy;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-monoid-subclasses')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('677f03be681c2943e6e5dd0badbc2b35fc78e2805fed999b53538b2fe0d5623fbc9b91218576f0bbe414e9cd5d03d7230698e966df4b258469630fba437c20e2')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--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 --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-05-30 Thread Felix Yan via arch-commits
Date: Monday, May 30, 2022 @ 11:09:01
  Author: felixonmars
Revision: 1215950

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fuzzy/repos/community-staging-x86_64/PKGBUILD (from rev 
1215949, haskell-fuzzy/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-30 11:09:01 UTC (rev 1215950)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=fuzzy
+pkgname=haskell-fuzzy
+pkgver=0.1.0.1
+pkgrel=55
+pkgdesc="Filters a list based on a fuzzy string search."
+url="https://github.com/joom/fuzzy;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-monoid-subclasses')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('677f03be681c2943e6e5dd0badbc2b35fc78e2805fed999b53538b2fe0d5623fbc9b91218576f0bbe414e9cd5d03d7230698e966df4b258469630fba437c20e2')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--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 --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-05-28 Thread Felix Yan via arch-commits
Date: Saturday, May 28, 2022 @ 16:40:23
  Author: felixonmars
Revision: 1212278

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fuzzy/repos/community-staging-x86_64/PKGBUILD (from rev 
1212277, haskell-fuzzy/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-28 16:40:23 UTC (rev 1212278)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=fuzzy
+pkgname=haskell-fuzzy
+pkgver=0.1.0.1
+pkgrel=54
+pkgdesc="Filters a list based on a fuzzy string search."
+url="https://github.com/joom/fuzzy;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-monoid-subclasses')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('677f03be681c2943e6e5dd0badbc2b35fc78e2805fed999b53538b2fe0d5623fbc9b91218576f0bbe414e9cd5d03d7230698e966df4b258469630fba437c20e2')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--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 --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-05-18 Thread Felix Yan via arch-commits
Date: Wednesday, May 18, 2022 @ 13:37:06
  Author: felixonmars
Revision: 1208101

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fuzzy/repos/community-staging-x86_64/PKGBUILD (from rev 
1208100, haskell-fuzzy/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-18 13:37:06 UTC (rev 1208101)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=fuzzy
+pkgname=haskell-fuzzy
+pkgver=0.1.0.1
+pkgrel=53
+pkgdesc="Filters a list based on a fuzzy string search."
+url="https://github.com/joom/fuzzy;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-monoid-subclasses')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('677f03be681c2943e6e5dd0badbc2b35fc78e2805fed999b53538b2fe0d5623fbc9b91218576f0bbe414e9cd5d03d7230698e966df4b258469630fba437c20e2')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--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 --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-05-14 Thread Felix Yan via arch-commits
Date: Saturday, May 14, 2022 @ 14:11:48
  Author: felixonmars
Revision: 1204765

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fuzzy/repos/community-staging-x86_64/PKGBUILD (from rev 
1204764, haskell-fuzzy/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-14 14:11:48 UTC (rev 1204765)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=fuzzy
+pkgname=haskell-fuzzy
+pkgver=0.1.0.1
+pkgrel=51
+pkgdesc="Filters a list based on a fuzzy string search."
+url="https://github.com/joom/fuzzy;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-monoid-subclasses')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('677f03be681c2943e6e5dd0badbc2b35fc78e2805fed999b53538b2fe0d5623fbc9b91218576f0bbe414e9cd5d03d7230698e966df4b258469630fba437c20e2')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--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 --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-05-13 Thread Felix Yan via arch-commits
Date: Friday, May 13, 2022 @ 09:17:03
  Author: felixonmars
Revision: 1201310

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fuzzy/repos/community-staging-x86_64/PKGBUILD (from rev 
1201309, haskell-fuzzy/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-13 09:17:03 UTC (rev 1201310)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=fuzzy
+pkgname=haskell-fuzzy
+pkgver=0.1.0.1
+pkgrel=50
+pkgdesc="Filters a list based on a fuzzy string search."
+url="https://github.com/joom/fuzzy;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-monoid-subclasses')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('677f03be681c2943e6e5dd0badbc2b35fc78e2805fed999b53538b2fe0d5623fbc9b91218576f0bbe414e9cd5d03d7230698e966df4b258469630fba437c20e2')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--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 --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-05-12 Thread Felix Yan via arch-commits
Date: Thursday, May 12, 2022 @ 08:57:16
  Author: felixonmars
Revision: 1198576

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fuzzy/repos/community-staging-x86_64/PKGBUILD (from rev 
1198575, haskell-fuzzy/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-12 08:57:16 UTC (rev 1198576)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=fuzzy
+pkgname=haskell-fuzzy
+pkgver=0.1.0.1
+pkgrel=49
+pkgdesc="Filters a list based on a fuzzy string search."
+url="https://github.com/joom/fuzzy;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-monoid-subclasses')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('677f03be681c2943e6e5dd0badbc2b35fc78e2805fed999b53538b2fe0d5623fbc9b91218576f0bbe414e9cd5d03d7230698e966df4b258469630fba437c20e2')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--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 --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-05-10 Thread Felix Yan via arch-commits
Date: Tuesday, May 10, 2022 @ 07:44:17
  Author: felixonmars
Revision: 1196910

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fuzzy/repos/community-staging-x86_64/PKGBUILD (from rev 
1196909, haskell-fuzzy/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-10 07:44:17 UTC (rev 1196910)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=fuzzy
+pkgname=haskell-fuzzy
+pkgver=0.1.0.1
+pkgrel=48
+pkgdesc="Filters a list based on a fuzzy string search."
+url="https://github.com/joom/fuzzy;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-monoid-subclasses')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('677f03be681c2943e6e5dd0badbc2b35fc78e2805fed999b53538b2fe0d5623fbc9b91218576f0bbe414e9cd5d03d7230698e966df4b258469630fba437c20e2')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--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 --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-05-04 Thread Felix Yan via arch-commits
Date: Wednesday, May 4, 2022 @ 13:03:21
  Author: felixonmars
Revision: 1193887

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fuzzy/repos/community-staging-x86_64/PKGBUILD (from rev 
1193886, haskell-fuzzy/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-05-04 13:03:21 UTC (rev 1193887)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=fuzzy
+pkgname=haskell-fuzzy
+pkgver=0.1.0.1
+pkgrel=47
+pkgdesc="Filters a list based on a fuzzy string search."
+url="https://github.com/joom/fuzzy;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-monoid-subclasses')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('677f03be681c2943e6e5dd0badbc2b35fc78e2805fed999b53538b2fe0d5623fbc9b91218576f0bbe414e9cd5d03d7230698e966df4b258469630fba437c20e2')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--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 --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-04-23 Thread Felix Yan via arch-commits
Date: Saturday, April 23, 2022 @ 22:14:58
  Author: felixonmars
Revision: 111

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fuzzy/repos/community-staging-x86_64/PKGBUILD (from rev 
110, haskell-fuzzy/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-04-23 22:14:58 UTC (rev 111)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=fuzzy
+pkgname=haskell-fuzzy
+pkgver=0.1.0.1
+pkgrel=46
+pkgdesc="Filters a list based on a fuzzy string search."
+url="https://github.com/joom/fuzzy;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-monoid-subclasses')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('677f03be681c2943e6e5dd0badbc2b35fc78e2805fed999b53538b2fe0d5623fbc9b91218576f0bbe414e9cd5d03d7230698e966df4b258469630fba437c20e2')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--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 --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-04-10 Thread Felix Yan via arch-commits
Date: Sunday, April 10, 2022 @ 11:09:14
  Author: felixonmars
Revision: 1184317

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fuzzy/repos/community-staging-x86_64/PKGBUILD (from rev 
1184316, haskell-fuzzy/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-04-10 11:09:14 UTC (rev 1184317)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=fuzzy
+pkgname=haskell-fuzzy
+pkgver=0.1.0.1
+pkgrel=45
+pkgdesc="Filters a list based on a fuzzy string search."
+url="https://github.com/joom/fuzzy;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-monoid-subclasses')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('677f03be681c2943e6e5dd0badbc2b35fc78e2805fed999b53538b2fe0d5623fbc9b91218576f0bbe414e9cd5d03d7230698e966df4b258469630fba437c20e2')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--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 --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-04-06 Thread Felix Yan via arch-commits
Date: Wednesday, April 6, 2022 @ 20:48:16
  Author: felixonmars
Revision: 1181808

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fuzzy/repos/community-staging-x86_64/PKGBUILD (from rev 
1181807, haskell-fuzzy/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-04-06 20:48:16 UTC (rev 1181808)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=fuzzy
+pkgname=haskell-fuzzy
+pkgver=0.1.0.1
+pkgrel=44
+pkgdesc="Filters a list based on a fuzzy string search."
+url="https://github.com/joom/fuzzy;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-monoid-subclasses')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('677f03be681c2943e6e5dd0badbc2b35fc78e2805fed999b53538b2fe0d5623fbc9b91218576f0bbe414e9cd5d03d7230698e966df4b258469630fba437c20e2')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--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 --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-03-31 Thread Felix Yan via arch-commits
Date: Friday, April 1, 2022 @ 05:50:07
  Author: felixonmars
Revision: 1179182

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fuzzy/repos/community-staging-x86_64/PKGBUILD (from rev 
1179181, haskell-fuzzy/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-04-01 05:50:07 UTC (rev 1179182)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=fuzzy
+pkgname=haskell-fuzzy
+pkgver=0.1.0.1
+pkgrel=43
+pkgdesc="Filters a list based on a fuzzy string search."
+url="https://github.com/joom/fuzzy;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-monoid-subclasses')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('677f03be681c2943e6e5dd0badbc2b35fc78e2805fed999b53538b2fe0d5623fbc9b91218576f0bbe414e9cd5d03d7230698e966df4b258469630fba437c20e2')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--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 --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-03-24 Thread Felix Yan via arch-commits
Date: Thursday, March 24, 2022 @ 19:56:55
  Author: felixonmars
Revision: 1175067

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fuzzy/repos/community-staging-x86_64/PKGBUILD (from rev 
1175066, haskell-fuzzy/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-24 19:56:55 UTC (rev 1175067)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=fuzzy
+pkgname=haskell-fuzzy
+pkgver=0.1.0.1
+pkgrel=42
+pkgdesc="Filters a list based on a fuzzy string search."
+url="https://github.com/joom/fuzzy;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-monoid-subclasses')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('677f03be681c2943e6e5dd0badbc2b35fc78e2805fed999b53538b2fe0d5623fbc9b91218576f0bbe414e9cd5d03d7230698e966df4b258469630fba437c20e2')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--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 --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-03-24 Thread Felix Yan via arch-commits
Date: Thursday, March 24, 2022 @ 02:13:55
  Author: felixonmars
Revision: 1173345

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fuzzy/repos/community-staging-x86_64/PKGBUILD (from rev 
1173344, haskell-fuzzy/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-24 02:13:55 UTC (rev 1173345)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=fuzzy
+pkgname=haskell-fuzzy
+pkgver=0.1.0.1
+pkgrel=41
+pkgdesc="Filters a list based on a fuzzy string search."
+url="https://github.com/joom/fuzzy;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-monoid-subclasses')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('677f03be681c2943e6e5dd0badbc2b35fc78e2805fed999b53538b2fe0d5623fbc9b91218576f0bbe414e9cd5d03d7230698e966df4b258469630fba437c20e2')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--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 --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-03-21 Thread Felix Yan via arch-commits
Date: Monday, March 21, 2022 @ 19:39:23
  Author: felixonmars
Revision: 1168157

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fuzzy/repos/community-staging-x86_64/PKGBUILD (from rev 
1168156, haskell-fuzzy/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-21 19:39:23 UTC (rev 1168157)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=fuzzy
+pkgname=haskell-fuzzy
+pkgver=0.1.0.1
+pkgrel=40
+pkgdesc="Filters a list based on a fuzzy string search."
+url="https://github.com/joom/fuzzy;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-monoid-subclasses')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('677f03be681c2943e6e5dd0badbc2b35fc78e2805fed999b53538b2fe0d5623fbc9b91218576f0bbe414e9cd5d03d7230698e966df4b258469630fba437c20e2')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname 
--enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--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 --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-03-20 Thread Felix Yan via arch-commits
Date: Sunday, March 20, 2022 @ 19:31:49
  Author: felixonmars
Revision: 1164994

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fuzzy/repos/community-staging-x86_64/PKGBUILD (from rev 
1164993, haskell-fuzzy/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-20 19:31:49 UTC (rev 1164994)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=fuzzy
+pkgname=haskell-fuzzy
+pkgver=0.1.0.1
+pkgrel=39
+pkgdesc="Filters a list based on a fuzzy string search."
+url="https://github.com/joom/fuzzy;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-monoid-subclasses')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('677f03be681c2943e6e5dd0badbc2b35fc78e2805fed999b53538b2fe0d5623fbc9b91218576f0bbe414e9cd5d03d7230698e966df4b258469630fba437c20e2')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--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 --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-03-18 Thread Felix Yan via arch-commits
Date: Friday, March 18, 2022 @ 17:07:37
  Author: felixonmars
Revision: 1158699

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fuzzy/repos/community-staging-x86_64/PKGBUILD (from rev 
1158698, haskell-fuzzy/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-18 17:07:37 UTC (rev 1158699)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=fuzzy
+pkgname=haskell-fuzzy
+pkgver=0.1.0.1
+pkgrel=37
+pkgdesc="Filters a list based on a fuzzy string search."
+url="https://github.com/joom/fuzzy;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-monoid-subclasses')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('677f03be681c2943e6e5dd0badbc2b35fc78e2805fed999b53538b2fe0d5623fbc9b91218576f0bbe414e9cd5d03d7230698e966df4b258469630fba437c20e2')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--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 --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-03-15 Thread Felix Yan via arch-commits
Date: Tuesday, March 15, 2022 @ 10:54:40
  Author: felixonmars
Revision: 1154190

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fuzzy/repos/community-staging-x86_64/PKGBUILD (from rev 
1154189, haskell-fuzzy/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-15 10:54:40 UTC (rev 1154190)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=fuzzy
+pkgname=haskell-fuzzy
+pkgver=0.1.0.1
+pkgrel=36
+pkgdesc="Filters a list based on a fuzzy string search."
+url="https://github.com/joom/fuzzy;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-monoid-subclasses')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('677f03be681c2943e6e5dd0badbc2b35fc78e2805fed999b53538b2fe0d5623fbc9b91218576f0bbe414e9cd5d03d7230698e966df4b258469630fba437c20e2')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--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 --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-03-14 Thread Felix Yan via arch-commits
Date: Monday, March 14, 2022 @ 12:39:19
  Author: felixonmars
Revision: 1152624

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fuzzy/repos/community-staging-x86_64/PKGBUILD (from rev 
1152623, haskell-fuzzy/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-14 12:39:19 UTC (rev 1152624)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=fuzzy
+pkgname=haskell-fuzzy
+pkgver=0.1.0.1
+pkgrel=35
+pkgdesc="Filters a list based on a fuzzy string search."
+url="https://github.com/joom/fuzzy;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-monoid-subclasses')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('677f03be681c2943e6e5dd0badbc2b35fc78e2805fed999b53538b2fe0d5623fbc9b91218576f0bbe414e9cd5d03d7230698e966df4b258469630fba437c20e2')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--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 --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-03-11 Thread Felix Yan via arch-commits
Date: Friday, March 11, 2022 @ 12:41:19
  Author: felixonmars
Revision: 1148249

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fuzzy/repos/community-staging-x86_64/PKGBUILD (from rev 
1148248, haskell-fuzzy/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-11 12:41:19 UTC (rev 1148249)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=fuzzy
+pkgname=haskell-fuzzy
+pkgver=0.1.0.1
+pkgrel=34
+pkgdesc="Filters a list based on a fuzzy string search."
+url="https://github.com/joom/fuzzy;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-monoid-subclasses')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('677f03be681c2943e6e5dd0badbc2b35fc78e2805fed999b53538b2fe0d5623fbc9b91218576f0bbe414e9cd5d03d7230698e966df4b258469630fba437c20e2')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--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 --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-03-08 Thread Felix Yan via arch-commits
Date: Tuesday, March 8, 2022 @ 08:00:32
  Author: felixonmars
Revision: 1145362

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fuzzy/repos/community-staging-x86_64/PKGBUILD (from rev 
1145361, haskell-fuzzy/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-08 08:00:32 UTC (rev 1145362)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=fuzzy
+pkgname=haskell-fuzzy
+pkgver=0.1.0.1
+pkgrel=33
+pkgdesc="Filters a list based on a fuzzy string search."
+url="https://github.com/joom/fuzzy;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-monoid-subclasses')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('677f03be681c2943e6e5dd0badbc2b35fc78e2805fed999b53538b2fe0d5623fbc9b91218576f0bbe414e9cd5d03d7230698e966df4b258469630fba437c20e2')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--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 --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-03-03 Thread Felix Yan via arch-commits
Date: Thursday, March 3, 2022 @ 23:16:18
  Author: felixonmars
Revision: 1141406

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fuzzy/repos/community-staging-x86_64/PKGBUILD (from rev 
1141405, haskell-fuzzy/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-03-03 23:16:18 UTC (rev 1141406)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=fuzzy
+pkgname=haskell-fuzzy
+pkgver=0.1.0.1
+pkgrel=32
+pkgdesc="Filters a list based on a fuzzy string search."
+url="https://github.com/joom/fuzzy;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-monoid-subclasses')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('677f03be681c2943e6e5dd0badbc2b35fc78e2805fed999b53538b2fe0d5623fbc9b91218576f0bbe414e9cd5d03d7230698e966df4b258469630fba437c20e2')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--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 --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-02-20 Thread Felix Yan via arch-commits
Date: Sunday, February 20, 2022 @ 21:39:14
  Author: felixonmars
Revision: 1135454

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fuzzy/repos/community-staging-x86_64/PKGBUILD (from rev 
1135453, haskell-fuzzy/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-02-20 21:39:14 UTC (rev 1135454)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=fuzzy
+pkgname=haskell-fuzzy
+pkgver=0.1.0.1
+pkgrel=31
+pkgdesc="Filters a list based on a fuzzy string search."
+url="https://github.com/joom/fuzzy;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-monoid-subclasses')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('677f03be681c2943e6e5dd0badbc2b35fc78e2805fed999b53538b2fe0d5623fbc9b91218576f0bbe414e9cd5d03d7230698e966df4b258469630fba437c20e2')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--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 --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-02-10 Thread Felix Yan via arch-commits
Date: Friday, February 11, 2022 @ 02:49:33
  Author: felixonmars
Revision: 1131679

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fuzzy/repos/community-staging-x86_64/PKGBUILD (from rev 
1131678, haskell-fuzzy/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-02-11 02:49:33 UTC (rev 1131679)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=fuzzy
+pkgname=haskell-fuzzy
+pkgver=0.1.0.1
+pkgrel=30
+pkgdesc="Filters a list based on a fuzzy string search."
+url="https://github.com/joom/fuzzy;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-monoid-subclasses')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('677f03be681c2943e6e5dd0badbc2b35fc78e2805fed999b53538b2fe0d5623fbc9b91218576f0bbe414e9cd5d03d7230698e966df4b258469630fba437c20e2')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--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 --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

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

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fuzzy/repos/community-staging-x86_64/PKGBUILD (from rev 
1128871, haskell-fuzzy/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-02-07 23:04:07 UTC (rev 1128872)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=fuzzy
+pkgname=haskell-fuzzy
+pkgver=0.1.0.1
+pkgrel=29
+pkgdesc="Filters a list based on a fuzzy string search."
+url="https://github.com/joom/fuzzy;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-monoid-subclasses')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('677f03be681c2943e6e5dd0badbc2b35fc78e2805fed999b53538b2fe0d5623fbc9b91218576f0bbe414e9cd5d03d7230698e966df4b258469630fba437c20e2')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--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 --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-02-05 Thread Felix Yan via arch-commits
Date: Sunday, February 6, 2022 @ 02:39:06
  Author: felixonmars
Revision: 1126906

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fuzzy/repos/community-staging-x86_64/PKGBUILD (from rev 
1126905, haskell-fuzzy/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-02-06 02:39:06 UTC (rev 1126906)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=fuzzy
+pkgname=haskell-fuzzy
+pkgver=0.1.0.1
+pkgrel=28
+pkgdesc="Filters a list based on a fuzzy string search."
+url="https://github.com/joom/fuzzy;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-monoid-subclasses')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('677f03be681c2943e6e5dd0badbc2b35fc78e2805fed999b53538b2fe0d5623fbc9b91218576f0bbe414e9cd5d03d7230698e966df4b258469630fba437c20e2')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--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 --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-02-04 Thread Felix Yan via arch-commits
Date: Friday, February 4, 2022 @ 21:05:40
  Author: felixonmars
Revision: 1126031

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fuzzy/repos/community-staging-x86_64/PKGBUILD (from rev 
1126030, haskell-fuzzy/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-02-04 21:05:40 UTC (rev 1126031)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=fuzzy
+pkgname=haskell-fuzzy
+pkgver=0.1.0.1
+pkgrel=27
+pkgdesc="Filters a list based on a fuzzy string search."
+url="https://github.com/joom/fuzzy;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-monoid-subclasses')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('677f03be681c2943e6e5dd0badbc2b35fc78e2805fed999b53538b2fe0d5623fbc9b91218576f0bbe414e9cd5d03d7230698e966df4b258469630fba437c20e2')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--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 --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-02-02 Thread Felix Yan via arch-commits
Date: Wednesday, February 2, 2022 @ 22:52:43
  Author: felixonmars
Revision: 1123504

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fuzzy/repos/community-staging-x86_64/PKGBUILD (from rev 
1123503, haskell-fuzzy/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-02-02 22:52:43 UTC (rev 1123504)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=fuzzy
+pkgname=haskell-fuzzy
+pkgver=0.1.0.1
+pkgrel=26
+pkgdesc="Filters a list based on a fuzzy string search."
+url="https://github.com/joom/fuzzy;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-monoid-subclasses')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('677f03be681c2943e6e5dd0badbc2b35fc78e2805fed999b53538b2fe0d5623fbc9b91218576f0bbe414e9cd5d03d7230698e966df4b258469630fba437c20e2')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--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 --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-01-28 Thread Felix Yan via arch-commits
Date: Friday, January 28, 2022 @ 18:44:09
  Author: felixonmars
Revision: 1118416

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fuzzy/repos/community-staging-x86_64/PKGBUILD (from rev 
1118415, haskell-fuzzy/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-28 18:44:09 UTC (rev 1118416)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=fuzzy
+pkgname=haskell-fuzzy
+pkgver=0.1.0.1
+pkgrel=25
+pkgdesc="Filters a list based on a fuzzy string search."
+url="https://github.com/joom/fuzzy;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-monoid-subclasses')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('677f03be681c2943e6e5dd0badbc2b35fc78e2805fed999b53538b2fe0d5623fbc9b91218576f0bbe414e9cd5d03d7230698e966df4b258469630fba437c20e2')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--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 --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-01-25 Thread Felix Yan via arch-commits
Date: Tuesday, January 25, 2022 @ 09:14:34
  Author: felixonmars
Revision: 1115467

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fuzzy/repos/community-staging-x86_64/PKGBUILD (from rev 
1115466, haskell-fuzzy/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-25 09:14:34 UTC (rev 1115467)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=fuzzy
+pkgname=haskell-fuzzy
+pkgver=0.1.0.1
+pkgrel=24
+pkgdesc="Filters a list based on a fuzzy string search."
+url="https://github.com/joom/fuzzy;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-monoid-subclasses')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('677f03be681c2943e6e5dd0badbc2b35fc78e2805fed999b53538b2fe0d5623fbc9b91218576f0bbe414e9cd5d03d7230698e966df4b258469630fba437c20e2')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--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 --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-01-21 Thread Felix Yan via arch-commits
Date: Friday, January 21, 2022 @ 19:29:53
  Author: felixonmars
Revision: 1112470

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fuzzy/repos/community-staging-x86_64/PKGBUILD (from rev 
1112469, haskell-fuzzy/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-21 19:29:53 UTC (rev 1112470)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=fuzzy
+pkgname=haskell-fuzzy
+pkgver=0.1.0.1
+pkgrel=23
+pkgdesc="Filters a list based on a fuzzy string search."
+url="https://github.com/joom/fuzzy;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-monoid-subclasses')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('677f03be681c2943e6e5dd0badbc2b35fc78e2805fed999b53538b2fe0d5623fbc9b91218576f0bbe414e9cd5d03d7230698e966df4b258469630fba437c20e2')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--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 --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-01-18 Thread Felix Yan via arch-commits
Date: Tuesday, January 18, 2022 @ 13:19:11
  Author: felixonmars
Revision: 1108820

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fuzzy/repos/community-staging-x86_64/PKGBUILD (from rev 
1108819, haskell-fuzzy/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-18 13:19:11 UTC (rev 1108820)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=fuzzy
+pkgname=haskell-fuzzy
+pkgver=0.1.0.1
+pkgrel=22
+pkgdesc="Filters a list based on a fuzzy string search."
+url="https://github.com/joom/fuzzy;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-monoid-subclasses')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('677f03be681c2943e6e5dd0badbc2b35fc78e2805fed999b53538b2fe0d5623fbc9b91218576f0bbe414e9cd5d03d7230698e966df4b258469630fba437c20e2')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--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 --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-01-11 Thread Felix Yan via arch-commits
Date: Tuesday, January 11, 2022 @ 23:18:09
  Author: felixonmars
Revision: 1101249

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fuzzy/repos/community-staging-x86_64/PKGBUILD (from rev 
1101248, haskell-fuzzy/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-11 23:18:09 UTC (rev 1101249)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=fuzzy
+pkgname=haskell-fuzzy
+pkgver=0.1.0.1
+pkgrel=21
+pkgdesc="Filters a list based on a fuzzy string search."
+url="https://github.com/joom/fuzzy;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-monoid-subclasses')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('677f03be681c2943e6e5dd0badbc2b35fc78e2805fed999b53538b2fe0d5623fbc9b91218576f0bbe414e9cd5d03d7230698e966df4b258469630fba437c20e2')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--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 --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-01-08 Thread Felix Yan via arch-commits
Date: Saturday, January 8, 2022 @ 14:22:18
  Author: felixonmars
Revision: 1097015

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fuzzy/repos/community-staging-x86_64/PKGBUILD (from rev 
1097014, haskell-fuzzy/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-08 14:22:18 UTC (rev 1097015)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=fuzzy
+pkgname=haskell-fuzzy
+pkgver=0.1.0.1
+pkgrel=20
+pkgdesc="Filters a list based on a fuzzy string search."
+url="https://github.com/joom/fuzzy;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-monoid-subclasses')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('677f03be681c2943e6e5dd0badbc2b35fc78e2805fed999b53538b2fe0d5623fbc9b91218576f0bbe414e9cd5d03d7230698e966df4b258469630fba437c20e2')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--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 --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2022-01-05 Thread Felix Yan via arch-commits
Date: Thursday, January 6, 2022 @ 03:55:41
  Author: felixonmars
Revision: 1094298

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fuzzy/repos/community-staging-x86_64/PKGBUILD (from rev 
1094297, haskell-fuzzy/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-01-06 03:55:41 UTC (rev 1094298)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=fuzzy
+pkgname=haskell-fuzzy
+pkgver=0.1.0.1
+pkgrel=19
+pkgdesc="Filters a list based on a fuzzy string search."
+url="https://github.com/joom/fuzzy;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-monoid-subclasses')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('677f03be681c2943e6e5dd0badbc2b35fc78e2805fed999b53538b2fe0d5623fbc9b91218576f0bbe414e9cd5d03d7230698e966df4b258469630fba437c20e2')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--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 --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-12-31 Thread Felix Yan via arch-commits
Date: Friday, December 31, 2021 @ 10:09:18
  Author: felixonmars
Revision: 1089984

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fuzzy/repos/community-staging-x86_64/PKGBUILD (from rev 
1089983, haskell-fuzzy/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-31 10:09:18 UTC (rev 1089984)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=fuzzy
+pkgname=haskell-fuzzy
+pkgver=0.1.0.1
+pkgrel=18
+pkgdesc="Filters a list based on a fuzzy string search."
+url="https://github.com/joom/fuzzy;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-monoid-subclasses')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('677f03be681c2943e6e5dd0badbc2b35fc78e2805fed999b53538b2fe0d5623fbc9b91218576f0bbe414e9cd5d03d7230698e966df4b258469630fba437c20e2')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--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 --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-12-29 Thread Felix Yan via arch-commits
Date: Wednesday, December 29, 2021 @ 11:42:24
  Author: felixonmars
Revision: 1087007

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fuzzy/repos/community-staging-x86_64/PKGBUILD (from rev 
1087006, haskell-fuzzy/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-29 11:42:24 UTC (rev 1087007)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=fuzzy
+pkgname=haskell-fuzzy
+pkgver=0.1.0.1
+pkgrel=17
+pkgdesc="Filters a list based on a fuzzy string search."
+url="https://github.com/joom/fuzzy;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-monoid-subclasses')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('677f03be681c2943e6e5dd0badbc2b35fc78e2805fed999b53538b2fe0d5623fbc9b91218576f0bbe414e9cd5d03d7230698e966df4b258469630fba437c20e2')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--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 --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-12-28 Thread Felix Yan via arch-commits
Date: Tuesday, December 28, 2021 @ 04:24:11
  Author: felixonmars
Revision: 1085042

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fuzzy/repos/community-staging-x86_64/PKGBUILD (from rev 
1085041, haskell-fuzzy/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-28 04:24:11 UTC (rev 1085042)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=fuzzy
+pkgname=haskell-fuzzy
+pkgver=0.1.0.1
+pkgrel=16
+pkgdesc="Filters a list based on a fuzzy string search."
+url="https://github.com/joom/fuzzy;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-monoid-subclasses')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('677f03be681c2943e6e5dd0badbc2b35fc78e2805fed999b53538b2fe0d5623fbc9b91218576f0bbe414e9cd5d03d7230698e966df4b258469630fba437c20e2')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--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 --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-12-20 Thread Felix Yan via arch-commits
Date: Tuesday, December 21, 2021 @ 00:39:56
  Author: felixonmars
Revision: 1081233

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fuzzy/repos/community-staging-x86_64/PKGBUILD (from rev 
1081232, haskell-fuzzy/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-21 00:39:56 UTC (rev 1081233)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=fuzzy
+pkgname=haskell-fuzzy
+pkgver=0.1.0.1
+pkgrel=15
+pkgdesc="Filters a list based on a fuzzy string search."
+url="https://github.com/joom/fuzzy;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-monoid-subclasses')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('677f03be681c2943e6e5dd0badbc2b35fc78e2805fed999b53538b2fe0d5623fbc9b91218576f0bbe414e9cd5d03d7230698e966df4b258469630fba437c20e2')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--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 --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-12-18 Thread Felix Yan via arch-commits
Date: Saturday, December 18, 2021 @ 21:13:37
  Author: felixonmars
Revision: 1077767

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fuzzy/repos/community-staging-x86_64/PKGBUILD (from rev 
1077765, haskell-fuzzy/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-18 21:13:37 UTC (rev 1077767)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=fuzzy
+pkgname=haskell-fuzzy
+pkgver=0.1.0.1
+pkgrel=14
+pkgdesc="Filters a list based on a fuzzy string search."
+url="https://github.com/joom/fuzzy;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-monoid-subclasses')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('677f03be681c2943e6e5dd0badbc2b35fc78e2805fed999b53538b2fe0d5623fbc9b91218576f0bbe414e9cd5d03d7230698e966df4b258469630fba437c20e2')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--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 --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-12-16 Thread Felix Yan via arch-commits
Date: Thursday, December 16, 2021 @ 09:02:41
  Author: felixonmars
Revision: 1074103

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fuzzy/repos/community-staging-x86_64/PKGBUILD (from rev 
1074102, haskell-fuzzy/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-16 09:02:41 UTC (rev 1074103)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=fuzzy
+pkgname=haskell-fuzzy
+pkgver=0.1.0.1
+pkgrel=13
+pkgdesc="Filters a list based on a fuzzy string search."
+url="https://github.com/joom/fuzzy;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-monoid-subclasses')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('677f03be681c2943e6e5dd0badbc2b35fc78e2805fed999b53538b2fe0d5623fbc9b91218576f0bbe414e9cd5d03d7230698e966df4b258469630fba437c20e2')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--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 --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-12-13 Thread Felix Yan via arch-commits
Date: Monday, December 13, 2021 @ 12:58:43
  Author: felixonmars
Revision: 1071632

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fuzzy/repos/community-staging-x86_64/PKGBUILD (from rev 
1071631, haskell-fuzzy/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-12-13 12:58:43 UTC (rev 1071632)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=fuzzy
+pkgname=haskell-fuzzy
+pkgver=0.1.0.1
+pkgrel=12
+pkgdesc="Filters a list based on a fuzzy string search."
+url="https://github.com/joom/fuzzy;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-monoid-subclasses')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('677f03be681c2943e6e5dd0badbc2b35fc78e2805fed999b53538b2fe0d5623fbc9b91218576f0bbe414e9cd5d03d7230698e966df4b258469630fba437c20e2')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--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 --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-11-28 Thread Felix Yan via arch-commits
Date: Monday, November 29, 2021 @ 04:03:09
  Author: felixonmars
Revision: 1056335

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fuzzy/repos/community-staging-x86_64/PKGBUILD (from rev 
1056334, haskell-fuzzy/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-11-29 04:03:09 UTC (rev 1056335)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=fuzzy
+pkgname=haskell-fuzzy
+pkgver=0.1.0.1
+pkgrel=11
+pkgdesc="Filters a list based on a fuzzy string search."
+url="https://github.com/joom/fuzzy;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-monoid-subclasses')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('677f03be681c2943e6e5dd0badbc2b35fc78e2805fed999b53538b2fe0d5623fbc9b91218576f0bbe414e9cd5d03d7230698e966df4b258469630fba437c20e2')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--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 --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-11-18 Thread Felix Yan via arch-commits
Date: Thursday, November 18, 2021 @ 13:27:26
  Author: felixonmars
Revision: 1052249

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fuzzy/repos/community-staging-x86_64/PKGBUILD (from rev 
1052248, haskell-fuzzy/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-11-18 13:27:26 UTC (rev 1052249)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=fuzzy
+pkgname=haskell-fuzzy
+pkgver=0.1.0.1
+pkgrel=10
+pkgdesc="Filters a list based on a fuzzy string search."
+url="https://github.com/joom/fuzzy;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-monoid-subclasses')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('677f03be681c2943e6e5dd0badbc2b35fc78e2805fed999b53538b2fe0d5623fbc9b91218576f0bbe414e9cd5d03d7230698e966df4b258469630fba437c20e2')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--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 --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-11-17 Thread Felix Yan via arch-commits
Date: Wednesday, November 17, 2021 @ 11:35:59
  Author: felixonmars
Revision: 1049901

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fuzzy/repos/community-staging-x86_64/PKGBUILD (from rev 
1049900, haskell-fuzzy/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-11-17 11:35:59 UTC (rev 1049901)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=fuzzy
+pkgname=haskell-fuzzy
+pkgver=0.1.0.1
+pkgrel=9
+pkgdesc="Filters a list based on a fuzzy string search."
+url="https://github.com/joom/fuzzy;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-monoid-subclasses')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('677f03be681c2943e6e5dd0badbc2b35fc78e2805fed999b53538b2fe0d5623fbc9b91218576f0bbe414e9cd5d03d7230698e966df4b258469630fba437c20e2')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--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 --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-11-14 Thread Felix Yan via arch-commits
Date: Sunday, November 14, 2021 @ 13:42:02
  Author: felixonmars
Revision: 1047424

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fuzzy/repos/community-staging-x86_64/PKGBUILD (from rev 
1047423, haskell-fuzzy/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-11-14 13:42:02 UTC (rev 1047424)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=fuzzy
+pkgname=haskell-fuzzy
+pkgver=0.1.0.1
+pkgrel=8
+pkgdesc="Filters a list based on a fuzzy string search."
+url="https://github.com/joom/fuzzy;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-monoid-subclasses')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('677f03be681c2943e6e5dd0badbc2b35fc78e2805fed999b53538b2fe0d5623fbc9b91218576f0bbe414e9cd5d03d7230698e966df4b258469630fba437c20e2')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--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 --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-11-13 Thread Felix Yan via arch-commits
Date: Saturday, November 13, 2021 @ 20:03:44
  Author: felixonmars
Revision: 1046009

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fuzzy/repos/community-staging-x86_64/PKGBUILD (from rev 
1046008, haskell-fuzzy/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-11-13 20:03:44 UTC (rev 1046009)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=fuzzy
+pkgname=haskell-fuzzy
+pkgver=0.1.0.1
+pkgrel=7
+pkgdesc="Filters a list based on a fuzzy string search."
+url="https://github.com/joom/fuzzy;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-monoid-subclasses')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('677f03be681c2943e6e5dd0badbc2b35fc78e2805fed999b53538b2fe0d5623fbc9b91218576f0bbe414e9cd5d03d7230698e966df4b258469630fba437c20e2')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--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 --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-11-11 Thread Felix Yan via arch-commits
Date: Friday, November 12, 2021 @ 07:57:23
  Author: felixonmars
Revision: 1043350

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fuzzy/repos/community-staging-x86_64/PKGBUILD (from rev 
1043349, haskell-fuzzy/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-11-12 07:57:23 UTC (rev 1043350)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=fuzzy
+pkgname=haskell-fuzzy
+pkgver=0.1.0.1
+pkgrel=6
+pkgdesc="Filters a list based on a fuzzy string search."
+url="https://github.com/joom/fuzzy;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-monoid-subclasses')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('677f03be681c2943e6e5dd0badbc2b35fc78e2805fed999b53538b2fe0d5623fbc9b91218576f0bbe414e9cd5d03d7230698e966df4b258469630fba437c20e2')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--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 --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-11-10 Thread Felix Yan via arch-commits
Date: Wednesday, November 10, 2021 @ 23:37:52
  Author: felixonmars
Revision: 1040642

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fuzzy/repos/community-staging-x86_64/PKGBUILD (from rev 
1040641, haskell-fuzzy/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-11-10 23:37:52 UTC (rev 1040642)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=fuzzy
+pkgname=haskell-fuzzy
+pkgver=0.1.0.1
+pkgrel=5
+pkgdesc="Filters a list based on a fuzzy string search."
+url="https://github.com/joom/fuzzy;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-monoid-subclasses')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('677f03be681c2943e6e5dd0badbc2b35fc78e2805fed999b53538b2fe0d5623fbc9b91218576f0bbe414e9cd5d03d7230698e966df4b258469630fba437c20e2')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--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 --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-11-01 Thread Felix Yan via arch-commits
Date: Monday, November 1, 2021 @ 22:57:49
  Author: felixonmars
Revision: 1035346

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fuzzy/repos/community-staging-x86_64/PKGBUILD (from rev 
1035345, haskell-fuzzy/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-11-01 22:57:49 UTC (rev 1035346)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=fuzzy
+pkgname=haskell-fuzzy
+pkgver=0.1.0.1
+pkgrel=4
+pkgdesc="Filters a list based on a fuzzy string search."
+url="https://github.com/joom/fuzzy;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-monoid-subclasses')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('677f03be681c2943e6e5dd0badbc2b35fc78e2805fed999b53538b2fe0d5623fbc9b91218576f0bbe414e9cd5d03d7230698e966df4b258469630fba437c20e2')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--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 --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-09-24 Thread Felix Yan via arch-commits
Date: Friday, September 24, 2021 @ 18:28:23
  Author: felixonmars
Revision: 1023879

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fuzzy/repos/community-staging-x86_64/PKGBUILD (from rev 
1023878, haskell-fuzzy/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-09-24 18:28:23 UTC (rev 1023879)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=fuzzy
+pkgname=haskell-fuzzy
+pkgver=0.1.0.1
+pkgrel=3
+pkgdesc="Filters a list based on a fuzzy string search."
+url="https://github.com/joom/fuzzy;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-monoid-subclasses')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('677f03be681c2943e6e5dd0badbc2b35fc78e2805fed999b53538b2fe0d5623fbc9b91218576f0bbe414e9cd5d03d7230698e966df4b258469630fba437c20e2')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
--ghc-option=-fllvm \
+--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 --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-09-21 Thread Felix Yan via arch-commits
Date: Tuesday, September 21, 2021 @ 22:34:01
  Author: felixonmars
Revision: 1021181

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fuzzy/repos/community-staging-x86_64/PKGBUILD (from rev 
1021180, haskell-fuzzy/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-09-21 22:34:01 UTC (rev 1021181)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=fuzzy
+pkgname=haskell-fuzzy
+pkgver=0.1.0.1
+pkgrel=2
+pkgdesc="Filters a list based on a fuzzy string search."
+url="https://github.com/joom/fuzzy;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-monoid-subclasses')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('677f03be681c2943e6e5dd0badbc2b35fc78e2805fed999b53538b2fe0d5623fbc9b91218576f0bbe414e9cd5d03d7230698e966df4b258469630fba437c20e2')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-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 --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-09-20 Thread Felix Yan via arch-commits
Date: Monday, September 20, 2021 @ 16:44:28
  Author: felixonmars
Revision: 1019621

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fuzzy/repos/community-staging-x86_64/PKGBUILD (from rev 
1019620, haskell-fuzzy/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-09-20 16:44:28 UTC (rev 1019621)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=fuzzy
+pkgname=haskell-fuzzy
+pkgver=0.1.0.1
+pkgrel=1
+pkgdesc="Filters a list based on a fuzzy string search."
+url="https://github.com/joom/fuzzy;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-monoid-subclasses')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha512sums=('677f03be681c2943e6e5dd0badbc2b35fc78e2805fed999b53538b2fe0d5623fbc9b91218576f0bbe414e9cd5d03d7230698e966df4b258469630fba437c20e2')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-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 --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-09-19 Thread Felix Yan via arch-commits
Date: Monday, September 20, 2021 @ 04:25:14
  Author: felixonmars
Revision: 1018307

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fuzzy/repos/community-staging-x86_64/PKGBUILD (from rev 
1018306, haskell-fuzzy/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-09-20 04:25:14 UTC (rev 1018307)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=fuzzy
+pkgname=haskell-fuzzy
+pkgver=0.1.0.0
+pkgrel=79
+pkgdesc="Filters a list based on a fuzzy string search."
+url="http://github.com/joom/fuzzy;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-monoid-subclasses')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('820a7a2b52163c1ecf0924780604ec903979560901cc1b9f27a68ff17256e9cb')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-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 --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-09-15 Thread Felix Yan via arch-commits
Date: Wednesday, September 15, 2021 @ 06:58:35
  Author: felixonmars
Revision: 1015173

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fuzzy/repos/community-staging-x86_64/PKGBUILD (from rev 
1015172, haskell-fuzzy/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-09-15 06:58:35 UTC (rev 1015173)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=fuzzy
+pkgname=haskell-fuzzy
+pkgver=0.1.0.0
+pkgrel=78
+pkgdesc="Filters a list based on a fuzzy string search."
+url="http://github.com/joom/fuzzy;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-monoid-subclasses')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('820a7a2b52163c1ecf0924780604ec903979560901cc1b9f27a68ff17256e9cb')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-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 --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-09-07 Thread Felix Yan via arch-commits
Date: Wednesday, September 8, 2021 @ 00:26:13
  Author: felixonmars
Revision: 1012132

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fuzzy/repos/community-staging-x86_64/PKGBUILD (from rev 
1012131, haskell-fuzzy/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-09-08 00:26:13 UTC (rev 1012132)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=fuzzy
+pkgname=haskell-fuzzy
+pkgver=0.1.0.0
+pkgrel=77
+pkgdesc="Filters a list based on a fuzzy string search."
+url="http://github.com/joom/fuzzy;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-monoid-subclasses')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('820a7a2b52163c1ecf0924780604ec903979560901cc1b9f27a68ff17256e9cb')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-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 --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-09-04 Thread Felix Yan via arch-commits
Date: Saturday, September 4, 2021 @ 08:27:41
  Author: felixonmars
Revision: 1010823

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fuzzy/repos/community-staging-x86_64/PKGBUILD (from rev 
1010822, haskell-fuzzy/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-09-04 08:27:41 UTC (rev 1010823)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=fuzzy
+pkgname=haskell-fuzzy
+pkgver=0.1.0.0
+pkgrel=76
+pkgdesc="Filters a list based on a fuzzy string search."
+url="http://github.com/joom/fuzzy;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-monoid-subclasses')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('820a7a2b52163c1ecf0924780604ec903979560901cc1b9f27a68ff17256e9cb')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-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 --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-08-28 Thread Felix Yan via arch-commits
Date: Sunday, August 29, 2021 @ 05:42:30
  Author: felixonmars
Revision: 1008789

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fuzzy/repos/community-staging-x86_64/PKGBUILD (from rev 
1008788, haskell-fuzzy/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-08-29 05:42:30 UTC (rev 1008789)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=fuzzy
+pkgname=haskell-fuzzy
+pkgver=0.1.0.0
+pkgrel=75
+pkgdesc="Filters a list based on a fuzzy string search."
+url="http://github.com/joom/fuzzy;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-monoid-subclasses')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('820a7a2b52163c1ecf0924780604ec903979560901cc1b9f27a68ff17256e9cb')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-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 --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-08-26 Thread Felix Yan via arch-commits
Date: Thursday, August 26, 2021 @ 11:39:22
  Author: felixonmars
Revision: 1005980

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fuzzy/repos/community-staging-x86_64/PKGBUILD (from rev 
1005979, haskell-fuzzy/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-08-26 11:39:22 UTC (rev 1005980)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=fuzzy
+pkgname=haskell-fuzzy
+pkgver=0.1.0.0
+pkgrel=74
+pkgdesc="Filters a list based on a fuzzy string search."
+url="http://github.com/joom/fuzzy;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-monoid-subclasses')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('820a7a2b52163c1ecf0924780604ec903979560901cc1b9f27a68ff17256e9cb')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-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 --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-08-17 Thread Felix Yan via arch-commits
Date: Tuesday, August 17, 2021 @ 18:14:31
  Author: felixonmars
Revision: 1002339

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fuzzy/repos/community-staging-x86_64/PKGBUILD (from rev 
1002338, haskell-fuzzy/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-08-17 18:14:31 UTC (rev 1002339)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=fuzzy
+pkgname=haskell-fuzzy
+pkgver=0.1.0.0
+pkgrel=73
+pkgdesc="Filters a list based on a fuzzy string search."
+url="http://github.com/joom/fuzzy;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-monoid-subclasses')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('820a7a2b52163c1ecf0924780604ec903979560901cc1b9f27a68ff17256e9cb')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-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 --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-08-15 Thread Felix Yan via arch-commits
Date: Monday, August 16, 2021 @ 00:28:12
  Author: felixonmars
Revision: 999687

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fuzzy/repos/community-staging-x86_64/PKGBUILD (from rev 999686, 
haskell-fuzzy/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-08-16 00:28:12 UTC (rev 999687)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=fuzzy
+pkgname=haskell-fuzzy
+pkgver=0.1.0.0
+pkgrel=72
+pkgdesc="Filters a list based on a fuzzy string search."
+url="http://github.com/joom/fuzzy;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-monoid-subclasses')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('820a7a2b52163c1ecf0924780604ec903979560901cc1b9f27a68ff17256e9cb')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-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 --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-08-08 Thread Felix Yan via arch-commits
Date: Sunday, August 8, 2021 @ 22:03:28
  Author: felixonmars
Revision: 995966

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fuzzy/repos/community-staging-x86_64/PKGBUILD (from rev 995965, 
haskell-fuzzy/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-08-08 22:03:28 UTC (rev 995966)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=fuzzy
+pkgname=haskell-fuzzy
+pkgver=0.1.0.0
+pkgrel=71
+pkgdesc="Filters a list based on a fuzzy string search."
+url="http://github.com/joom/fuzzy;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-monoid-subclasses')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('820a7a2b52163c1ecf0924780604ec903979560901cc1b9f27a68ff17256e9cb')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-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 --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-07-28 Thread Felix Yan via arch-commits
Date: Wednesday, July 28, 2021 @ 07:17:50
  Author: felixonmars
Revision: 988443

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fuzzy/repos/community-staging-x86_64/PKGBUILD (from rev 988441, 
haskell-fuzzy/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-28 07:17:50 UTC (rev 988443)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=fuzzy
+pkgname=haskell-fuzzy
+pkgver=0.1.0.0
+pkgrel=70
+pkgdesc="Filters a list based on a fuzzy string search."
+url="http://github.com/joom/fuzzy;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-monoid-subclasses')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('820a7a2b52163c1ecf0924780604ec903979560901cc1b9f27a68ff17256e9cb')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-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 --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-07-26 Thread Felix Yan via arch-commits
Date: Monday, July 26, 2021 @ 21:27:56
  Author: felixonmars
Revision: 985974

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fuzzy/repos/community-staging-x86_64/PKGBUILD (from rev 985973, 
haskell-fuzzy/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-26 21:27:56 UTC (rev 985974)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=fuzzy
+pkgname=haskell-fuzzy
+pkgver=0.1.0.0
+pkgrel=69
+pkgdesc="Filters a list based on a fuzzy string search."
+url="http://github.com/joom/fuzzy;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-monoid-subclasses')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('820a7a2b52163c1ecf0924780604ec903979560901cc1b9f27a68ff17256e9cb')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-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 --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-07-21 Thread Felix Yan via arch-commits
Date: Wednesday, July 21, 2021 @ 18:10:42
  Author: felixonmars
Revision: 982566

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fuzzy/repos/community-staging-x86_64/PKGBUILD (from rev 982565, 
haskell-fuzzy/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-21 18:10:42 UTC (rev 982566)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=fuzzy
+pkgname=haskell-fuzzy
+pkgver=0.1.0.0
+pkgrel=68
+pkgdesc="Filters a list based on a fuzzy string search."
+url="http://github.com/joom/fuzzy;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-monoid-subclasses')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('820a7a2b52163c1ecf0924780604ec903979560901cc1b9f27a68ff17256e9cb')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-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 --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-07-20 Thread Felix Yan via arch-commits
Date: Tuesday, July 20, 2021 @ 11:33:25
  Author: felixonmars
Revision: 979804

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fuzzy/repos/community-staging-x86_64/PKGBUILD (from rev 979803, 
haskell-fuzzy/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-20 11:33:25 UTC (rev 979804)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=fuzzy
+pkgname=haskell-fuzzy
+pkgver=0.1.0.0
+pkgrel=67
+pkgdesc="Filters a list based on a fuzzy string search."
+url="http://github.com/joom/fuzzy;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-monoid-subclasses')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('820a7a2b52163c1ecf0924780604ec903979560901cc1b9f27a68ff17256e9cb')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-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 --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-07-17 Thread Felix Yan via arch-commits
Date: Saturday, July 17, 2021 @ 15:05:10
  Author: felixonmars
Revision: 978359

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fuzzy/repos/community-staging-x86_64/PKGBUILD (from rev 978358, 
haskell-fuzzy/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-17 15:05:10 UTC (rev 978359)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=fuzzy
+pkgname=haskell-fuzzy
+pkgver=0.1.0.0
+pkgrel=66
+pkgdesc="Filters a list based on a fuzzy string search."
+url="http://github.com/joom/fuzzy;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-monoid-subclasses')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('820a7a2b52163c1ecf0924780604ec903979560901cc1b9f27a68ff17256e9cb')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-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 --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-07-07 Thread Felix Yan via arch-commits
Date: Wednesday, July 7, 2021 @ 06:17:19
  Author: felixonmars
Revision: 974067

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fuzzy/repos/community-staging-x86_64/PKGBUILD (from rev 974066, 
haskell-fuzzy/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-07 06:17:19 UTC (rev 974067)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=fuzzy
+pkgname=haskell-fuzzy
+pkgver=0.1.0.0
+pkgrel=65
+pkgdesc="Filters a list based on a fuzzy string search."
+url="http://github.com/joom/fuzzy;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-monoid-subclasses')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('820a7a2b52163c1ecf0924780604ec903979560901cc1b9f27a68ff17256e9cb')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-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 --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-07-02 Thread Felix Yan via arch-commits
Date: Friday, July 2, 2021 @ 06:37:46
  Author: felixonmars
Revision: 970349

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fuzzy/repos/community-staging-x86_64/PKGBUILD (from rev 970348, 
haskell-fuzzy/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-07-02 06:37:46 UTC (rev 970349)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=fuzzy
+pkgname=haskell-fuzzy
+pkgver=0.1.0.0
+pkgrel=64
+pkgdesc="Filters a list based on a fuzzy string search."
+url="http://github.com/joom/fuzzy;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-monoid-subclasses')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('820a7a2b52163c1ecf0924780604ec903979560901cc1b9f27a68ff17256e9cb')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-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 --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}



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

2021-06-20 Thread Felix Yan via arch-commits
Date: Monday, June 21, 2021 @ 01:44:08
  Author: felixonmars
Revision: 966243

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fuzzy/repos/community-staging-x86_64/PKGBUILD (from rev 966242, 
haskell-fuzzy/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-06-21 01:44:08 UTC (rev 966243)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=fuzzy
+pkgname=haskell-fuzzy
+pkgver=0.1.0.0
+pkgrel=63
+pkgdesc="Filters a list based on a fuzzy string search."
+url="http://github.com/joom/fuzzy;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-monoid-subclasses')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('820a7a2b52163c1ecf0924780604ec903979560901cc1b9f27a68ff17256e9cb')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-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 --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-06-10 Thread Felix Yan via arch-commits
Date: Thursday, June 10, 2021 @ 14:30:27
  Author: felixonmars
Revision: 961307

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fuzzy/repos/community-staging-x86_64/PKGBUILD (from rev 961306, 
haskell-fuzzy/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-06-10 14:30:27 UTC (rev 961307)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=fuzzy
+pkgname=haskell-fuzzy
+pkgver=0.1.0.0
+pkgrel=62
+pkgdesc="Filters a list based on a fuzzy string search."
+url="http://github.com/joom/fuzzy;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-monoid-subclasses')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('820a7a2b52163c1ecf0924780604ec903979560901cc1b9f27a68ff17256e9cb')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-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 --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2021-06-07 Thread Felix Yan via arch-commits
Date: Monday, June 7, 2021 @ 16:08:58
  Author: felixonmars
Revision: 957793

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fuzzy/repos/community-staging-x86_64/PKGBUILD (from rev 957792, 
haskell-fuzzy/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-06-07 16:08:58 UTC (rev 957793)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=fuzzy
+pkgname=haskell-fuzzy
+pkgver=0.1.0.0
+pkgrel=61
+pkgdesc="Filters a list based on a fuzzy string search."
+url="http://github.com/joom/fuzzy;
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-monoid-subclasses')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz;)
+sha256sums=('820a7a2b52163c1ecf0924780604ec903979560901cc1b9f27a68ff17256e9cb')
+
+build() {
+  cd $_hkgname-$pkgver
+
+  runhaskell Setup configure -O --enable-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 --show-details=direct
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


  1   2   >