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

2020-12-28 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 00:35:00
  Author: felixonmars
Revision: 796281

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 796280, haskell-fuzzy/trunk/PKGBUILD)

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

Copied: haskell-fuzzy/repos/community-staging-x86_64/PKGBUILD (from rev 796280, 
haskell-fuzzy/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 00:35:00 UTC (rev 796281)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=fuzzy
+pkgname=haskell-fuzzy
+pkgver=0.1.0.0
+pkgrel=7
+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
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/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)

2020-12-27 Thread Felix Yan via arch-commits
Date: Sunday, December 27, 2020 @ 23:22:16
  Author: felixonmars
Revision: 794002

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 794000, haskell-fuzzy/trunk/PKGBUILD)

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

Copied: haskell-fuzzy/repos/community-staging-x86_64/PKGBUILD (from rev 794000, 
haskell-fuzzy/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-27 23:22:16 UTC (rev 794002)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=fuzzy
+pkgname=haskell-fuzzy
+pkgver=0.1.0.0
+pkgrel=6
+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
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/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)

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

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 791537, haskell-fuzzy/trunk/PKGBUILD)

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

Copied: haskell-fuzzy/repos/community-staging-x86_64/PKGBUILD (from rev 791537, 
haskell-fuzzy/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-26 02:04:17 UTC (rev 791538)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=fuzzy
+pkgname=haskell-fuzzy
+pkgver=0.1.0.0
+pkgrel=5
+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
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/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)

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

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 789181, haskell-fuzzy/trunk/PKGBUILD)

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

Copied: haskell-fuzzy/repos/community-staging-x86_64/PKGBUILD (from rev 789181, 
haskell-fuzzy/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-24 23:41:04 UTC (rev 789182)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=fuzzy
+pkgname=haskell-fuzzy
+pkgver=0.1.0.0
+pkgrel=4
+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
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/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)

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

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 786055, haskell-fuzzy/trunk/PKGBUILD)

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

Copied: haskell-fuzzy/repos/community-staging-x86_64/PKGBUILD (from rev 786055, 
haskell-fuzzy/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-24 02:47:52 UTC (rev 786056)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=fuzzy
+pkgname=haskell-fuzzy
+pkgver=0.1.0.0
+pkgrel=3
+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
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/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)

2020-12-22 Thread Felix Yan via arch-commits
Date: Wednesday, December 23, 2020 @ 03:28:17
  Author: felixonmars
Revision: 783495

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 783494, haskell-fuzzy/trunk/PKGBUILD)

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

Copied: haskell-fuzzy/repos/community-staging-x86_64/PKGBUILD (from rev 783494, 
haskell-fuzzy/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-23 03:28:17 UTC (rev 783495)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=fuzzy
+pkgname=haskell-fuzzy
+pkgver=0.1.0.0
+pkgrel=2
+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
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/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)

2020-12-20 Thread Felix Yan via arch-commits
Date: Sunday, December 20, 2020 @ 11:00:06
  Author: felixonmars
Revision: 780286

archrelease: copy trunk to community-x86_64

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

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

Copied: haskell-fuzzy/repos/community-x86_64/PKGBUILD (from rev 780285, 
haskell-fuzzy/trunk/PKGBUILD)
===
--- community-x86_64/PKGBUILD   (rev 0)
+++ community-x86_64/PKGBUILD   2020-12-20 11:00:06 UTC (rev 780286)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=fuzzy
+pkgname=haskell-fuzzy
+pkgver=0.1.0.0
+pkgrel=1
+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
+  runhaskell Setup register --gen-script
+  runhaskell Setup unregister --gen-script
+  sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+  sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+  cd $_hkgname-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-$pkgver
+
+  install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
+  install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+  runhaskell Setup copy --destdir="$pkgdir"
+  install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}