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

2020-12-28 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 02:05:41
  Author: felixonmars
Revision: 796407

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fclabels/repos/community-staging-x86_64/PKGBUILD (from rev 
796406, haskell-fclabels/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 02:05:41 UTC (rev 796407)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=fclabels
+pkgname=haskell-fclabels
+pkgver=2.0.5
+pkgrel=41
+pkgdesc="First class accessor labels implemented as lenses."
+url="https://github.com/sebastiaanvisser/fclabels;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-orphans')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('f6cc731d68cdf1e5867340a0b73385492008c2729a144dc685136ee6bf80ee0d0e07ddb80f83a18e6a1989d7f8a8755211aadcc92debffd5fe8c178a834021e4')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-12-27 Thread Felix Yan via arch-commits
Date: Monday, December 28, 2020 @ 01:37:49
  Author: felixonmars
Revision: 794228

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fclabels/repos/community-staging-x86_64/PKGBUILD (from rev 
794227, haskell-fclabels/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-28 01:37:49 UTC (rev 794228)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=fclabels
+pkgname=haskell-fclabels
+pkgver=2.0.5
+pkgrel=40
+pkgdesc="First class accessor labels implemented as lenses."
+url="https://github.com/sebastiaanvisser/fclabels;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-orphans')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('f6cc731d68cdf1e5867340a0b73385492008c2729a144dc685136ee6bf80ee0d0e07ddb80f83a18e6a1989d7f8a8755211aadcc92debffd5fe8c178a834021e4')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-12-25 Thread Felix Yan via arch-commits
Date: Saturday, December 26, 2020 @ 03:09:58
  Author: felixonmars
Revision: 791724

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fclabels/repos/community-staging-x86_64/PKGBUILD (from rev 
791723, haskell-fclabels/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-26 03:09:58 UTC (rev 791724)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=fclabels
+pkgname=haskell-fclabels
+pkgver=2.0.5
+pkgrel=39
+pkgdesc="First class accessor labels implemented as lenses."
+url="https://github.com/sebastiaanvisser/fclabels;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-orphans')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('f6cc731d68cdf1e5867340a0b73385492008c2729a144dc685136ee6bf80ee0d0e07ddb80f83a18e6a1989d7f8a8755211aadcc92debffd5fe8c178a834021e4')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-12-24 Thread Felix Yan via arch-commits
Date: Friday, December 25, 2020 @ 03:09:09
  Author: felixonmars
Revision: 789502

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fclabels/repos/community-staging-x86_64/PKGBUILD (from rev 
789501, haskell-fclabels/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-25 03:09:09 UTC (rev 789502)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=fclabels
+pkgname=haskell-fclabels
+pkgver=2.0.5
+pkgrel=38
+pkgdesc="First class accessor labels implemented as lenses."
+url="https://github.com/sebastiaanvisser/fclabels;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-orphans')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('f6cc731d68cdf1e5867340a0b73385492008c2729a144dc685136ee6bf80ee0d0e07ddb80f83a18e6a1989d7f8a8755211aadcc92debffd5fe8c178a834021e4')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-12-24 Thread Felix Yan via arch-commits
Date: Thursday, December 24, 2020 @ 13:00:56
  Author: felixonmars
Revision: 787198

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fclabels/repos/community-staging-x86_64/PKGBUILD (from rev 
787197, haskell-fclabels/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-24 13:00:56 UTC (rev 787198)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=fclabels
+pkgname=haskell-fclabels
+pkgver=2.0.5
+pkgrel=37
+pkgdesc="First class accessor labels implemented as lenses."
+url="https://github.com/sebastiaanvisser/fclabels;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-orphans')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('f6cc731d68cdf1e5867340a0b73385492008c2729a144dc685136ee6bf80ee0d0e07ddb80f83a18e6a1989d7f8a8755211aadcc92debffd5fe8c178a834021e4')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

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

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fclabels/repos/community-staging-x86_64/PKGBUILD (from rev 
783714, haskell-fclabels/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-23 05:34:23 UTC (rev 783715)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=fclabels
+pkgname=haskell-fclabels
+pkgver=2.0.5
+pkgrel=36
+pkgdesc="First class accessor labels implemented as lenses."
+url="https://github.com/sebastiaanvisser/fclabels;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-orphans')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('f6cc731d68cdf1e5867340a0b73385492008c2729a144dc685136ee6bf80ee0d0e07ddb80f83a18e6a1989d7f8a8755211aadcc92debffd5fe8c178a834021e4')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-12-20 Thread Felix Yan via arch-commits
Date: Sunday, December 20, 2020 @ 15:40:55
  Author: felixonmars
Revision: 780494

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fclabels/repos/community-staging-x86_64/PKGBUILD (from rev 
780493, haskell-fclabels/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-20 15:40:55 UTC (rev 780494)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=fclabels
+pkgname=haskell-fclabels
+pkgver=2.0.5
+pkgrel=35
+pkgdesc="First class accessor labels implemented as lenses."
+url="https://github.com/sebastiaanvisser/fclabels;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-orphans')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('f6cc731d68cdf1e5867340a0b73385492008c2729a144dc685136ee6bf80ee0d0e07ddb80f83a18e6a1989d7f8a8755211aadcc92debffd5fe8c178a834021e4')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-12-17 Thread Felix Yan via arch-commits
Date: Thursday, December 17, 2020 @ 19:46:48
  Author: felixonmars
Revision: 777919

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fclabels/repos/community-staging-x86_64/PKGBUILD (from rev 
777918, haskell-fclabels/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-17 19:46:48 UTC (rev 777919)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=fclabels
+pkgname=haskell-fclabels
+pkgver=2.0.5
+pkgrel=34
+pkgdesc="First class accessor labels implemented as lenses."
+url="https://github.com/sebastiaanvisser/fclabels;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-orphans')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('f6cc731d68cdf1e5867340a0b73385492008c2729a144dc685136ee6bf80ee0d0e07ddb80f83a18e6a1989d7f8a8755211aadcc92debffd5fe8c178a834021e4')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-12-13 Thread Felix Yan via arch-commits
Date: Sunday, December 13, 2020 @ 12:50:44
  Author: felixonmars
Revision: 774170

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fclabels/repos/community-staging-x86_64/PKGBUILD (from rev 
774169, haskell-fclabels/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-13 12:50:44 UTC (rev 774170)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=fclabels
+pkgname=haskell-fclabels
+pkgver=2.0.5
+pkgrel=33
+pkgdesc="First class accessor labels implemented as lenses."
+url="https://github.com/sebastiaanvisser/fclabels;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-orphans')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('f6cc731d68cdf1e5867340a0b73385492008c2729a144dc685136ee6bf80ee0d0e07ddb80f83a18e6a1989d7f8a8755211aadcc92debffd5fe8c178a834021e4')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-11-28 Thread Felix Yan via arch-commits
Date: Saturday, November 28, 2020 @ 18:50:11
  Author: felixonmars
Revision: 765435

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fclabels/repos/community-staging-x86_64/PKGBUILD (from rev 
765434, haskell-fclabels/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-28 18:50:11 UTC (rev 765435)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=fclabels
+pkgname=haskell-fclabels
+pkgver=2.0.5
+pkgrel=32
+pkgdesc="First class accessor labels implemented as lenses."
+url="https://github.com/sebastiaanvisser/fclabels;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-orphans')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('f6cc731d68cdf1e5867340a0b73385492008c2729a144dc685136ee6bf80ee0d0e07ddb80f83a18e6a1989d7f8a8755211aadcc92debffd5fe8c178a834021e4')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-11-22 Thread Felix Yan via arch-commits
Date: Sunday, November 22, 2020 @ 18:45:19
  Author: felixonmars
Revision: 759403

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fclabels/repos/community-staging-x86_64/PKGBUILD (from rev 
759402, haskell-fclabels/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-22 18:45:19 UTC (rev 759403)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=fclabels
+pkgname=haskell-fclabels
+pkgver=2.0.5
+pkgrel=31
+pkgdesc="First class accessor labels implemented as lenses."
+url="https://github.com/sebastiaanvisser/fclabels;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-orphans')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('f6cc731d68cdf1e5867340a0b73385492008c2729a144dc685136ee6bf80ee0d0e07ddb80f83a18e6a1989d7f8a8755211aadcc92debffd5fe8c178a834021e4')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-11-16 Thread Felix Yan via arch-commits
Date: Monday, November 16, 2020 @ 16:27:04
  Author: felixonmars
Revision: 755390

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fclabels/repos/community-staging-x86_64/PKGBUILD (from rev 
755389, haskell-fclabels/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-16 16:27:04 UTC (rev 755390)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=fclabels
+pkgname=haskell-fclabels
+pkgver=2.0.5
+pkgrel=30
+pkgdesc="First class accessor labels implemented as lenses."
+url="https://github.com/sebastiaanvisser/fclabels;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-orphans')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('f6cc731d68cdf1e5867340a0b73385492008c2729a144dc685136ee6bf80ee0d0e07ddb80f83a18e6a1989d7f8a8755211aadcc92debffd5fe8c178a834021e4')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-11-05 Thread Felix Yan via arch-commits
Date: Friday, November 6, 2020 @ 00:40:43
  Author: felixonmars
Revision: 743851

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fclabels/repos/community-staging-x86_64/PKGBUILD (from rev 
743850, haskell-fclabels/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-06 00:40:43 UTC (rev 743851)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=fclabels
+pkgname=haskell-fclabels
+pkgver=2.0.5
+pkgrel=29
+pkgdesc="First class accessor labels implemented as lenses."
+url="https://github.com/sebastiaanvisser/fclabels;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-orphans')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('f6cc731d68cdf1e5867340a0b73385492008c2729a144dc685136ee6bf80ee0d0e07ddb80f83a18e6a1989d7f8a8755211aadcc92debffd5fe8c178a834021e4')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-11-02 Thread Felix Yan via arch-commits
Date: Monday, November 2, 2020 @ 14:52:22
  Author: felixonmars
Revision: 739808

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fclabels/repos/community-staging-x86_64/PKGBUILD (from rev 
739807, haskell-fclabels/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-02 14:52:22 UTC (rev 739808)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=fclabels
+pkgname=haskell-fclabels
+pkgver=2.0.5
+pkgrel=28
+pkgdesc="First class accessor labels implemented as lenses."
+url="https://github.com/sebastiaanvisser/fclabels;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-orphans')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('f6cc731d68cdf1e5867340a0b73385492008c2729a144dc685136ee6bf80ee0d0e07ddb80f83a18e6a1989d7f8a8755211aadcc92debffd5fe8c178a834021e4')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-10-31 Thread Felix Yan via arch-commits
Date: Saturday, October 31, 2020 @ 14:12:30
  Author: felixonmars
Revision: 737711

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fclabels/repos/community-staging-x86_64/PKGBUILD (from rev 
737710, haskell-fclabels/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-31 14:12:30 UTC (rev 737711)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=fclabels
+pkgname=haskell-fclabels
+pkgver=2.0.5
+pkgrel=27
+pkgdesc="First class accessor labels implemented as lenses."
+url="https://github.com/sebastiaanvisser/fclabels;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-orphans')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('f6cc731d68cdf1e5867340a0b73385492008c2729a144dc685136ee6bf80ee0d0e07ddb80f83a18e6a1989d7f8a8755211aadcc92debffd5fe8c178a834021e4')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-10-27 Thread Felix Yan via arch-commits
Date: Tuesday, October 27, 2020 @ 18:44:59
  Author: felixonmars
Revision: 734794

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fclabels/repos/community-staging-x86_64/PKGBUILD (from rev 
734793, haskell-fclabels/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-27 18:44:59 UTC (rev 734794)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=fclabels
+pkgname=haskell-fclabels
+pkgver=2.0.5
+pkgrel=26
+pkgdesc="First class accessor labels implemented as lenses."
+url="https://github.com/sebastiaanvisser/fclabels;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-orphans')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('f6cc731d68cdf1e5867340a0b73385492008c2729a144dc685136ee6bf80ee0d0e07ddb80f83a18e6a1989d7f8a8755211aadcc92debffd5fe8c178a834021e4')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-10-25 Thread Felix Yan via arch-commits
Date: Sunday, October 25, 2020 @ 20:48:52
  Author: felixonmars
Revision: 732980

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fclabels/repos/community-staging-x86_64/PKGBUILD (from rev 
732979, haskell-fclabels/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-25 20:48:52 UTC (rev 732980)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=fclabels
+pkgname=haskell-fclabels
+pkgver=2.0.5
+pkgrel=25
+pkgdesc="First class accessor labels implemented as lenses."
+url="https://github.com/sebastiaanvisser/fclabels;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-orphans')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('f6cc731d68cdf1e5867340a0b73385492008c2729a144dc685136ee6bf80ee0d0e07ddb80f83a18e6a1989d7f8a8755211aadcc92debffd5fe8c178a834021e4')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-10-21 Thread Felix Yan via arch-commits
Date: Wednesday, October 21, 2020 @ 16:54:56
  Author: felixonmars
Revision: 728003

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fclabels/repos/community-staging-x86_64/PKGBUILD (from rev 
728002, haskell-fclabels/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-21 16:54:56 UTC (rev 728003)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=fclabels
+pkgname=haskell-fclabels
+pkgver=2.0.5
+pkgrel=24
+pkgdesc="First class accessor labels implemented as lenses."
+url="https://github.com/sebastiaanvisser/fclabels;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-orphans')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('f6cc731d68cdf1e5867340a0b73385492008c2729a144dc685136ee6bf80ee0d0e07ddb80f83a18e6a1989d7f8a8755211aadcc92debffd5fe8c178a834021e4')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-10-16 Thread Felix Yan via arch-commits
Date: Friday, October 16, 2020 @ 14:48:10
  Author: felixonmars
Revision: 724689

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fclabels/repos/community-staging-x86_64/PKGBUILD (from rev 
724688, haskell-fclabels/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-16 14:48:10 UTC (rev 724689)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=fclabels
+pkgname=haskell-fclabels
+pkgver=2.0.5
+pkgrel=23
+pkgdesc="First class accessor labels implemented as lenses."
+url="https://github.com/sebastiaanvisser/fclabels;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-orphans')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('f6cc731d68cdf1e5867340a0b73385492008c2729a144dc685136ee6bf80ee0d0e07ddb80f83a18e6a1989d7f8a8755211aadcc92debffd5fe8c178a834021e4')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-10-06 Thread Felix Yan via arch-commits
Date: Tuesday, October 6, 2020 @ 22:30:47
  Author: felixonmars
Revision: 719791

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fclabels/repos/community-staging-x86_64/PKGBUILD (from rev 
719790, haskell-fclabels/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-06 22:30:47 UTC (rev 719791)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=fclabels
+pkgname=haskell-fclabels
+pkgver=2.0.5
+pkgrel=22
+pkgdesc="First class accessor labels implemented as lenses."
+url="https://github.com/sebastiaanvisser/fclabels;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-orphans')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('f6cc731d68cdf1e5867340a0b73385492008c2729a144dc685136ee6bf80ee0d0e07ddb80f83a18e6a1989d7f8a8755211aadcc92debffd5fe8c178a834021e4')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-10-03 Thread Felix Yan via arch-commits
Date: Saturday, October 3, 2020 @ 22:24:28
  Author: felixonmars
Revision: 716805

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fclabels/repos/community-staging-x86_64/PKGBUILD (from rev 
716804, haskell-fclabels/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-03 22:24:28 UTC (rev 716805)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=fclabels
+pkgname=haskell-fclabels
+pkgver=2.0.5
+pkgrel=21
+pkgdesc="First class accessor labels implemented as lenses."
+url="https://github.com/sebastiaanvisser/fclabels;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-orphans')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('f6cc731d68cdf1e5867340a0b73385492008c2729a144dc685136ee6bf80ee0d0e07ddb80f83a18e6a1989d7f8a8755211aadcc92debffd5fe8c178a834021e4')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-10-01 Thread Felix Yan via arch-commits
Date: Thursday, October 1, 2020 @ 22:35:03
  Author: felixonmars
Revision: 714519

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fclabels/repos/community-staging-x86_64/PKGBUILD (from rev 
714518, haskell-fclabels/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-01 22:35:03 UTC (rev 714519)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=fclabels
+pkgname=haskell-fclabels
+pkgver=2.0.5
+pkgrel=20
+pkgdesc="First class accessor labels implemented as lenses."
+url="https://github.com/sebastiaanvisser/fclabels;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-orphans')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('f6cc731d68cdf1e5867340a0b73385492008c2729a144dc685136ee6bf80ee0d0e07ddb80f83a18e6a1989d7f8a8755211aadcc92debffd5fe8c178a834021e4')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-09-17 Thread Felix Yan via arch-commits
Date: Thursday, September 17, 2020 @ 18:07:15
  Author: felixonmars
Revision: 708942

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fclabels/repos/community-staging-x86_64/PKGBUILD (from rev 
708941, haskell-fclabels/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-17 18:07:15 UTC (rev 708942)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=fclabels
+pkgname=haskell-fclabels
+pkgver=2.0.5
+pkgrel=19
+pkgdesc="First class accessor labels implemented as lenses."
+url="https://github.com/sebastiaanvisser/fclabels;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-orphans')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('f6cc731d68cdf1e5867340a0b73385492008c2729a144dc685136ee6bf80ee0d0e07ddb80f83a18e6a1989d7f8a8755211aadcc92debffd5fe8c178a834021e4')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-09-14 Thread Felix Yan via arch-commits
Date: Monday, September 14, 2020 @ 18:35:53
  Author: felixonmars
Revision: 706249

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fclabels/repos/community-staging-x86_64/PKGBUILD (from rev 
706248, haskell-fclabels/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-14 18:35:53 UTC (rev 706249)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=fclabels
+pkgname=haskell-fclabels
+pkgver=2.0.5
+pkgrel=18
+pkgdesc="First class accessor labels implemented as lenses."
+url="https://github.com/sebastiaanvisser/fclabels;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-orphans')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('f6cc731d68cdf1e5867340a0b73385492008c2729a144dc685136ee6bf80ee0d0e07ddb80f83a18e6a1989d7f8a8755211aadcc92debffd5fe8c178a834021e4')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-09-12 Thread Felix Yan via arch-commits
Date: Saturday, September 12, 2020 @ 15:05:01
  Author: felixonmars
Revision: 704063

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fclabels/repos/community-staging-x86_64/PKGBUILD (from rev 
704062, haskell-fclabels/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-12 15:05:01 UTC (rev 704063)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=fclabels
+pkgname=haskell-fclabels
+pkgver=2.0.5
+pkgrel=17
+pkgdesc="First class accessor labels implemented as lenses."
+url="https://github.com/sebastiaanvisser/fclabels;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-orphans')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('f6cc731d68cdf1e5867340a0b73385492008c2729a144dc685136ee6bf80ee0d0e07ddb80f83a18e6a1989d7f8a8755211aadcc92debffd5fe8c178a834021e4')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-09-10 Thread Felix Yan via arch-commits
Date: Thursday, September 10, 2020 @ 16:08:18
  Author: felixonmars
Revision: 701875

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fclabels/repos/community-staging-x86_64/PKGBUILD (from rev 
701874, haskell-fclabels/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-10 16:08:18 UTC (rev 701875)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=fclabels
+pkgname=haskell-fclabels
+pkgver=2.0.5
+pkgrel=16
+pkgdesc="First class accessor labels implemented as lenses."
+url="https://github.com/sebastiaanvisser/fclabels;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-orphans')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('f6cc731d68cdf1e5867340a0b73385492008c2729a144dc685136ee6bf80ee0d0e07ddb80f83a18e6a1989d7f8a8755211aadcc92debffd5fe8c178a834021e4')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

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

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fclabels/repos/community-staging-x86_64/PKGBUILD (from rev 
699510, haskell-fclabels/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-07 09:16:09 UTC (rev 699511)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=fclabels
+pkgname=haskell-fclabels
+pkgver=2.0.5
+pkgrel=15
+pkgdesc="First class accessor labels implemented as lenses."
+url="https://github.com/sebastiaanvisser/fclabels;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-orphans')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('f6cc731d68cdf1e5867340a0b73385492008c2729a144dc685136ee6bf80ee0d0e07ddb80f83a18e6a1989d7f8a8755211aadcc92debffd5fe8c178a834021e4')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-09-02 Thread Felix Yan via arch-commits
Date: Wednesday, September 2, 2020 @ 16:54:50
  Author: felixonmars
Revision: 696595

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fclabels/repos/community-staging-x86_64/PKGBUILD (from rev 
696594, haskell-fclabels/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-02 16:54:50 UTC (rev 696595)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=fclabels
+pkgname=haskell-fclabels
+pkgver=2.0.5
+pkgrel=14
+pkgdesc="First class accessor labels implemented as lenses."
+url="https://github.com/sebastiaanvisser/fclabels;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-orphans')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('f6cc731d68cdf1e5867340a0b73385492008c2729a144dc685136ee6bf80ee0d0e07ddb80f83a18e6a1989d7f8a8755211aadcc92debffd5fe8c178a834021e4')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-08-30 Thread Felix Yan via arch-commits
Date: Monday, August 31, 2020 @ 02:23:45
  Author: felixonmars
Revision: 693365

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fclabels/repos/community-staging-x86_64/PKGBUILD (from rev 
693364, haskell-fclabels/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-31 02:23:45 UTC (rev 693365)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=fclabels
+pkgname=haskell-fclabels
+pkgver=2.0.5
+pkgrel=13
+pkgdesc="First class accessor labels implemented as lenses."
+url="https://github.com/sebastiaanvisser/fclabels;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-orphans')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('f6cc731d68cdf1e5867340a0b73385492008c2729a144dc685136ee6bf80ee0d0e07ddb80f83a18e6a1989d7f8a8755211aadcc92debffd5fe8c178a834021e4')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-08-28 Thread Felix Yan via arch-commits
Date: Friday, August 28, 2020 @ 08:57:52
  Author: felixonmars
Revision: 690309

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fclabels/repos/community-staging-x86_64/PKGBUILD (from rev 
690308, haskell-fclabels/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-28 08:57:52 UTC (rev 690309)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=fclabels
+pkgname=haskell-fclabels
+pkgver=2.0.5
+pkgrel=12
+pkgdesc="First class accessor labels implemented as lenses."
+url="https://github.com/sebastiaanvisser/fclabels;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-orphans')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('f6cc731d68cdf1e5867340a0b73385492008c2729a144dc685136ee6bf80ee0d0e07ddb80f83a18e6a1989d7f8a8755211aadcc92debffd5fe8c178a834021e4')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-08-25 Thread Felix Yan via arch-commits
Date: Tuesday, August 25, 2020 @ 08:32:26
  Author: felixonmars
Revision: 688018

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fclabels/repos/community-staging-x86_64/PKGBUILD (from rev 
688017, haskell-fclabels/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-25 08:32:26 UTC (rev 688018)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=fclabels
+pkgname=haskell-fclabels
+pkgver=2.0.5
+pkgrel=11
+pkgdesc="First class accessor labels implemented as lenses."
+url="https://github.com/sebastiaanvisser/fclabels;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-orphans')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('f6cc731d68cdf1e5867340a0b73385492008c2729a144dc685136ee6bf80ee0d0e07ddb80f83a18e6a1989d7f8a8755211aadcc92debffd5fe8c178a834021e4')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-08-17 Thread Felix Yan via arch-commits
Date: Monday, August 17, 2020 @ 17:25:00
  Author: felixonmars
Revision: 682909

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fclabels/repos/community-staging-x86_64/PKGBUILD (from rev 
682908, haskell-fclabels/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-17 17:25:00 UTC (rev 682909)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=fclabels
+pkgname=haskell-fclabels
+pkgver=2.0.5
+pkgrel=10
+pkgdesc="First class accessor labels implemented as lenses."
+url="https://github.com/sebastiaanvisser/fclabels;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-orphans')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('f6cc731d68cdf1e5867340a0b73385492008c2729a144dc685136ee6bf80ee0d0e07ddb80f83a18e6a1989d7f8a8755211aadcc92debffd5fe8c178a834021e4')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-08-15 Thread Felix Yan via arch-commits
Date: Saturday, August 15, 2020 @ 19:55:36
  Author: felixonmars
Revision: 679919

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fclabels/repos/community-staging-x86_64/PKGBUILD (from rev 
679918, haskell-fclabels/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-15 19:55:36 UTC (rev 679919)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=fclabels
+pkgname=haskell-fclabels
+pkgver=2.0.5
+pkgrel=9
+pkgdesc="First class accessor labels implemented as lenses."
+url="https://github.com/sebastiaanvisser/fclabels;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-orphans')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('f6cc731d68cdf1e5867340a0b73385492008c2729a144dc685136ee6bf80ee0d0e07ddb80f83a18e6a1989d7f8a8755211aadcc92debffd5fe8c178a834021e4')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-08-13 Thread Felix Yan via arch-commits
Date: Thursday, August 13, 2020 @ 15:07:01
  Author: felixonmars
Revision: 677439

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fclabels/repos/community-staging-x86_64/PKGBUILD (from rev 
677438, haskell-fclabels/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-13 15:07:01 UTC (rev 677439)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=fclabels
+pkgname=haskell-fclabels
+pkgver=2.0.5
+pkgrel=8
+pkgdesc="First class accessor labels implemented as lenses."
+url="https://github.com/sebastiaanvisser/fclabels;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-orphans')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('f6cc731d68cdf1e5867340a0b73385492008c2729a144dc685136ee6bf80ee0d0e07ddb80f83a18e6a1989d7f8a8755211aadcc92debffd5fe8c178a834021e4')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-08-11 Thread Felix Yan via arch-commits
Date: Tuesday, August 11, 2020 @ 18:58:35
  Author: felixonmars
Revision: 674709

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fclabels/repos/community-staging-x86_64/PKGBUILD (from rev 
674708, haskell-fclabels/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-11 18:58:35 UTC (rev 674709)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=fclabels
+pkgname=haskell-fclabels
+pkgver=2.0.5
+pkgrel=7
+pkgdesc="First class accessor labels implemented as lenses."
+url="https://github.com/sebastiaanvisser/fclabels;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-orphans')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('f6cc731d68cdf1e5867340a0b73385492008c2729a144dc685136ee6bf80ee0d0e07ddb80f83a18e6a1989d7f8a8755211aadcc92debffd5fe8c178a834021e4')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-07-31 Thread Felix Yan via arch-commits
Date: Friday, July 31, 2020 @ 21:00:22
  Author: felixonmars
Revision: 666485

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fclabels/repos/community-staging-x86_64/PKGBUILD (from rev 
666484, haskell-fclabels/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-07-31 21:00:22 UTC (rev 666485)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=fclabels
+pkgname=haskell-fclabels
+pkgver=2.0.5
+pkgrel=6
+pkgdesc="First class accessor labels implemented as lenses."
+url="https://github.com/sebastiaanvisser/fclabels;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-orphans')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('f6cc731d68cdf1e5867340a0b73385492008c2729a144dc685136ee6bf80ee0d0e07ddb80f83a18e6a1989d7f8a8755211aadcc92debffd5fe8c178a834021e4')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-06-28 Thread Felix Yan via arch-commits
Date: Sunday, June 28, 2020 @ 21:07:02
  Author: felixonmars
Revision: 655340

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fclabels/repos/community-staging-x86_64/PKGBUILD (from rev 
655339, haskell-fclabels/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-06-28 21:07:02 UTC (rev 655340)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=fclabels
+pkgname=haskell-fclabels
+pkgver=2.0.5
+pkgrel=5
+pkgdesc="First class accessor labels implemented as lenses."
+url="https://github.com/sebastiaanvisser/fclabels;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-orphans')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('f6cc731d68cdf1e5867340a0b73385492008c2729a144dc685136ee6bf80ee0d0e07ddb80f83a18e6a1989d7f8a8755211aadcc92debffd5fe8c178a834021e4')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-06-23 Thread Felix Yan via arch-commits
Date: Tuesday, June 23, 2020 @ 20:15:35
  Author: felixonmars
Revision: 651539

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fclabels/repos/community-staging-x86_64/PKGBUILD (from rev 
651538, haskell-fclabels/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-06-23 20:15:35 UTC (rev 651539)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=fclabels
+pkgname=haskell-fclabels
+pkgver=2.0.5
+pkgrel=4
+pkgdesc="First class accessor labels implemented as lenses."
+url="https://github.com/sebastiaanvisser/fclabels;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-orphans')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('f6cc731d68cdf1e5867340a0b73385492008c2729a144dc685136ee6bf80ee0d0e07ddb80f83a18e6a1989d7f8a8755211aadcc92debffd5fe8c178a834021e4')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-06-13 Thread Felix Yan via arch-commits
Date: Saturday, June 13, 2020 @ 21:25:39
  Author: felixonmars
Revision: 643139

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fclabels/repos/community-staging-x86_64/PKGBUILD (from rev 
643138, haskell-fclabels/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-06-13 21:25:39 UTC (rev 643139)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=fclabels
+pkgname=haskell-fclabels
+pkgver=2.0.5
+pkgrel=3
+pkgdesc="First class accessor labels implemented as lenses."
+url="https://github.com/sebastiaanvisser/fclabels;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-orphans')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('f6cc731d68cdf1e5867340a0b73385492008c2729a144dc685136ee6bf80ee0d0e07ddb80f83a18e6a1989d7f8a8755211aadcc92debffd5fe8c178a834021e4')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-05-23 Thread Felix Yan via arch-commits
Date: Saturday, May 23, 2020 @ 14:04:58
  Author: felixonmars
Revision: 631929

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fclabels/repos/community-staging-x86_64/PKGBUILD (from rev 
631928, haskell-fclabels/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-05-23 14:04:58 UTC (rev 631929)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=fclabels
+pkgname=haskell-fclabels
+pkgver=2.0.5
+pkgrel=2
+pkgdesc="First class accessor labels implemented as lenses."
+url="https://github.com/sebastiaanvisser/fclabels;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-orphans')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('f6cc731d68cdf1e5867340a0b73385492008c2729a144dc685136ee6bf80ee0d0e07ddb80f83a18e6a1989d7f8a8755211aadcc92debffd5fe8c178a834021e4')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-05-22 Thread Felix Yan via arch-commits
Date: Saturday, May 23, 2020 @ 01:51:03
  Author: felixonmars
Revision: 631744

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fclabels/repos/community-staging-x86_64/PKGBUILD (from rev 
631743, haskell-fclabels/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-05-23 01:51:03 UTC (rev 631744)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=fclabels
+pkgname=haskell-fclabels
+pkgver=2.0.5
+pkgrel=1
+pkgdesc="First class accessor labels implemented as lenses."
+url="https://github.com/sebastiaanvisser/fclabels;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-orphans')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('f6cc731d68cdf1e5867340a0b73385492008c2729a144dc685136ee6bf80ee0d0e07ddb80f83a18e6a1989d7f8a8755211aadcc92debffd5fe8c178a834021e4')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-05-20 Thread Felix Yan via arch-commits
Date: Wednesday, May 20, 2020 @ 15:59:29
  Author: felixonmars
Revision: 630855

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fclabels/repos/community-staging-x86_64/PKGBUILD (from rev 
630854, haskell-fclabels/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-05-20 15:59:29 UTC (rev 630855)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=fclabels
+pkgname=haskell-fclabels
+pkgver=2.0.4
+pkgrel=14
+pkgdesc="First class accessor labels implemented as lenses."
+url="https://github.com/sebastiaanvisser/fclabels;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-orphans')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;
+
fclabels-template-haskell-2.16.patch::https://github.com/sebastiaanvisser/fclabels/pull/41.patch)
+sha512sums=('bd1a292f5870046d58dfcbf65497e018f3b4e3b98aef263b2d81a8e02ff89b74e647db6bef141e9c898209d9a91d44e4098da156d8ebc470553c82a21b5d36a4'
+
'b861939d19bbcb895eef3e38bdf5e1faa47163a4626964f8096010cd3863c8722bda3e444e57059368a80f0395189b147f87b98fc3ffd8711b63313e38e01547')
+
+prepare() {
+cd $_hkgname-$pkgver
+patch -p1 -i ../fclabels-template-haskell-2.16.patch
+sed -i 's/< *4.14/<5/;s/< *2.16/<3/' $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --disable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+#runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-05-11 Thread Felix Yan via arch-commits
Date: Monday, May 11, 2020 @ 20:55:42
  Author: felixonmars
Revision: 626516

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fclabels/repos/community-staging-x86_64/PKGBUILD (from rev 
626515, haskell-fclabels/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-05-11 20:55:42 UTC (rev 626516)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=fclabels
+pkgname=haskell-fclabels
+pkgver=2.0.4
+pkgrel=13
+pkgdesc="First class accessor labels implemented as lenses."
+url="https://github.com/sebastiaanvisser/fclabels;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-orphans')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('bd1a292f5870046d58dfcbf65497e018f3b4e3b98aef263b2d81a8e02ff89b74e647db6bef141e9c898209d9a91d44e4098da156d8ebc470553c82a21b5d36a4')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i 's/< *4.14/<5/;s/< *2.16/<3/' $_hkgname.cabal
+sed -i '/just/d;/Maybe a/d' src/Data/Label/Base.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --disable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+#runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-04-30 Thread Felix Yan via arch-commits
Date: Thursday, April 30, 2020 @ 10:18:01
  Author: felixonmars
Revision: 622433

archrelease: copy trunk to community-testing-x86_64

Added:
  haskell-fclabels/repos/community-testing-x86_64/
  haskell-fclabels/repos/community-testing-x86_64/PKGBUILD
(from rev 622432, haskell-fclabels/trunk/PKGBUILD)

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

Copied: haskell-fclabels/repos/community-testing-x86_64/PKGBUILD (from rev 
622432, haskell-fclabels/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2020-04-30 10:18:01 UTC (rev 622433)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=fclabels
+pkgname=haskell-fclabels
+pkgver=2.0.4
+pkgrel=12
+pkgdesc="First class accessor labels implemented as lenses."
+url="https://github.com/sebastiaanvisser/fclabels;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-orphans')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('bd1a292f5870046d58dfcbf65497e018f3b4e3b98aef263b2d81a8e02ff89b74e647db6bef141e9c898209d9a91d44e4098da156d8ebc470553c82a21b5d36a4')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -i 's/< *4.14/<5/;s/< *2.16/<3/' $_hkgname.cabal
+sed -i '/just/d;/Maybe a/d' src/Data/Label/Base.hs
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --disable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+#runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-03-31 Thread Felix Yan via arch-commits
Date: Tuesday, March 31, 2020 @ 22:10:51
  Author: felixonmars
Revision: 608436

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fclabels/repos/community-staging-x86_64/PKGBUILD (from rev 
608435, haskell-fclabels/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-03-31 22:10:51 UTC (rev 608436)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=fclabels
+pkgname=haskell-fclabels
+pkgver=2.0.4
+pkgrel=11
+pkgdesc="First class accessor labels implemented as lenses."
+url="https://github.com/sebastiaanvisser/fclabels;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-orphans')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('bd1a292f5870046d58dfcbf65497e018f3b4e3b98aef263b2d81a8e02ff89b74e647db6bef141e9c898209d9a91d44e4098da156d8ebc470553c82a21b5d36a4')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-03-15 Thread Felix Yan via arch-commits
Date: Sunday, March 15, 2020 @ 13:02:10
  Author: felixonmars
Revision: 597991

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fclabels/repos/community-staging-x86_64/PKGBUILD (from rev 
597990, haskell-fclabels/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-03-15 13:02:10 UTC (rev 597991)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=fclabels
+pkgname=haskell-fclabels
+pkgver=2.0.4
+pkgrel=10
+pkgdesc="First class accessor labels implemented as lenses."
+url="https://github.com/sebastiaanvisser/fclabels;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-orphans')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('bd1a292f5870046d58dfcbf65497e018f3b4e3b98aef263b2d81a8e02ff89b74e647db6bef141e9c898209d9a91d44e4098da156d8ebc470553c82a21b5d36a4')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-03-01 Thread Felix Yan via arch-commits
Date: Sunday, March 1, 2020 @ 16:35:59
  Author: felixonmars
Revision: 587727

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fclabels/repos/community-staging-x86_64/PKGBUILD (from rev 
587726, haskell-fclabels/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-03-01 16:35:59 UTC (rev 587727)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=fclabels
+pkgname=haskell-fclabels
+pkgver=2.0.4
+pkgrel=9
+pkgdesc="First class accessor labels implemented as lenses."
+url="https://github.com/sebastiaanvisser/fclabels;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-orphans')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('bd1a292f5870046d58dfcbf65497e018f3b4e3b98aef263b2d81a8e02ff89b74e647db6bef141e9c898209d9a91d44e4098da156d8ebc470553c82a21b5d36a4')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-02-27 Thread Felix Yan via arch-commits
Date: Thursday, February 27, 2020 @ 13:16:36
  Author: felixonmars
Revision: 584024

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fclabels/repos/community-staging-x86_64/PKGBUILD (from rev 
584023, haskell-fclabels/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-27 13:16:36 UTC (rev 584024)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=fclabels
+pkgname=haskell-fclabels
+pkgver=2.0.4
+pkgrel=8
+pkgdesc="First class accessor labels implemented as lenses."
+url="https://github.com/sebastiaanvisser/fclabels;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-orphans')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('bd1a292f5870046d58dfcbf65497e018f3b4e3b98aef263b2d81a8e02ff89b74e647db6bef141e9c898209d9a91d44e4098da156d8ebc470553c82a21b5d36a4')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-02-25 Thread Felix Yan via arch-commits
Date: Tuesday, February 25, 2020 @ 14:47:12
  Author: felixonmars
Revision: 581387

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fclabels/repos/community-staging-x86_64/PKGBUILD (from rev 
581386, haskell-fclabels/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-25 14:47:12 UTC (rev 581387)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=fclabels
+pkgname=haskell-fclabels
+pkgver=2.0.4
+pkgrel=7
+pkgdesc="First class accessor labels implemented as lenses."
+url="https://github.com/sebastiaanvisser/fclabels;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-orphans')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('bd1a292f5870046d58dfcbf65497e018f3b4e3b98aef263b2d81a8e02ff89b74e647db6bef141e9c898209d9a91d44e4098da156d8ebc470553c82a21b5d36a4')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


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

2020-02-15 Thread Felix Yan via arch-commits
Date: Saturday, February 15, 2020 @ 15:52:54
  Author: felixonmars
Revision: 571644

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fclabels/repos/community-staging-x86_64/PKGBUILD (from rev 
571643, haskell-fclabels/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-15 15:52:54 UTC (rev 571644)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=fclabels
+pkgname=haskell-fclabels
+pkgver=2.0.4
+pkgrel=6
+pkgdesc="First class accessor labels implemented as lenses."
+url="https://github.com/sebastiaanvisser/fclabels;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-orphans')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('bd1a292f5870046d58dfcbf65497e018f3b4e3b98aef263b2d81a8e02ff89b74e647db6bef141e9c898209d9a91d44e4098da156d8ebc470553c82a21b5d36a4')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2020-02-10 Thread Felix Yan via arch-commits
Date: Monday, February 10, 2020 @ 20:52:03
  Author: felixonmars
Revision: 566268

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fclabels/repos/community-staging-x86_64/PKGBUILD (from rev 
566267, haskell-fclabels/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-10 20:52:03 UTC (rev 566268)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=fclabels
+pkgname=haskell-fclabels
+pkgver=2.0.4
+pkgrel=5
+pkgdesc="First class accessor labels implemented as lenses."
+url="https://github.com/sebastiaanvisser/fclabels;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-orphans')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('bd1a292f5870046d58dfcbf65497e018f3b4e3b98aef263b2d81a8e02ff89b74e647db6bef141e9c898209d9a91d44e4098da156d8ebc470553c82a21b5d36a4')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2020-02-04 Thread Felix Yan via arch-commits
Date: Tuesday, February 4, 2020 @ 18:49:23
  Author: felixonmars
Revision: 562301

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fclabels/repos/community-staging-x86_64/PKGBUILD (from rev 
562300, haskell-fclabels/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-04 18:49:23 UTC (rev 562301)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=fclabels
+pkgname=haskell-fclabels
+pkgver=2.0.4
+pkgrel=3
+pkgdesc="First class accessor labels implemented as lenses."
+url="https://github.com/sebastiaanvisser/fclabels;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-base-orphans')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('bd1a292f5870046d58dfcbf65497e018f3b4e3b98aef263b2d81a8e02ff89b74e647db6bef141e9c898209d9a91d44e4098da156d8ebc470553c82a21b5d36a4')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2020-02-01 Thread Felix Yan via arch-commits
Date: Saturday, February 1, 2020 @ 19:15:08
  Author: felixonmars
Revision: 561103

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fclabels/repos/community-staging-x86_64/PKGBUILD (from rev 
561102, haskell-fclabels/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-01 19:15:08 UTC (rev 561103)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=fclabels
+pkgname=haskell-fclabels
+pkgver=2.0.4
+pkgrel=1
+pkgdesc="First class accessor labels implemented as lenses."
+url="https://github.com/sebastiaanvisser/fclabels;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-base-orphans' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('bd1a292f5870046d58dfcbf65497e018f3b4e3b98aef263b2d81a8e02ff89b74e647db6bef141e9c898209d9a91d44e4098da156d8ebc470553c82a21b5d36a4')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2020-01-29 Thread Felix Yan via arch-commits
Date: Wednesday, January 29, 2020 @ 08:28:23
  Author: felixonmars
Revision: 558420

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fclabels/repos/community-staging-x86_64/PKGBUILD (from rev 
558419, haskell-fclabels/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-01-29 08:28:23 UTC (rev 558420)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=fclabels
+pkgname=haskell-fclabels
+pkgver=2.0.3.3
+pkgrel=20
+pkgdesc="First class accessor labels implemented as lenses."
+url="https://github.com/sebastiaanvisser/fclabels;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('0c0f7ed886b65a80aea4e19b5763d7b91ce948b63f86d507ecf0b6874716a190752e0806957c71e0ed0ed97422ba3d09a2be0c82588c8dabfd647474c1a33cff')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -e 's/< *4.12/<5/' -e 's/< *2.14/<3/' -i $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2020-01-27 Thread Felix Yan via arch-commits
Date: Monday, January 27, 2020 @ 22:08:32
  Author: felixonmars
Revision: 556540

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fclabels/repos/community-staging-x86_64/PKGBUILD (from rev 
556539, haskell-fclabels/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-01-27 22:08:32 UTC (rev 556540)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=fclabels
+pkgname=haskell-fclabels
+pkgver=2.0.3.3
+pkgrel=19
+pkgdesc="First class accessor labels implemented as lenses."
+url="https://github.com/sebastiaanvisser/fclabels;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('0c0f7ed886b65a80aea4e19b5763d7b91ce948b63f86d507ecf0b6874716a190752e0806957c71e0ed0ed97422ba3d09a2be0c82588c8dabfd647474c1a33cff')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -e 's/< *4.12/<5/' -e 's/< *2.14/<3/' -i $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2020-01-08 Thread Felix Yan via arch-commits
Date: Wednesday, January 8, 2020 @ 22:12:34
  Author: felixonmars
Revision: 550715

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fclabels/repos/community-staging-x86_64/PKGBUILD (from rev 
550714, haskell-fclabels/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-01-08 22:12:34 UTC (rev 550715)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=fclabels
+pkgname=haskell-fclabels
+pkgver=2.0.3.3
+pkgrel=18
+pkgdesc="First class accessor labels implemented as lenses."
+url="https://github.com/sebastiaanvisser/fclabels;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('0c0f7ed886b65a80aea4e19b5763d7b91ce948b63f86d507ecf0b6874716a190752e0806957c71e0ed0ed97422ba3d09a2be0c82588c8dabfd647474c1a33cff')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -e 's/< *4.12/<5/' -e 's/< *2.14/<3/' -i $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2020-01-04 Thread Felix Yan via arch-commits
Date: Saturday, January 4, 2020 @ 08:50:05
  Author: felixonmars
Revision: 547808

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fclabels/repos/community-staging-x86_64/PKGBUILD (from rev 
547807, haskell-fclabels/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-01-04 08:50:05 UTC (rev 547808)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=fclabels
+pkgname=haskell-fclabels
+pkgver=2.0.3.3
+pkgrel=17
+pkgdesc="First class accessor labels implemented as lenses."
+url="https://github.com/sebastiaanvisser/fclabels;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('0c0f7ed886b65a80aea4e19b5763d7b91ce948b63f86d507ecf0b6874716a190752e0806957c71e0ed0ed97422ba3d09a2be0c82588c8dabfd647474c1a33cff')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -e 's/< *4.12/<5/' -e 's/< *2.14/<3/' -i $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2020-01-01 Thread Felix Yan via arch-commits
Date: Wednesday, January 1, 2020 @ 08:45:16
  Author: felixonmars
Revision: 545764

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fclabels/repos/community-staging-x86_64/PKGBUILD (from rev 
545763, haskell-fclabels/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-01-01 08:45:16 UTC (rev 545764)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=fclabels
+pkgname=haskell-fclabels
+pkgver=2.0.3.3
+pkgrel=16
+pkgdesc="First class accessor labels implemented as lenses."
+url="https://github.com/sebastiaanvisser/fclabels;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('0c0f7ed886b65a80aea4e19b5763d7b91ce948b63f86d507ecf0b6874716a190752e0806957c71e0ed0ed97422ba3d09a2be0c82588c8dabfd647474c1a33cff')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -e 's/< *4.12/<5/' -e 's/< *2.14/<3/' -i $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2019-12-29 Thread Felix Yan via arch-commits
Date: Sunday, December 29, 2019 @ 22:10:27
  Author: felixonmars
Revision: 544015

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fclabels/repos/community-staging-x86_64/PKGBUILD (from rev 
544014, haskell-fclabels/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-12-29 22:10:27 UTC (rev 544015)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=fclabels
+pkgname=haskell-fclabels
+pkgver=2.0.3.3
+pkgrel=14
+pkgdesc="First class accessor labels implemented as lenses."
+url="https://github.com/sebastiaanvisser/fclabels;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('0c0f7ed886b65a80aea4e19b5763d7b91ce948b63f86d507ecf0b6874716a190752e0806957c71e0ed0ed97422ba3d09a2be0c82588c8dabfd647474c1a33cff')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -e 's/< *4.12/<5/' -e 's/< *2.14/<3/' -i $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2019-12-24 Thread Felix Yan via arch-commits
Date: Tuesday, December 24, 2019 @ 21:30:30
  Author: felixonmars
Revision: 540526

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fclabels/repos/community-staging-x86_64/PKGBUILD (from rev 
540525, haskell-fclabels/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-12-24 21:30:30 UTC (rev 540526)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=fclabels
+pkgname=haskell-fclabels
+pkgver=2.0.3.3
+pkgrel=13
+pkgdesc="First class accessor labels implemented as lenses."
+url="https://github.com/sebastiaanvisser/fclabels;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('0c0f7ed886b65a80aea4e19b5763d7b91ce948b63f86d507ecf0b6874716a190752e0806957c71e0ed0ed97422ba3d09a2be0c82588c8dabfd647474c1a33cff')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -e 's/< *4.12/<5/' -e 's/< *2.14/<3/' -i $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2019-12-23 Thread Felix Yan via arch-commits
Date: Monday, December 23, 2019 @ 09:33:40
  Author: felixonmars
Revision: 538989

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fclabels/repos/community-staging-x86_64/PKGBUILD (from rev 
538988, haskell-fclabels/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-12-23 09:33:40 UTC (rev 538989)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=fclabels
+pkgname=haskell-fclabels
+pkgver=2.0.3.3
+pkgrel=12
+pkgdesc="First class accessor labels implemented as lenses."
+url="https://github.com/sebastiaanvisser/fclabels;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('0c0f7ed886b65a80aea4e19b5763d7b91ce948b63f86d507ecf0b6874716a190752e0806957c71e0ed0ed97422ba3d09a2be0c82588c8dabfd647474c1a33cff')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -e 's/< *4.12/<5/' -e 's/< *2.14/<3/' -i $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2019-09-01 Thread Felix Yan via arch-commits
Date: Monday, September 2, 2019 @ 03:11:15
  Author: felixonmars
Revision: 506397

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fclabels/repos/community-staging-x86_64/PKGBUILD (from rev 
506396, haskell-fclabels/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-09-02 03:11:15 UTC (rev 506397)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=fclabels
+pkgname=haskell-fclabels
+pkgver=2.0.3.3
+pkgrel=11
+pkgdesc="First class accessor labels implemented as lenses."
+url="https://github.com/sebastiaanvisser/fclabels;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('0c0f7ed886b65a80aea4e19b5763d7b91ce948b63f86d507ecf0b6874716a190752e0806957c71e0ed0ed97422ba3d09a2be0c82588c8dabfd647474c1a33cff')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -e 's/< *4.12/<5/' -e 's/< *2.14/<3/' -i $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2019-08-26 Thread Felix Yan via arch-commits
Date: Monday, August 26, 2019 @ 07:22:55
  Author: felixonmars
Revision: 501844

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fclabels/repos/community-staging-x86_64/PKGBUILD (from rev 
501843, haskell-fclabels/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-08-26 07:22:55 UTC (rev 501844)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=fclabels
+pkgname=haskell-fclabels
+pkgver=2.0.3.3
+pkgrel=10
+pkgdesc="First class accessor labels implemented as lenses."
+url="https://github.com/sebastiaanvisser/fclabels;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('0c0f7ed886b65a80aea4e19b5763d7b91ce948b63f86d507ecf0b6874716a190752e0806957c71e0ed0ed97422ba3d09a2be0c82588c8dabfd647474c1a33cff')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -e 's/< *4.12/<5/' -e 's/< *2.14/<3/' -i $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2019-04-24 Thread Felix Yan via arch-commits
Date: Thursday, April 25, 2019 @ 01:20:55
  Author: felixonmars
Revision: 453662

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fclabels/repos/community-staging-x86_64/PKGBUILD (from rev 
453661, haskell-fclabels/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-04-25 01:20:55 UTC (rev 453662)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=fclabels
+pkgname=haskell-fclabels
+pkgver=2.0.3.3
+pkgrel=9
+pkgdesc="First class accessor labels implemented as lenses."
+url="https://github.com/sebastiaanvisser/fclabels;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('0c0f7ed886b65a80aea4e19b5763d7b91ce948b63f86d507ecf0b6874716a190752e0806957c71e0ed0ed97422ba3d09a2be0c82588c8dabfd647474c1a33cff')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -e 's/< *4.12/<5/' -e 's/< *2.14/<3/' -i $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2019-03-09 Thread Felix Yan via arch-commits
Date: Saturday, March 9, 2019 @ 16:36:23
  Author: felixonmars
Revision: 438438

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fclabels/repos/community-staging-x86_64/PKGBUILD (from rev 
438437, haskell-fclabels/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-03-09 16:36:23 UTC (rev 438438)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=fclabels
+pkgname=haskell-fclabels
+pkgver=2.0.3.3
+pkgrel=8
+pkgdesc="First class accessor labels implemented as lenses."
+url="https://github.com/sebastiaanvisser/fclabels;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('0c0f7ed886b65a80aea4e19b5763d7b91ce948b63f86d507ecf0b6874716a190752e0806957c71e0ed0ed97422ba3d09a2be0c82588c8dabfd647474c1a33cff')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -e 's/< *4.12/<5/' -e 's/< *2.14/<3/' -i $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2018-12-09 Thread Felix Yan via arch-commits
Date: Sunday, December 9, 2018 @ 21:38:29
  Author: felixonmars
Revision: 413242

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fclabels/repos/community-staging-x86_64/PKGBUILD (from rev 
413241, haskell-fclabels/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-12-09 21:38:29 UTC (rev 413242)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=fclabels
+pkgname=haskell-fclabels
+pkgver=2.0.3.3
+pkgrel=7
+pkgdesc="First class accessor labels implemented as lenses."
+url="https://github.com/sebastiaanvisser/fclabels;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('0c0f7ed886b65a80aea4e19b5763d7b91ce948b63f86d507ecf0b6874716a190752e0806957c71e0ed0ed97422ba3d09a2be0c82588c8dabfd647474c1a33cff')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -e 's/< *4.12/<5/' -e 's/< *2.14/<3/' -i $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2018-11-06 Thread Felix Yan via arch-commits
Date: Tuesday, November 6, 2018 @ 19:08:19
  Author: felixonmars
Revision: 401920

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fclabels/repos/community-staging-x86_64/PKGBUILD (from rev 
401919, haskell-fclabels/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-11-06 19:08:19 UTC (rev 401920)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=fclabels
+pkgname=haskell-fclabels
+pkgver=2.0.3.3
+pkgrel=6
+pkgdesc="First class accessor labels implemented as lenses."
+url="https://github.com/sebastiaanvisser/fclabels;
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('0c0f7ed886b65a80aea4e19b5763d7b91ce948b63f86d507ecf0b6874716a190752e0806957c71e0ed0ed97422ba3d09a2be0c82588c8dabfd647474c1a33cff')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -e 's/< *4.12/<5/' -e 's/< *2.14/<3/' -i $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh 
"$pkgdir"/usr/share/haskell/register/$pkgname.sh
+install -D -m744 unregister.sh 
"$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
+runhaskell Setup copy --destdir="$pkgdir"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2018-10-14 Thread Felix Yan via arch-commits
Date: Sunday, October 14, 2018 @ 15:41:42
  Author: felixonmars
Revision: 393661

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fclabels/repos/community-staging-x86_64/PKGBUILD (from rev 
393660, haskell-fclabels/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-10-14 15:41:42 UTC (rev 393661)
@@ -0,0 +1,48 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=fclabels
+pkgname=haskell-fclabels
+pkgver=2.0.3.3
+pkgrel=5
+pkgdesc="First class accessor labels implemented as lenses."
+url="https://github.com/sebastiaanvisser/fclabels;
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('0c0f7ed886b65a80aea4e19b5763d7b91ce948b63f86d507ecf0b6874716a190752e0806957c71e0ed0ed97422ba3d09a2be0c82588c8dabfd647474c1a33cff')
+
+prepare() {
+cd $_hkgname-$pkgver
+sed -e 's/< *4.12/<5/' -e 's/< *2.14/<3/' -i $_hkgname.cabal
+}
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2018-06-01 Thread Felix Yan via arch-commits
Date: Friday, June 1, 2018 @ 07:25:50
  Author: felixonmars
Revision: 335576

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fclabels/repos/community-staging-x86_64/PKGBUILD (from rev 
335575, haskell-fclabels/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-06-01 07:25:50 UTC (rev 335576)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=fclabels
+pkgname=haskell-fclabels
+pkgver=2.0.3.3
+pkgrel=4
+pkgdesc="First class accessor labels implemented as lenses."
+url="https://github.com/sebastiaanvisser/fclabels;
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('0c0f7ed886b65a80aea4e19b5763d7b91ce948b63f86d507ecf0b6874716a190752e0806957c71e0ed0ed97422ba3d09a2be0c82588c8dabfd647474c1a33cff')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2018-05-17 Thread Felix Yan via arch-commits
Date: Thursday, May 17, 2018 @ 08:46:01
  Author: felixonmars
Revision: 323511

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fclabels/repos/community-staging-x86_64/PKGBUILD (from rev 
323510, haskell-fclabels/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-05-17 08:46:01 UTC (rev 323511)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=fclabels
+pkgname=haskell-fclabels
+pkgver=2.0.3.3
+pkgrel=3
+pkgdesc="First class accessor labels implemented as lenses."
+url="https://github.com/sebastiaanvisser/fclabels;
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('0c0f7ed886b65a80aea4e19b5763d7b91ce948b63f86d507ecf0b6874716a190752e0806957c71e0ed0ed97422ba3d09a2be0c82588c8dabfd647474c1a33cff')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2018-02-26 Thread Felix Yan via arch-commits
Date: Tuesday, February 27, 2018 @ 07:44:14
  Author: felixonmars
Revision: 298909

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fclabels/repos/community-staging-x86_64/PKGBUILD (from rev 
298908, haskell-fclabels/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-02-27 07:44:14 UTC (rev 298909)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=fclabels
+pkgname=haskell-fclabels
+pkgver=2.0.3.3
+pkgrel=2
+pkgdesc="First class accessor labels implemented as lenses."
+url="https://github.com/sebastiaanvisser/fclabels;
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-mtl')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('0c0f7ed886b65a80aea4e19b5763d7b91ce948b63f86d507ecf0b6874716a190752e0806957c71e0ed0ed97422ba3d09a2be0c82588c8dabfd647474c1a33cff')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2018-02-13 Thread Felix Yan via arch-commits
Date: Wednesday, February 14, 2018 @ 06:28:53
  Author: felixonmars
Revision: 294029

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fclabels/repos/community-staging-x86_64/PKGBUILD (from rev 
294028, haskell-fclabels/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-02-14 06:28:53 UTC (rev 294029)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=fclabels
+pkgname=haskell-fclabels
+pkgver=2.0.3.3
+pkgrel=1
+pkgdesc="First class accessor labels implemented as lenses."
+url="https://github.com/sebastiaanvisser/fclabels;
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-mtl')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('0c0f7ed886b65a80aea4e19b5763d7b91ce948b63f86d507ecf0b6874716a190752e0806957c71e0ed0ed97422ba3d09a2be0c82588c8dabfd647474c1a33cff')
+
+build() {
+cd $_hkgname-$pkgver
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2017-11-25 Thread Felix Yan via arch-commits
Date: Sunday, November 26, 2017 @ 06:45:15
  Author: felixonmars
Revision: 268720

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-fclabels/repos/community-staging-x86_64/PKGBUILD (from rev 
268719, haskell-fclabels/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2017-11-26 06:45:15 UTC (rev 268720)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=fclabels
+pkgname=haskell-fclabels
+pkgver=2.0.3.2
+pkgrel=5
+pkgdesc="First class accessor labels implemented as lenses."
+url="https://github.com/sebastiaanvisser/fclabels;
+license=("custom:BSD3")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-mtl")
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('b0ffc33344e441b6da6eef3de96f5e7633f00258b41623ddc58217eaaa12cbdd9d6cc3007eb279fadc79885289af2865043381c1714d73192ee2cf41d302f8df')
+
+prepare() {
+sed -e 's/, template-haskell >= 2.2 && < 2.12/, template-haskell >= 2.2/' \
+-e 's/base >= 4.5 && < 4.10/base >= 4.5/' \
+-i $_hkgname-$pkgver/$_hkgname.cabal
+}
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+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
+}
+
+package() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}