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

2020-12-29 Thread Felix Yan via arch-commits
Date: Tuesday, December 29, 2020 @ 09:38:57
  Author: felixonmars
Revision: 796655

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-versions/repos/community-staging-x86_64/PKGBUILD (from rev 
796654, haskell-versions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-29 09:38:57 UTC (rev 796655)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+
+_hkgname=versions
+pkgname=haskell-versions
+pkgver=3.5.4
+pkgrel=40
+pkgdesc="Types and parsers for software version numbers"
+url="https://github.com/fosskers/versions;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-megaparsec' 'haskell-hashable')
+makedepends=('ghc' 'haskell-microlens' 'haskell-quickcheck' 'haskell-tasty' 
'haskell-tasty-hunit'
+ 'haskell-tasty-quickcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e3264b3069057aa9154f2957cce74b1aef009f0a07bf80a16982c7f9503ca7ee73481f3e809e1b8d5451d0ca268b7f6ae2ef968479332ff11acf7ef6973214cb')
+
+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-versions/repos (2 files)

2020-12-28 Thread Felix Yan via arch-commits
Date: Monday, December 28, 2020 @ 09:36:48
  Author: felixonmars
Revision: 794477

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-versions/repos/community-staging-x86_64/PKGBUILD (from rev 
794476, haskell-versions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-28 09:36:48 UTC (rev 794477)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+
+_hkgname=versions
+pkgname=haskell-versions
+pkgver=3.5.4
+pkgrel=39
+pkgdesc="Types and parsers for software version numbers"
+url="https://github.com/fosskers/versions;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-megaparsec' 'haskell-hashable')
+makedepends=('ghc' 'haskell-microlens' 'haskell-quickcheck' 'haskell-tasty' 
'haskell-tasty-hunit'
+ 'haskell-tasty-quickcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e3264b3069057aa9154f2957cce74b1aef009f0a07bf80a16982c7f9503ca7ee73481f3e809e1b8d5451d0ca268b7f6ae2ef968479332ff11acf7ef6973214cb')
+
+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-versions/repos (2 files)

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

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-versions/repos/community-staging-x86_64/PKGBUILD (from rev 
791647, haskell-versions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-26 02:45:02 UTC (rev 791648)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+
+_hkgname=versions
+pkgname=haskell-versions
+pkgver=3.5.4
+pkgrel=38
+pkgdesc="Types and parsers for software version numbers"
+url="https://github.com/fosskers/versions;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-megaparsec' 'haskell-hashable')
+makedepends=('ghc' 'haskell-microlens' 'haskell-quickcheck' 'haskell-tasty' 
'haskell-tasty-hunit'
+ 'haskell-tasty-quickcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e3264b3069057aa9154f2957cce74b1aef009f0a07bf80a16982c7f9503ca7ee73481f3e809e1b8d5451d0ca268b7f6ae2ef968479332ff11acf7ef6973214cb')
+
+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-versions/repos (2 files)

2020-12-24 Thread Felix Yan via arch-commits
Date: Thursday, December 24, 2020 @ 22:55:27
  Author: felixonmars
Revision: 789128

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-versions/repos/community-staging-x86_64/PKGBUILD (from rev 
789127, haskell-versions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-24 22:55:27 UTC (rev 789128)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+
+_hkgname=versions
+pkgname=haskell-versions
+pkgver=3.5.4
+pkgrel=37
+pkgdesc="Types and parsers for software version numbers"
+url="https://github.com/fosskers/versions;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-megaparsec' 'haskell-hashable')
+makedepends=('ghc' 'haskell-microlens' 'haskell-quickcheck' 'haskell-tasty' 
'haskell-tasty-hunit'
+ 'haskell-tasty-quickcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e3264b3069057aa9154f2957cce74b1aef009f0a07bf80a16982c7f9503ca7ee73481f3e809e1b8d5451d0ca268b7f6ae2ef968479332ff11acf7ef6973214cb')
+
+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-versions/repos (2 files)

2020-12-23 Thread Felix Yan via arch-commits
Date: Thursday, December 24, 2020 @ 03:47:19
  Author: felixonmars
Revision: 786236

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-versions/repos/community-staging-x86_64/PKGBUILD (from rev 
786235, haskell-versions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-24 03:47:19 UTC (rev 786236)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+
+_hkgname=versions
+pkgname=haskell-versions
+pkgver=3.5.4
+pkgrel=36
+pkgdesc="Types and parsers for software version numbers"
+url="https://github.com/fosskers/versions;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-megaparsec' 'haskell-hashable')
+makedepends=('ghc' 'haskell-microlens' 'haskell-quickcheck' 'haskell-tasty' 
'haskell-tasty-hunit'
+ 'haskell-tasty-quickcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e3264b3069057aa9154f2957cce74b1aef009f0a07bf80a16982c7f9503ca7ee73481f3e809e1b8d5451d0ca268b7f6ae2ef968479332ff11acf7ef6973214cb')
+
+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-versions/repos (2 files)

2020-12-22 Thread Felix Yan via arch-commits
Date: Wednesday, December 23, 2020 @ 01:23:56
  Author: felixonmars
Revision: 783243

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-versions/repos/community-staging-x86_64/PKGBUILD (from rev 
783242, haskell-versions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-23 01:23:56 UTC (rev 783243)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+
+_hkgname=versions
+pkgname=haskell-versions
+pkgver=3.5.4
+pkgrel=35
+pkgdesc="Types and parsers for software version numbers"
+url="https://github.com/fosskers/versions;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-megaparsec' 'haskell-hashable')
+makedepends=('ghc' 'haskell-microlens' 'haskell-quickcheck' 'haskell-tasty' 
'haskell-tasty-hunit'
+ 'haskell-tasty-quickcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e3264b3069057aa9154f2957cce74b1aef009f0a07bf80a16982c7f9503ca7ee73481f3e809e1b8d5451d0ca268b7f6ae2ef968479332ff11acf7ef6973214cb')
+
+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-versions/repos (2 files)

2020-12-22 Thread Felix Yan via arch-commits
Date: Tuesday, December 22, 2020 @ 17:55:14
  Author: felixonmars
Revision: 782701

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-versions/repos/community-staging-x86_64/PKGBUILD (from rev 
782700, haskell-versions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-22 17:55:14 UTC (rev 782701)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+
+_hkgname=versions
+pkgname=haskell-versions
+pkgver=3.5.4
+pkgrel=34
+pkgdesc="Types and parsers for software version numbers"
+url="https://github.com/fosskers/versions;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-megaparsec' 'haskell-hashable')
+makedepends=('ghc' 'haskell-microlens' 'haskell-quickcheck' 'haskell-tasty' 
'haskell-tasty-hunit'
+ 'haskell-tasty-quickcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e3264b3069057aa9154f2957cce74b1aef009f0a07bf80a16982c7f9503ca7ee73481f3e809e1b8d5451d0ca268b7f6ae2ef968479332ff11acf7ef6973214cb')
+
+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-versions/repos (2 files)

2020-12-21 Thread Felix Yan via arch-commits
Date: Monday, December 21, 2020 @ 15:54:45
  Author: felixonmars
Revision: 781175

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-versions/repos/community-staging-x86_64/PKGBUILD (from rev 
781174, haskell-versions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-21 15:54:45 UTC (rev 781175)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+
+_hkgname=versions
+pkgname=haskell-versions
+pkgver=3.5.4
+pkgrel=33
+pkgdesc="Types and parsers for software version numbers"
+url="https://github.com/fosskers/versions;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-megaparsec' 'haskell-hashable')
+makedepends=('ghc' 'haskell-microlens' 'haskell-quickcheck' 'haskell-tasty' 
'haskell-tasty-hunit'
+ 'haskell-tasty-quickcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e3264b3069057aa9154f2957cce74b1aef009f0a07bf80a16982c7f9503ca7ee73481f3e809e1b8d5451d0ca268b7f6ae2ef968479332ff11acf7ef6973214cb')
+
+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-versions/repos (2 files)

2020-12-17 Thread Felix Yan via arch-commits
Date: Thursday, December 17, 2020 @ 17:30:15
  Author: felixonmars
Revision: 85

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-versions/repos/community-staging-x86_64/PKGBUILD (from rev 
84, haskell-versions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-17 17:30:15 UTC (rev 85)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+
+_hkgname=versions
+pkgname=haskell-versions
+pkgver=3.5.4
+pkgrel=32
+pkgdesc="Types and parsers for software version numbers"
+url="https://github.com/fosskers/versions;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-megaparsec' 'haskell-hashable')
+makedepends=('ghc' 'haskell-microlens' 'haskell-quickcheck' 'haskell-tasty' 
'haskell-tasty-hunit'
+ 'haskell-tasty-quickcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e3264b3069057aa9154f2957cce74b1aef009f0a07bf80a16982c7f9503ca7ee73481f3e809e1b8d5451d0ca268b7f6ae2ef968479332ff11acf7ef6973214cb')
+
+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-versions/repos (2 files)

2020-12-16 Thread Felix Yan via arch-commits
Date: Wednesday, December 16, 2020 @ 12:18:03
  Author: felixonmars
Revision: 776655

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-versions/repos/community-staging-x86_64/PKGBUILD (from rev 
776654, haskell-versions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-16 12:18:03 UTC (rev 776655)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+
+_hkgname=versions
+pkgname=haskell-versions
+pkgver=3.5.4
+pkgrel=31
+pkgdesc="Types and parsers for software version numbers"
+url="https://github.com/fosskers/versions;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-megaparsec' 'haskell-hashable')
+makedepends=('ghc' 'haskell-microlens' 'haskell-quickcheck' 'haskell-tasty' 
'haskell-tasty-hunit'
+ 'haskell-tasty-quickcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e3264b3069057aa9154f2957cce74b1aef009f0a07bf80a16982c7f9503ca7ee73481f3e809e1b8d5451d0ca268b7f6ae2ef968479332ff11acf7ef6973214cb')
+
+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-versions/repos (2 files)

2020-12-13 Thread Felix Yan via arch-commits
Date: Sunday, December 13, 2020 @ 15:35:22
  Author: felixonmars
Revision: 774452

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-versions/repos/community-staging-x86_64/PKGBUILD (from rev 
774451, haskell-versions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-13 15:35:22 UTC (rev 774452)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+
+_hkgname=versions
+pkgname=haskell-versions
+pkgver=3.5.4
+pkgrel=30
+pkgdesc="Types and parsers for software version numbers"
+url="https://github.com/fosskers/versions;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-megaparsec' 'haskell-hashable')
+makedepends=('ghc' 'haskell-microlens' 'haskell-quickcheck' 'haskell-tasty' 
'haskell-tasty-hunit'
+ 'haskell-tasty-quickcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e3264b3069057aa9154f2957cce74b1aef009f0a07bf80a16982c7f9503ca7ee73481f3e809e1b8d5451d0ca268b7f6ae2ef968479332ff11acf7ef6973214cb')
+
+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-versions/repos (2 files)

2020-11-27 Thread Felix Yan via arch-commits
Date: Friday, November 27, 2020 @ 18:13:20
  Author: felixonmars
Revision: 764564

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-versions/repos/community-staging-x86_64/PKGBUILD (from rev 
764563, haskell-versions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-27 18:13:20 UTC (rev 764564)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+
+_hkgname=versions
+pkgname=haskell-versions
+pkgver=3.5.4
+pkgrel=29
+pkgdesc="Types and parsers for software version numbers"
+url="https://github.com/fosskers/versions;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-megaparsec' 'haskell-hashable')
+makedepends=('ghc' 'haskell-microlens' 'haskell-quickcheck' 'haskell-tasty' 
'haskell-tasty-hunit'
+ 'haskell-tasty-quickcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e3264b3069057aa9154f2957cce74b1aef009f0a07bf80a16982c7f9503ca7ee73481f3e809e1b8d5451d0ca268b7f6ae2ef968479332ff11acf7ef6973214cb')
+
+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-versions/repos (2 files)

2020-11-22 Thread Felix Yan via arch-commits
Date: Sunday, November 22, 2020 @ 14:23:59
  Author: felixonmars
Revision: 759143

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-versions/repos/community-staging-x86_64/PKGBUILD (from rev 
759142, haskell-versions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-22 14:23:59 UTC (rev 759143)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+
+_hkgname=versions
+pkgname=haskell-versions
+pkgver=3.5.4
+pkgrel=28
+pkgdesc="Types and parsers for software version numbers"
+url="https://github.com/fosskers/versions;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-megaparsec' 'haskell-hashable')
+makedepends=('ghc' 'haskell-microlens' 'haskell-quickcheck' 'haskell-tasty' 
'haskell-tasty-hunit'
+ 'haskell-tasty-quickcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e3264b3069057aa9154f2957cce74b1aef009f0a07bf80a16982c7f9503ca7ee73481f3e809e1b8d5451d0ca268b7f6ae2ef968479332ff11acf7ef6973214cb')
+
+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-versions/repos (2 files)

2020-11-15 Thread Felix Yan via arch-commits
Date: Sunday, November 15, 2020 @ 23:47:51
  Author: felixonmars
Revision: 755039

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-versions/repos/community-staging-x86_64/PKGBUILD (from rev 
755038, haskell-versions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-15 23:47:51 UTC (rev 755039)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+
+_hkgname=versions
+pkgname=haskell-versions
+pkgver=3.5.4
+pkgrel=27
+pkgdesc="Types and parsers for software version numbers"
+url="https://github.com/fosskers/versions;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-megaparsec' 'haskell-hashable')
+makedepends=('ghc' 'haskell-microlens' 'haskell-quickcheck' 'haskell-tasty' 
'haskell-tasty-hunit'
+ 'haskell-tasty-quickcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e3264b3069057aa9154f2957cce74b1aef009f0a07bf80a16982c7f9503ca7ee73481f3e809e1b8d5451d0ca268b7f6ae2ef968479332ff11acf7ef6973214cb')
+
+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-versions/repos (2 files)

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

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-versions/repos/community-staging-x86_64/PKGBUILD (from rev 
745575, haskell-versions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-07 10:22:10 UTC (rev 745576)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+
+_hkgname=versions
+pkgname=haskell-versions
+pkgver=3.5.4
+pkgrel=26
+pkgdesc="Types and parsers for software version numbers"
+url="https://github.com/fosskers/versions;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-megaparsec' 'haskell-hashable')
+makedepends=('ghc' 'haskell-microlens' 'haskell-quickcheck' 'haskell-tasty' 
'haskell-tasty-hunit'
+ 'haskell-tasty-quickcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e3264b3069057aa9154f2957cce74b1aef009f0a07bf80a16982c7f9503ca7ee73481f3e809e1b8d5451d0ca268b7f6ae2ef968479332ff11acf7ef6973214cb')
+
+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-versions/repos (2 files)

2020-11-06 Thread Felix Yan via arch-commits
Date: Friday, November 6, 2020 @ 11:29:54
  Author: felixonmars
Revision: 744013

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-versions/repos/community-staging-x86_64/PKGBUILD (from rev 
744012, haskell-versions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-06 11:29:54 UTC (rev 744013)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+
+_hkgname=versions
+pkgname=haskell-versions
+pkgver=3.5.4
+pkgrel=25
+pkgdesc="Types and parsers for software version numbers"
+url="https://github.com/fosskers/versions;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-megaparsec' 'haskell-hashable')
+makedepends=('ghc' 'haskell-microlens' 'haskell-quickcheck' 'haskell-tasty' 
'haskell-tasty-hunit'
+ 'haskell-tasty-quickcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e3264b3069057aa9154f2957cce74b1aef009f0a07bf80a16982c7f9503ca7ee73481f3e809e1b8d5451d0ca268b7f6ae2ef968479332ff11acf7ef6973214cb')
+
+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-versions/repos (2 files)

2020-11-02 Thread Felix Yan via arch-commits
Date: Monday, November 2, 2020 @ 11:35:25
  Author: felixonmars
Revision: 739478

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-versions/repos/community-staging-x86_64/PKGBUILD (from rev 
739477, haskell-versions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-02 11:35:25 UTC (rev 739478)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+
+_hkgname=versions
+pkgname=haskell-versions
+pkgver=3.5.4
+pkgrel=24
+pkgdesc="Types and parsers for software version numbers"
+url="https://github.com/fosskers/versions;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-megaparsec' 'haskell-hashable')
+makedepends=('ghc' 'haskell-microlens' 'haskell-quickcheck' 'haskell-tasty' 
'haskell-tasty-hunit'
+ 'haskell-tasty-quickcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e3264b3069057aa9154f2957cce74b1aef009f0a07bf80a16982c7f9503ca7ee73481f3e809e1b8d5451d0ca268b7f6ae2ef968479332ff11acf7ef6973214cb')
+
+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-versions/repos (2 files)

2020-10-30 Thread Felix Yan via arch-commits
Date: Friday, October 30, 2020 @ 21:19:32
  Author: felixonmars
Revision: 737213

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-versions/repos/community-staging-x86_64/PKGBUILD (from rev 
737212, haskell-versions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-30 21:19:32 UTC (rev 737213)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+
+_hkgname=versions
+pkgname=haskell-versions
+pkgver=3.5.4
+pkgrel=23
+pkgdesc="Types and parsers for software version numbers"
+url="https://github.com/fosskers/versions;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-megaparsec' 'haskell-hashable')
+makedepends=('ghc' 'haskell-microlens' 'haskell-quickcheck' 'haskell-tasty' 
'haskell-tasty-hunit'
+ 'haskell-tasty-quickcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e3264b3069057aa9154f2957cce74b1aef009f0a07bf80a16982c7f9503ca7ee73481f3e809e1b8d5451d0ca268b7f6ae2ef968479332ff11acf7ef6973214cb')
+
+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-versions/repos (2 files)

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

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-versions/repos/community-staging-x86_64/PKGBUILD (from rev 
734931, haskell-versions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-27 19:31:48 UTC (rev 734932)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+
+_hkgname=versions
+pkgname=haskell-versions
+pkgver=3.5.4
+pkgrel=22
+pkgdesc="Types and parsers for software version numbers"
+url="https://github.com/fosskers/versions;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-megaparsec' 'haskell-hashable')
+makedepends=('ghc' 'haskell-microlens' 'haskell-quickcheck' 'haskell-tasty' 
'haskell-tasty-hunit'
+ 'haskell-tasty-quickcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e3264b3069057aa9154f2957cce74b1aef009f0a07bf80a16982c7f9503ca7ee73481f3e809e1b8d5451d0ca268b7f6ae2ef968479332ff11acf7ef6973214cb')
+
+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-versions/repos (2 files)

2020-10-24 Thread Felix Yan via arch-commits
Date: Saturday, October 24, 2020 @ 23:47:40
  Author: felixonmars
Revision: 732087

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-versions/repos/community-staging-x86_64/PKGBUILD (from rev 
732086, haskell-versions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-24 23:47:40 UTC (rev 732087)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+
+_hkgname=versions
+pkgname=haskell-versions
+pkgver=3.5.4
+pkgrel=21
+pkgdesc="Types and parsers for software version numbers"
+url="https://github.com/fosskers/versions;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-megaparsec' 'haskell-hashable')
+makedepends=('ghc' 'haskell-microlens' 'haskell-quickcheck' 'haskell-tasty' 
'haskell-tasty-hunit'
+ 'haskell-tasty-quickcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e3264b3069057aa9154f2957cce74b1aef009f0a07bf80a16982c7f9503ca7ee73481f3e809e1b8d5451d0ca268b7f6ae2ef968479332ff11acf7ef6973214cb')
+
+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-versions/repos (2 files)

2020-10-21 Thread Felix Yan via arch-commits
Date: Thursday, October 22, 2020 @ 00:24:38
  Author: felixonmars
Revision: 728677

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-versions/repos/community-staging-x86_64/PKGBUILD (from rev 
728676, haskell-versions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-22 00:24:38 UTC (rev 728677)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+
+_hkgname=versions
+pkgname=haskell-versions
+pkgver=3.5.4
+pkgrel=20
+pkgdesc="Types and parsers for software version numbers"
+url="https://github.com/fosskers/versions;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-megaparsec' 'haskell-hashable')
+makedepends=('ghc' 'haskell-microlens' 'haskell-quickcheck' 'haskell-tasty' 
'haskell-tasty-hunit'
+ 'haskell-tasty-quickcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e3264b3069057aa9154f2957cce74b1aef009f0a07bf80a16982c7f9503ca7ee73481f3e809e1b8d5451d0ca268b7f6ae2ef968479332ff11acf7ef6973214cb')
+
+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-versions/repos (2 files)

2020-10-17 Thread Felix Yan via arch-commits
Date: Saturday, October 17, 2020 @ 11:49:04
  Author: felixonmars
Revision: 725448

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-versions/repos/community-staging-x86_64/PKGBUILD (from rev 
725447, haskell-versions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-17 11:49:04 UTC (rev 725448)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+
+_hkgname=versions
+pkgname=haskell-versions
+pkgver=3.5.4
+pkgrel=19
+pkgdesc="Types and parsers for software version numbers"
+url="https://github.com/fosskers/versions;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-megaparsec' 'haskell-hashable')
+makedepends=('ghc' 'haskell-microlens' 'haskell-quickcheck' 'haskell-tasty' 
'haskell-tasty-hunit'
+ 'haskell-tasty-quickcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e3264b3069057aa9154f2957cce74b1aef009f0a07bf80a16982c7f9503ca7ee73481f3e809e1b8d5451d0ca268b7f6ae2ef968479332ff11acf7ef6973214cb')
+
+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-versions/repos (2 files)

2020-10-07 Thread Felix Yan via arch-commits
Date: Wednesday, October 7, 2020 @ 11:30:22
  Author: felixonmars
Revision: 720396

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-versions/repos/community-staging-x86_64/PKGBUILD (from rev 
720395, haskell-versions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-07 11:30:22 UTC (rev 720396)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+
+_hkgname=versions
+pkgname=haskell-versions
+pkgver=3.5.4
+pkgrel=18
+pkgdesc="Types and parsers for software version numbers"
+url="https://github.com/fosskers/versions;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-megaparsec' 'haskell-hashable')
+makedepends=('ghc' 'haskell-microlens' 'haskell-quickcheck' 'haskell-tasty' 
'haskell-tasty-hunit'
+ 'haskell-tasty-quickcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e3264b3069057aa9154f2957cce74b1aef009f0a07bf80a16982c7f9503ca7ee73481f3e809e1b8d5451d0ca268b7f6ae2ef968479332ff11acf7ef6973214cb')
+
+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-versions/repos (2 files)

2020-10-04 Thread Felix Yan via arch-commits
Date: Sunday, October 4, 2020 @ 07:56:19
  Author: felixonmars
Revision: 717400

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-versions/repos/community-staging-x86_64/PKGBUILD (from rev 
717399, haskell-versions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-04 07:56:19 UTC (rev 717400)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+
+_hkgname=versions
+pkgname=haskell-versions
+pkgver=3.5.4
+pkgrel=17
+pkgdesc="Types and parsers for software version numbers"
+url="https://github.com/fosskers/versions;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-megaparsec' 'haskell-hashable')
+makedepends=('ghc' 'haskell-microlens' 'haskell-quickcheck' 'haskell-tasty' 
'haskell-tasty-hunit'
+ 'haskell-tasty-quickcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e3264b3069057aa9154f2957cce74b1aef009f0a07bf80a16982c7f9503ca7ee73481f3e809e1b8d5451d0ca268b7f6ae2ef968479332ff11acf7ef6973214cb')
+
+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-versions/repos (2 files)

2020-10-02 Thread Felix Yan via arch-commits
Date: Friday, October 2, 2020 @ 08:15:49
  Author: felixonmars
Revision: 715174

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-versions/repos/community-staging-x86_64/PKGBUILD (from rev 
715173, haskell-versions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-02 08:15:49 UTC (rev 715174)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+
+_hkgname=versions
+pkgname=haskell-versions
+pkgver=3.5.4
+pkgrel=16
+pkgdesc="Types and parsers for software version numbers"
+url="https://github.com/fosskers/versions;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-megaparsec' 'haskell-hashable')
+makedepends=('ghc' 'haskell-microlens' 'haskell-quickcheck' 'haskell-tasty' 
'haskell-tasty-hunit'
+ 'haskell-tasty-quickcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e3264b3069057aa9154f2957cce74b1aef009f0a07bf80a16982c7f9503ca7ee73481f3e809e1b8d5451d0ca268b7f6ae2ef968479332ff11acf7ef6973214cb')
+
+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-versions/repos (2 files)

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

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-versions/repos/community-staging-x86_64/PKGBUILD (from rev 
709554, haskell-versions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-17 22:31:21 UTC (rev 709555)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+
+_hkgname=versions
+pkgname=haskell-versions
+pkgver=3.5.4
+pkgrel=15
+pkgdesc="Types and parsers for software version numbers"
+url="https://github.com/fosskers/versions;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-megaparsec' 'haskell-hashable')
+makedepends=('ghc' 'haskell-microlens' 'haskell-quickcheck' 'haskell-tasty' 
'haskell-tasty-hunit'
+ 'haskell-tasty-quickcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e3264b3069057aa9154f2957cce74b1aef009f0a07bf80a16982c7f9503ca7ee73481f3e809e1b8d5451d0ca268b7f6ae2ef968479332ff11acf7ef6973214cb')
+
+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-versions/repos (2 files)

2020-09-14 Thread Felix Yan via arch-commits
Date: Monday, September 14, 2020 @ 22:17:31
  Author: felixonmars
Revision: 706823

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-versions/repos/community-staging-x86_64/PKGBUILD (from rev 
706822, haskell-versions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-14 22:17:31 UTC (rev 706823)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+
+_hkgname=versions
+pkgname=haskell-versions
+pkgver=3.5.4
+pkgrel=14
+pkgdesc="Types and parsers for software version numbers"
+url="https://github.com/fosskers/versions;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-megaparsec' 'haskell-hashable')
+makedepends=('ghc' 'haskell-microlens' 'haskell-quickcheck' 'haskell-tasty' 
'haskell-tasty-hunit'
+ 'haskell-tasty-quickcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e3264b3069057aa9154f2957cce74b1aef009f0a07bf80a16982c7f9503ca7ee73481f3e809e1b8d5451d0ca268b7f6ae2ef968479332ff11acf7ef6973214cb')
+
+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-versions/repos (2 files)

2020-09-12 Thread Felix Yan via arch-commits
Date: Saturday, September 12, 2020 @ 19:03:55
  Author: felixonmars
Revision: 704635

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-versions/repos/community-staging-x86_64/PKGBUILD (from rev 
704634, haskell-versions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-12 19:03:55 UTC (rev 704635)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+
+_hkgname=versions
+pkgname=haskell-versions
+pkgver=3.5.4
+pkgrel=13
+pkgdesc="Types and parsers for software version numbers"
+url="https://github.com/fosskers/versions;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-megaparsec' 'haskell-hashable')
+makedepends=('ghc' 'haskell-microlens' 'haskell-quickcheck' 'haskell-tasty' 
'haskell-tasty-hunit'
+ 'haskell-tasty-quickcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e3264b3069057aa9154f2957cce74b1aef009f0a07bf80a16982c7f9503ca7ee73481f3e809e1b8d5451d0ca268b7f6ae2ef968479332ff11acf7ef6973214cb')
+
+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-versions/repos (2 files)

2020-09-10 Thread Felix Yan via arch-commits
Date: Thursday, September 10, 2020 @ 22:10:21
  Author: felixonmars
Revision: 702492

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-versions/repos/community-staging-x86_64/PKGBUILD (from rev 
702491, haskell-versions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-10 22:10:21 UTC (rev 702492)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+
+_hkgname=versions
+pkgname=haskell-versions
+pkgver=3.5.4
+pkgrel=12
+pkgdesc="Types and parsers for software version numbers"
+url="https://github.com/fosskers/versions;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-megaparsec' 'haskell-hashable')
+makedepends=('ghc' 'haskell-microlens' 'haskell-quickcheck' 'haskell-tasty' 
'haskell-tasty-hunit'
+ 'haskell-tasty-quickcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e3264b3069057aa9154f2957cce74b1aef009f0a07bf80a16982c7f9503ca7ee73481f3e809e1b8d5451d0ca268b7f6ae2ef968479332ff11acf7ef6973214cb')
+
+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-versions/repos (2 files)

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

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-versions/repos/community-staging-x86_64/PKGBUILD (from rev 
700088, haskell-versions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-07 16:45:27 UTC (rev 700089)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+
+_hkgname=versions
+pkgname=haskell-versions
+pkgver=3.5.4
+pkgrel=11
+pkgdesc="Types and parsers for software version numbers"
+url="https://github.com/fosskers/versions;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-megaparsec' 'haskell-hashable')
+makedepends=('ghc' 'haskell-microlens' 'haskell-quickcheck' 'haskell-tasty' 
'haskell-tasty-hunit'
+ 'haskell-tasty-quickcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e3264b3069057aa9154f2957cce74b1aef009f0a07bf80a16982c7f9503ca7ee73481f3e809e1b8d5451d0ca268b7f6ae2ef968479332ff11acf7ef6973214cb')
+
+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-versions/repos (2 files)

2020-09-03 Thread Felix Yan via arch-commits
Date: Thursday, September 3, 2020 @ 06:46:25
  Author: felixonmars
Revision: 697238

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-versions/repos/community-staging-x86_64/PKGBUILD (from rev 
697237, haskell-versions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-03 06:46:25 UTC (rev 697238)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+
+_hkgname=versions
+pkgname=haskell-versions
+pkgver=3.5.4
+pkgrel=10
+pkgdesc="Types and parsers for software version numbers"
+url="https://github.com/fosskers/versions;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-megaparsec' 'haskell-hashable')
+makedepends=('ghc' 'haskell-microlens' 'haskell-quickcheck' 'haskell-tasty' 
'haskell-tasty-hunit'
+ 'haskell-tasty-quickcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e3264b3069057aa9154f2957cce74b1aef009f0a07bf80a16982c7f9503ca7ee73481f3e809e1b8d5451d0ca268b7f6ae2ef968479332ff11acf7ef6973214cb')
+
+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-versions/repos (2 files)

2020-08-31 Thread Felix Yan via arch-commits
Date: Monday, August 31, 2020 @ 07:47:33
  Author: felixonmars
Revision: 693896

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-versions/repos/community-staging-x86_64/PKGBUILD (from rev 
693895, haskell-versions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-31 07:47:33 UTC (rev 693896)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+
+_hkgname=versions
+pkgname=haskell-versions
+pkgver=3.5.4
+pkgrel=9
+pkgdesc="Types and parsers for software version numbers"
+url="https://github.com/fosskers/versions;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-megaparsec' 'haskell-hashable')
+makedepends=('ghc' 'haskell-microlens' 'haskell-quickcheck' 'haskell-tasty' 
'haskell-tasty-hunit'
+ 'haskell-tasty-quickcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e3264b3069057aa9154f2957cce74b1aef009f0a07bf80a16982c7f9503ca7ee73481f3e809e1b8d5451d0ca268b7f6ae2ef968479332ff11acf7ef6973214cb')
+
+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-versions/repos (2 files)

2020-08-28 Thread Felix Yan via arch-commits
Date: Friday, August 28, 2020 @ 14:18:07
  Author: felixonmars
Revision: 690981

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-versions/repos/community-staging-x86_64/PKGBUILD (from rev 
690980, haskell-versions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-28 14:18:07 UTC (rev 690981)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+
+_hkgname=versions
+pkgname=haskell-versions
+pkgver=3.5.4
+pkgrel=8
+pkgdesc="Types and parsers for software version numbers"
+url="https://github.com/fosskers/versions;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-megaparsec' 'haskell-hashable')
+makedepends=('ghc' 'haskell-microlens' 'haskell-quickcheck' 'haskell-tasty' 
'haskell-tasty-hunit'
+ 'haskell-tasty-quickcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e3264b3069057aa9154f2957cce74b1aef009f0a07bf80a16982c7f9503ca7ee73481f3e809e1b8d5451d0ca268b7f6ae2ef968479332ff11acf7ef6973214cb')
+
+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-versions/repos (2 files)

2020-08-25 Thread Felix Yan via arch-commits
Date: Tuesday, August 25, 2020 @ 19:07:27
  Author: felixonmars
Revision: 688640

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-versions/repos/community-staging-x86_64/PKGBUILD (from rev 
688639, haskell-versions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-25 19:07:27 UTC (rev 688640)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+
+_hkgname=versions
+pkgname=haskell-versions
+pkgver=3.5.4
+pkgrel=7
+pkgdesc="Types and parsers for software version numbers"
+url="https://github.com/fosskers/versions;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-megaparsec' 'haskell-hashable')
+makedepends=('ghc' 'haskell-microlens' 'haskell-quickcheck' 'haskell-tasty' 
'haskell-tasty-hunit'
+ 'haskell-tasty-quickcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e3264b3069057aa9154f2957cce74b1aef009f0a07bf80a16982c7f9503ca7ee73481f3e809e1b8d5451d0ca268b7f6ae2ef968479332ff11acf7ef6973214cb')
+
+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-versions/repos (2 files)

2020-08-17 Thread Felix Yan via arch-commits
Date: Monday, August 17, 2020 @ 23:10:50
  Author: felixonmars
Revision: 683494

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-versions/repos/community-staging-x86_64/PKGBUILD (from rev 
683493, haskell-versions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-17 23:10:50 UTC (rev 683494)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+
+_hkgname=versions
+pkgname=haskell-versions
+pkgver=3.5.4
+pkgrel=6
+pkgdesc="Types and parsers for software version numbers"
+url="https://github.com/fosskers/versions;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-megaparsec' 'haskell-hashable')
+makedepends=('ghc' 'haskell-microlens' 'haskell-quickcheck' 'haskell-tasty' 
'haskell-tasty-hunit'
+ 'haskell-tasty-quickcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e3264b3069057aa9154f2957cce74b1aef009f0a07bf80a16982c7f9503ca7ee73481f3e809e1b8d5451d0ca268b7f6ae2ef968479332ff11acf7ef6973214cb')
+
+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-versions/repos (2 files)

2020-08-15 Thread Felix Yan via arch-commits
Date: Sunday, August 16, 2020 @ 01:32:37
  Author: felixonmars
Revision: 680506

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-versions/repos/community-staging-x86_64/PKGBUILD (from rev 
680505, haskell-versions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-16 01:32:37 UTC (rev 680506)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+
+_hkgname=versions
+pkgname=haskell-versions
+pkgver=3.5.4
+pkgrel=5
+pkgdesc="Types and parsers for software version numbers"
+url="https://github.com/fosskers/versions;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-megaparsec' 'haskell-hashable')
+makedepends=('ghc' 'haskell-microlens' 'haskell-quickcheck' 'haskell-tasty' 
'haskell-tasty-hunit'
+ 'haskell-tasty-quickcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e3264b3069057aa9154f2957cce74b1aef009f0a07bf80a16982c7f9503ca7ee73481f3e809e1b8d5451d0ca268b7f6ae2ef968479332ff11acf7ef6973214cb')
+
+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-versions/repos (2 files)

2020-08-13 Thread Felix Yan via arch-commits
Date: Thursday, August 13, 2020 @ 20:38:51
  Author: felixonmars
Revision: 678052

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-versions/repos/community-staging-x86_64/PKGBUILD (from rev 
678051, haskell-versions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-13 20:38:51 UTC (rev 678052)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+
+_hkgname=versions
+pkgname=haskell-versions
+pkgver=3.5.4
+pkgrel=4
+pkgdesc="Types and parsers for software version numbers"
+url="https://github.com/fosskers/versions;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-megaparsec' 'haskell-hashable')
+makedepends=('ghc' 'haskell-microlens' 'haskell-quickcheck' 'haskell-tasty' 
'haskell-tasty-hunit'
+ 'haskell-tasty-quickcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e3264b3069057aa9154f2957cce74b1aef009f0a07bf80a16982c7f9503ca7ee73481f3e809e1b8d5451d0ca268b7f6ae2ef968479332ff11acf7ef6973214cb')
+
+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-versions/repos (2 files)

2020-08-11 Thread Felix Yan via arch-commits
Date: Wednesday, August 12, 2020 @ 00:32:34
  Author: felixonmars
Revision: 675318

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-versions/repos/community-staging-x86_64/PKGBUILD (from rev 
675317, haskell-versions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-12 00:32:34 UTC (rev 675318)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+
+_hkgname=versions
+pkgname=haskell-versions
+pkgver=3.5.4
+pkgrel=3
+pkgdesc="Types and parsers for software version numbers"
+url="https://github.com/fosskers/versions;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-megaparsec' 'haskell-hashable')
+makedepends=('ghc' 'haskell-microlens' 'haskell-quickcheck' 'haskell-tasty' 
'haskell-tasty-hunit'
+ 'haskell-tasty-quickcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e3264b3069057aa9154f2957cce74b1aef009f0a07bf80a16982c7f9503ca7ee73481f3e809e1b8d5451d0ca268b7f6ae2ef968479332ff11acf7ef6973214cb')
+
+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-versions/repos (2 files)

2020-07-31 Thread Felix Yan via arch-commits
Date: Saturday, August 1, 2020 @ 02:47:39
  Author: felixonmars
Revision: 667071

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: haskell-versions/repos/community-staging-x86_64/PKGBUILD (from rev 
667070, haskell-versions/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-01 02:47:39 UTC (rev 667071)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+
+_hkgname=versions
+pkgname=haskell-versions
+pkgver=3.5.4
+pkgrel=2
+pkgdesc="Types and parsers for software version numbers"
+url="https://github.com/fosskers/versions;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-megaparsec' 'haskell-hashable')
+makedepends=('ghc' 'haskell-microlens' 'haskell-quickcheck' 'haskell-tasty' 
'haskell-tasty-hunit'
+ 'haskell-tasty-quickcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e3264b3069057aa9154f2957cce74b1aef009f0a07bf80a16982c7f9503ca7ee73481f3e809e1b8d5451d0ca268b7f6ae2ef968479332ff11acf7ef6973214cb')
+
+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-versions/repos (2 files)

2020-07-30 Thread Felix Yan via arch-commits
Date: Thursday, July 30, 2020 @ 18:19:09
  Author: felixonmars
Revision: 665937

archrelease: copy trunk to community-x86_64

Added:
  haskell-versions/repos/community-x86_64/
  haskell-versions/repos/community-x86_64/PKGBUILD
(from rev 665936, haskell-versions/trunk/PKGBUILD)

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

Copied: haskell-versions/repos/community-x86_64/PKGBUILD (from rev 665936, 
haskell-versions/trunk/PKGBUILD)
===
--- community-x86_64/PKGBUILD   (rev 0)
+++ community-x86_64/PKGBUILD   2020-07-30 18:19:09 UTC (rev 665937)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+
+_hkgname=versions
+pkgname=haskell-versions
+pkgver=3.5.4
+pkgrel=1
+pkgdesc="Types and parsers for software version numbers"
+url="https://github.com/fosskers/versions;
+license=('BSD')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-megaparsec' 'haskell-hashable')
+makedepends=('ghc' 'haskell-microlens' 'haskell-quickcheck' 'haskell-tasty' 
'haskell-tasty-hunit'
+ 'haskell-tasty-quickcheck')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('e3264b3069057aa9154f2957cce74b1aef009f0a07bf80a16982c7f9503ca7ee73481f3e809e1b8d5451d0ca268b7f6ae2ef968479332ff11acf7ef6973214cb')
+
+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
+}