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

2020-12-28 Thread Felix Yan via arch-commits
Date: Monday, December 28, 2020 @ 23:18:42
  Author: felixonmars
Revision: 796167

archrelease: copy trunk to community-staging-x86_64

Added:
  hasktags/repos/community-staging-x86_64/
  hasktags/repos/community-staging-x86_64/PKGBUILD
(from rev 796166, hasktags/trunk/PKGBUILD)

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

Copied: hasktags/repos/community-staging-x86_64/PKGBUILD (from rev 796166, 
hasktags/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-28 23:18:42 UTC (rev 796167)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hasktags
+pkgver=0.71.2
+pkgrel=117
+pkgdesc="Produces ctags \"tags\" and etags \"TAGS\" files for Haskell programs"
+url="https://github.com/MarcWeber/hasktags;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-json' 'haskell-microlens-platform' 
'haskell-optparse-applicative'
+ 'haskell-utf8-string')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('649f8e74202dc08b8c37535c2fb0fefe11c55bc9de300093b20e7b224fa6daccbc938988ef810a479e745b53270215fc847caa6e0b06310a7d1c7493fc37b1ce')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i -e 's/< *0.4/<1/' -e 's/< *0.10/<1/' $pkgname.cabal
+}
+
+build() {
+cd $pkgname-$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 \
+-f-debug --ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $pkgname-$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 hasktags/repos (2 files)

2020-12-27 Thread Felix Yan via arch-commits
Date: Sunday, December 27, 2020 @ 23:33:37
  Author: felixonmars
Revision: 794031

archrelease: copy trunk to community-staging-x86_64

Added:
  hasktags/repos/community-staging-x86_64/
  hasktags/repos/community-staging-x86_64/PKGBUILD
(from rev 794030, hasktags/trunk/PKGBUILD)

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

Copied: hasktags/repos/community-staging-x86_64/PKGBUILD (from rev 794030, 
hasktags/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-27 23:33:37 UTC (rev 794031)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hasktags
+pkgver=0.71.2
+pkgrel=116
+pkgdesc="Produces ctags \"tags\" and etags \"TAGS\" files for Haskell programs"
+url="https://github.com/MarcWeber/hasktags;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-json' 'haskell-microlens-platform' 
'haskell-optparse-applicative'
+ 'haskell-utf8-string')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('649f8e74202dc08b8c37535c2fb0fefe11c55bc9de300093b20e7b224fa6daccbc938988ef810a479e745b53270215fc847caa6e0b06310a7d1c7493fc37b1ce')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i -e 's/< *0.4/<1/' -e 's/< *0.10/<1/' $pkgname.cabal
+}
+
+build() {
+cd $pkgname-$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 \
+-f-debug --ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $pkgname-$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 hasktags/repos (2 files)

2020-12-25 Thread Felix Yan via arch-commits
Date: Saturday, December 26, 2020 @ 00:57:27
  Author: felixonmars
Revision: 791436

archrelease: copy trunk to community-staging-x86_64

Added:
  hasktags/repos/community-staging-x86_64/
  hasktags/repos/community-staging-x86_64/PKGBUILD
(from rev 791435, hasktags/trunk/PKGBUILD)

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

Copied: hasktags/repos/community-staging-x86_64/PKGBUILD (from rev 791435, 
hasktags/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-26 00:57:27 UTC (rev 791436)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hasktags
+pkgver=0.71.2
+pkgrel=115
+pkgdesc="Produces ctags \"tags\" and etags \"TAGS\" files for Haskell programs"
+url="https://github.com/MarcWeber/hasktags;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-json' 'haskell-microlens-platform' 
'haskell-optparse-applicative'
+ 'haskell-utf8-string')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('649f8e74202dc08b8c37535c2fb0fefe11c55bc9de300093b20e7b224fa6daccbc938988ef810a479e745b53270215fc847caa6e0b06310a7d1c7493fc37b1ce')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i -e 's/< *0.4/<1/' -e 's/< *0.10/<1/' $pkgname.cabal
+}
+
+build() {
+cd $pkgname-$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 \
+-f-debug --ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $pkgname-$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 hasktags/repos (2 files)

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

archrelease: copy trunk to community-staging-x86_64

Added:
  hasktags/repos/community-staging-x86_64/
  hasktags/repos/community-staging-x86_64/PKGBUILD
(from rev 790783, hasktags/trunk/PKGBUILD)

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

Copied: hasktags/repos/community-staging-x86_64/PKGBUILD (from rev 790783, 
hasktags/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-25 12:45:00 UTC (rev 790785)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hasktags
+pkgver=0.71.2
+pkgrel=114
+pkgdesc="Produces ctags \"tags\" and etags \"TAGS\" files for Haskell programs"
+url="https://github.com/MarcWeber/hasktags;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-json' 'haskell-microlens-platform' 
'haskell-optparse-applicative'
+ 'haskell-utf8-string')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('649f8e74202dc08b8c37535c2fb0fefe11c55bc9de300093b20e7b224fa6daccbc938988ef810a479e745b53270215fc847caa6e0b06310a7d1c7493fc37b1ce')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i -e 's/< *0.4/<1/' -e 's/< *0.10/<1/' $pkgname.cabal
+}
+
+build() {
+cd $pkgname-$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 \
+-f-debug --ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $pkgname-$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 hasktags/repos (2 files)

2020-12-24 Thread Felix Yan via arch-commits
Date: Thursday, December 24, 2020 @ 22:03:10
  Author: felixonmars
Revision: 788998

archrelease: copy trunk to community-staging-x86_64

Added:
  hasktags/repos/community-staging-x86_64/
  hasktags/repos/community-staging-x86_64/PKGBUILD
(from rev 788997, hasktags/trunk/PKGBUILD)

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

Copied: hasktags/repos/community-staging-x86_64/PKGBUILD (from rev 788997, 
hasktags/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-24 22:03:10 UTC (rev 788998)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hasktags
+pkgver=0.71.2
+pkgrel=113
+pkgdesc="Produces ctags \"tags\" and etags \"TAGS\" files for Haskell programs"
+url="https://github.com/MarcWeber/hasktags;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-json' 'haskell-microlens-platform' 
'haskell-optparse-applicative'
+ 'haskell-utf8-string')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('649f8e74202dc08b8c37535c2fb0fefe11c55bc9de300093b20e7b224fa6daccbc938988ef810a479e745b53270215fc847caa6e0b06310a7d1c7493fc37b1ce')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i -e 's/< *0.4/<1/' -e 's/< *0.10/<1/' $pkgname.cabal
+}
+
+build() {
+cd $pkgname-$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 \
+-f-debug --ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $pkgname-$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 hasktags/repos (2 files)

2020-12-23 Thread Felix Yan via arch-commits
Date: Thursday, December 24, 2020 @ 03:00:08
  Author: felixonmars
Revision: 786098

archrelease: copy trunk to community-staging-x86_64

Added:
  hasktags/repos/community-staging-x86_64/
  hasktags/repos/community-staging-x86_64/PKGBUILD
(from rev 786097, hasktags/trunk/PKGBUILD)

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

Copied: hasktags/repos/community-staging-x86_64/PKGBUILD (from rev 786097, 
hasktags/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-24 03:00:08 UTC (rev 786098)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hasktags
+pkgver=0.71.2
+pkgrel=112
+pkgdesc="Produces ctags \"tags\" and etags \"TAGS\" files for Haskell programs"
+url="https://github.com/MarcWeber/hasktags;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-json' 'haskell-microlens-platform' 
'haskell-optparse-applicative'
+ 'haskell-utf8-string')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('649f8e74202dc08b8c37535c2fb0fefe11c55bc9de300093b20e7b224fa6daccbc938988ef810a479e745b53270215fc847caa6e0b06310a7d1c7493fc37b1ce')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i -e 's/< *0.4/<1/' -e 's/< *0.10/<1/' $pkgname.cabal
+}
+
+build() {
+cd $pkgname-$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 \
+-f-debug --ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $pkgname-$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 hasktags/repos (2 files)

2020-12-22 Thread Felix Yan via arch-commits
Date: Wednesday, December 23, 2020 @ 02:00:43
  Author: felixonmars
Revision: 783325

archrelease: copy trunk to community-staging-x86_64

Added:
  hasktags/repos/community-staging-x86_64/
  hasktags/repos/community-staging-x86_64/PKGBUILD
(from rev 783324, hasktags/trunk/PKGBUILD)

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

Copied: hasktags/repos/community-staging-x86_64/PKGBUILD (from rev 783324, 
hasktags/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-23 02:00:43 UTC (rev 783325)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hasktags
+pkgver=0.71.2
+pkgrel=111
+pkgdesc="Produces ctags \"tags\" and etags \"TAGS\" files for Haskell programs"
+url="https://github.com/MarcWeber/hasktags;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-json' 'haskell-microlens-platform' 
'haskell-optparse-applicative'
+ 'haskell-utf8-string')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('649f8e74202dc08b8c37535c2fb0fefe11c55bc9de300093b20e7b224fa6daccbc938988ef810a479e745b53270215fc847caa6e0b06310a7d1c7493fc37b1ce')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i -e 's/< *0.4/<1/' -e 's/< *0.10/<1/' $pkgname.cabal
+}
+
+build() {
+cd $pkgname-$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 \
+-f-debug --ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $pkgname-$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 hasktags/repos (2 files)

2020-12-21 Thread Felix Yan via arch-commits
Date: Monday, December 21, 2020 @ 17:54:19
  Author: felixonmars
Revision: 781311

archrelease: copy trunk to community-staging-x86_64

Added:
  hasktags/repos/community-staging-x86_64/
  hasktags/repos/community-staging-x86_64/PKGBUILD
(from rev 781310, hasktags/trunk/PKGBUILD)

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

Copied: hasktags/repos/community-staging-x86_64/PKGBUILD (from rev 781310, 
hasktags/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-21 17:54:19 UTC (rev 781311)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hasktags
+pkgver=0.71.2
+pkgrel=110
+pkgdesc="Produces ctags \"tags\" and etags \"TAGS\" files for Haskell programs"
+url="https://github.com/MarcWeber/hasktags;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-json' 'haskell-microlens-platform' 
'haskell-optparse-applicative'
+ 'haskell-utf8-string')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('649f8e74202dc08b8c37535c2fb0fefe11c55bc9de300093b20e7b224fa6daccbc938988ef810a479e745b53270215fc847caa6e0b06310a7d1c7493fc37b1ce')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i -e 's/< *0.4/<1/' -e 's/< *0.10/<1/' $pkgname.cabal
+}
+
+build() {
+cd $pkgname-$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 \
+-f-debug --ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $pkgname-$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 hasktags/repos (2 files)

2020-12-18 Thread Felix Yan via arch-commits
Date: Friday, December 18, 2020 @ 13:19:03
  Author: felixonmars
Revision: 778595

archrelease: copy trunk to community-staging-x86_64

Added:
  hasktags/repos/community-staging-x86_64/
  hasktags/repos/community-staging-x86_64/PKGBUILD
(from rev 778594, hasktags/trunk/PKGBUILD)

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

Copied: hasktags/repos/community-staging-x86_64/PKGBUILD (from rev 778594, 
hasktags/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-18 13:19:03 UTC (rev 778595)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hasktags
+pkgver=0.71.2
+pkgrel=109
+pkgdesc="Produces ctags \"tags\" and etags \"TAGS\" files for Haskell programs"
+url="https://github.com/MarcWeber/hasktags;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-json' 'haskell-microlens-platform' 
'haskell-optparse-applicative'
+ 'haskell-utf8-string')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('649f8e74202dc08b8c37535c2fb0fefe11c55bc9de300093b20e7b224fa6daccbc938988ef810a479e745b53270215fc847caa6e0b06310a7d1c7493fc37b1ce')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i -e 's/< *0.4/<1/' -e 's/< *0.10/<1/' $pkgname.cabal
+}
+
+build() {
+cd $pkgname-$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 \
+-f-debug --ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $pkgname-$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 hasktags/repos (2 files)

2020-12-13 Thread Felix Yan via arch-commits
Date: Sunday, December 13, 2020 @ 09:16:56
  Author: felixonmars
Revision: 773925

archrelease: copy trunk to community-staging-x86_64

Added:
  hasktags/repos/community-staging-x86_64/
  hasktags/repos/community-staging-x86_64/PKGBUILD
(from rev 773924, hasktags/trunk/PKGBUILD)

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

Copied: hasktags/repos/community-staging-x86_64/PKGBUILD (from rev 773924, 
hasktags/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-13 09:16:56 UTC (rev 773925)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hasktags
+pkgver=0.71.2
+pkgrel=108
+pkgdesc="Produces ctags \"tags\" and etags \"TAGS\" files for Haskell programs"
+url="https://github.com/MarcWeber/hasktags;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-json' 'haskell-microlens-platform' 
'haskell-optparse-applicative'
+ 'haskell-utf8-string')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('649f8e74202dc08b8c37535c2fb0fefe11c55bc9de300093b20e7b224fa6daccbc938988ef810a479e745b53270215fc847caa6e0b06310a7d1c7493fc37b1ce')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i -e 's/< *0.4/<1/' -e 's/< *0.10/<1/' $pkgname.cabal
+}
+
+build() {
+cd $pkgname-$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 \
+-f-debug --ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $pkgname-$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 hasktags/repos (2 files)

2020-11-30 Thread Felix Yan via arch-commits
Date: Monday, November 30, 2020 @ 16:32:28
  Author: felixonmars
Revision: 766599

archrelease: copy trunk to community-staging-x86_64

Added:
  hasktags/repos/community-staging-x86_64/
  hasktags/repos/community-staging-x86_64/PKGBUILD
(from rev 766598, hasktags/trunk/PKGBUILD)

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

Copied: hasktags/repos/community-staging-x86_64/PKGBUILD (from rev 766598, 
hasktags/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-30 16:32:28 UTC (rev 766599)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hasktags
+pkgver=0.71.2
+pkgrel=107
+pkgdesc="Produces ctags \"tags\" and etags \"TAGS\" files for Haskell programs"
+url="https://github.com/MarcWeber/hasktags;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-json' 'haskell-microlens-platform' 
'haskell-optparse-applicative'
+ 'haskell-utf8-string')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('649f8e74202dc08b8c37535c2fb0fefe11c55bc9de300093b20e7b224fa6daccbc938988ef810a479e745b53270215fc847caa6e0b06310a7d1c7493fc37b1ce')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i -e 's/< *0.4/<1/' -e 's/< *0.10/<1/' $pkgname.cabal
+}
+
+build() {
+cd $pkgname-$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 \
+-f-debug --ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $pkgname-$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 hasktags/repos (2 files)

2020-11-27 Thread Felix Yan via arch-commits
Date: Friday, November 27, 2020 @ 14:46:21
  Author: felixonmars
Revision: 764266

archrelease: copy trunk to community-staging-x86_64

Added:
  hasktags/repos/community-staging-x86_64/
  hasktags/repos/community-staging-x86_64/PKGBUILD
(from rev 764265, hasktags/trunk/PKGBUILD)

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

Copied: hasktags/repos/community-staging-x86_64/PKGBUILD (from rev 764265, 
hasktags/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-27 14:46:21 UTC (rev 764266)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hasktags
+pkgver=0.71.2
+pkgrel=106
+pkgdesc="Produces ctags \"tags\" and etags \"TAGS\" files for Haskell programs"
+url="https://github.com/MarcWeber/hasktags;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-json' 'haskell-microlens-platform' 
'haskell-optparse-applicative'
+ 'haskell-utf8-string')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('649f8e74202dc08b8c37535c2fb0fefe11c55bc9de300093b20e7b224fa6daccbc938988ef810a479e745b53270215fc847caa6e0b06310a7d1c7493fc37b1ce')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i -e 's/< *0.4/<1/' -e 's/< *0.10/<1/' $pkgname.cabal
+}
+
+build() {
+cd $pkgname-$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 \
+-f-debug --ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $pkgname-$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 hasktags/repos (2 files)

2020-11-22 Thread Felix Yan via arch-commits
Date: Sunday, November 22, 2020 @ 13:21:16
  Author: felixonmars
Revision: 759047

archrelease: copy trunk to community-staging-x86_64

Added:
  hasktags/repos/community-staging-x86_64/
  hasktags/repos/community-staging-x86_64/PKGBUILD
(from rev 759046, hasktags/trunk/PKGBUILD)

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

Copied: hasktags/repos/community-staging-x86_64/PKGBUILD (from rev 759046, 
hasktags/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-22 13:21:16 UTC (rev 759047)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hasktags
+pkgver=0.71.2
+pkgrel=105
+pkgdesc="Produces ctags \"tags\" and etags \"TAGS\" files for Haskell programs"
+url="https://github.com/MarcWeber/hasktags;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-json' 'haskell-microlens-platform' 
'haskell-optparse-applicative'
+ 'haskell-utf8-string')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('649f8e74202dc08b8c37535c2fb0fefe11c55bc9de300093b20e7b224fa6daccbc938988ef810a479e745b53270215fc847caa6e0b06310a7d1c7493fc37b1ce')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i -e 's/< *0.4/<1/' -e 's/< *0.10/<1/' $pkgname.cabal
+}
+
+build() {
+cd $pkgname-$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 \
+-f-debug --ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $pkgname-$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 hasktags/repos (2 files)

2020-11-15 Thread Felix Yan via arch-commits
Date: Sunday, November 15, 2020 @ 21:55:16
  Author: felixonmars
Revision: 754805

archrelease: copy trunk to community-staging-x86_64

Added:
  hasktags/repos/community-staging-x86_64/
  hasktags/repos/community-staging-x86_64/PKGBUILD
(from rev 754804, hasktags/trunk/PKGBUILD)

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

Copied: hasktags/repos/community-staging-x86_64/PKGBUILD (from rev 754804, 
hasktags/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-15 21:55:16 UTC (rev 754805)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hasktags
+pkgver=0.71.2
+pkgrel=104
+pkgdesc="Produces ctags \"tags\" and etags \"TAGS\" files for Haskell programs"
+url="https://github.com/MarcWeber/hasktags;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-json' 'haskell-microlens-platform' 
'haskell-optparse-applicative'
+ 'haskell-utf8-string')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('649f8e74202dc08b8c37535c2fb0fefe11c55bc9de300093b20e7b224fa6daccbc938988ef810a479e745b53270215fc847caa6e0b06310a7d1c7493fc37b1ce')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i -e 's/< *0.4/<1/' -e 's/< *0.10/<1/' $pkgname.cabal
+}
+
+build() {
+cd $pkgname-$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 \
+-f-debug --ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $pkgname-$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 hasktags/repos (2 files)

2020-11-05 Thread Felix Yan via arch-commits
Date: Thursday, November 5, 2020 @ 22:45:04
  Author: felixonmars
Revision: 743649

archrelease: copy trunk to community-staging-x86_64

Added:
  hasktags/repos/community-staging-x86_64/
  hasktags/repos/community-staging-x86_64/PKGBUILD
(from rev 743648, hasktags/trunk/PKGBUILD)

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

Copied: hasktags/repos/community-staging-x86_64/PKGBUILD (from rev 743648, 
hasktags/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-05 22:45:04 UTC (rev 743649)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hasktags
+pkgver=0.71.2
+pkgrel=103
+pkgdesc="Produces ctags \"tags\" and etags \"TAGS\" files for Haskell programs"
+url="https://github.com/MarcWeber/hasktags;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-json' 'haskell-microlens-platform' 
'haskell-optparse-applicative'
+ 'haskell-utf8-string')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('649f8e74202dc08b8c37535c2fb0fefe11c55bc9de300093b20e7b224fa6daccbc938988ef810a479e745b53270215fc847caa6e0b06310a7d1c7493fc37b1ce')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i -e 's/< *0.4/<1/' -e 's/< *0.10/<1/' $pkgname.cabal
+}
+
+build() {
+cd $pkgname-$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 \
+-f-debug --ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $pkgname-$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 hasktags/repos (2 files)

2020-11-02 Thread Felix Yan via arch-commits
Date: Monday, November 2, 2020 @ 08:54:37
  Author: felixonmars
Revision: 739301

archrelease: copy trunk to community-staging-x86_64

Added:
  hasktags/repos/community-staging-x86_64/
  hasktags/repos/community-staging-x86_64/PKGBUILD
(from rev 739300, hasktags/trunk/PKGBUILD)

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

Copied: hasktags/repos/community-staging-x86_64/PKGBUILD (from rev 739300, 
hasktags/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-11-02 08:54:37 UTC (rev 739301)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hasktags
+pkgver=0.71.2
+pkgrel=102
+pkgdesc="Produces ctags \"tags\" and etags \"TAGS\" files for Haskell programs"
+url="https://github.com/MarcWeber/hasktags;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-json' 'haskell-microlens-platform' 
'haskell-optparse-applicative'
+ 'haskell-utf8-string')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('649f8e74202dc08b8c37535c2fb0fefe11c55bc9de300093b20e7b224fa6daccbc938988ef810a479e745b53270215fc847caa6e0b06310a7d1c7493fc37b1ce')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i -e 's/< *0.4/<1/' -e 's/< *0.10/<1/' $pkgname.cabal
+}
+
+build() {
+cd $pkgname-$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 \
+-f-debug --ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $pkgname-$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 hasktags/repos (2 files)

2020-10-30 Thread Felix Yan via arch-commits
Date: Friday, October 30, 2020 @ 20:15:56
  Author: felixonmars
Revision: 737027

archrelease: copy trunk to community-staging-x86_64

Added:
  hasktags/repos/community-staging-x86_64/
  hasktags/repos/community-staging-x86_64/PKGBUILD
(from rev 737026, hasktags/trunk/PKGBUILD)

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

Copied: hasktags/repos/community-staging-x86_64/PKGBUILD (from rev 737026, 
hasktags/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-30 20:15:56 UTC (rev 737027)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hasktags
+pkgver=0.71.2
+pkgrel=101
+pkgdesc="Produces ctags \"tags\" and etags \"TAGS\" files for Haskell programs"
+url="https://github.com/MarcWeber/hasktags;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-json' 'haskell-microlens-platform' 
'haskell-optparse-applicative'
+ 'haskell-utf8-string')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('649f8e74202dc08b8c37535c2fb0fefe11c55bc9de300093b20e7b224fa6daccbc938988ef810a479e745b53270215fc847caa6e0b06310a7d1c7493fc37b1ce')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i -e 's/< *0.4/<1/' -e 's/< *0.10/<1/' $pkgname.cabal
+}
+
+build() {
+cd $pkgname-$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 \
+-f-debug --ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $pkgname-$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 hasktags/repos (2 files)

2020-10-27 Thread Felix Yan via arch-commits
Date: Tuesday, October 27, 2020 @ 15:49:40
  Author: felixonmars
Revision: 734497

archrelease: copy trunk to community-staging-x86_64

Added:
  hasktags/repos/community-staging-x86_64/
  hasktags/repos/community-staging-x86_64/PKGBUILD
(from rev 734496, hasktags/trunk/PKGBUILD)

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

Copied: hasktags/repos/community-staging-x86_64/PKGBUILD (from rev 734496, 
hasktags/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-27 15:49:40 UTC (rev 734497)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hasktags
+pkgver=0.71.2
+pkgrel=100
+pkgdesc="Produces ctags \"tags\" and etags \"TAGS\" files for Haskell programs"
+url="https://github.com/MarcWeber/hasktags;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-json' 'haskell-microlens-platform' 
'haskell-optparse-applicative'
+ 'haskell-utf8-string')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('649f8e74202dc08b8c37535c2fb0fefe11c55bc9de300093b20e7b224fa6daccbc938988ef810a479e745b53270215fc847caa6e0b06310a7d1c7493fc37b1ce')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i -e 's/< *0.4/<1/' -e 's/< *0.10/<1/' $pkgname.cabal
+}
+
+build() {
+cd $pkgname-$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 \
+-f-debug --ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $pkgname-$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 hasktags/repos (2 files)

2020-10-24 Thread Felix Yan via arch-commits
Date: Saturday, October 24, 2020 @ 23:25:43
  Author: felixonmars
Revision: 732037

archrelease: copy trunk to community-staging-x86_64

Added:
  hasktags/repos/community-staging-x86_64/
  hasktags/repos/community-staging-x86_64/PKGBUILD
(from rev 732036, hasktags/trunk/PKGBUILD)

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

Copied: hasktags/repos/community-staging-x86_64/PKGBUILD (from rev 732036, 
hasktags/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-24 23:25:43 UTC (rev 732037)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hasktags
+pkgver=0.71.2
+pkgrel=99
+pkgdesc="Produces ctags \"tags\" and etags \"TAGS\" files for Haskell programs"
+url="https://github.com/MarcWeber/hasktags;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-json' 'haskell-microlens-platform' 
'haskell-optparse-applicative'
+ 'haskell-utf8-string')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('649f8e74202dc08b8c37535c2fb0fefe11c55bc9de300093b20e7b224fa6daccbc938988ef810a479e745b53270215fc847caa6e0b06310a7d1c7493fc37b1ce')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i -e 's/< *0.4/<1/' -e 's/< *0.10/<1/' $pkgname.cabal
+}
+
+build() {
+cd $pkgname-$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 \
+-f-debug --ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $pkgname-$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 hasktags/repos (2 files)

2020-10-22 Thread Felix Yan via arch-commits
Date: Thursday, October 22, 2020 @ 18:00:02
  Author: felixonmars
Revision: 729336

archrelease: copy trunk to community-staging-x86_64

Added:
  hasktags/repos/community-staging-x86_64/
  hasktags/repos/community-staging-x86_64/PKGBUILD
(from rev 729335, hasktags/trunk/PKGBUILD)

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

Copied: hasktags/repos/community-staging-x86_64/PKGBUILD (from rev 729335, 
hasktags/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-22 18:00:02 UTC (rev 729336)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hasktags
+pkgver=0.71.2
+pkgrel=98
+pkgdesc="Produces ctags \"tags\" and etags \"TAGS\" files for Haskell programs"
+url="https://github.com/MarcWeber/hasktags;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-json' 'haskell-microlens-platform' 
'haskell-optparse-applicative'
+ 'haskell-utf8-string')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('649f8e74202dc08b8c37535c2fb0fefe11c55bc9de300093b20e7b224fa6daccbc938988ef810a479e745b53270215fc847caa6e0b06310a7d1c7493fc37b1ce')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i -e 's/< *0.4/<1/' -e 's/< *0.10/<1/' $pkgname.cabal
+}
+
+build() {
+cd $pkgname-$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 \
+-f-debug --ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $pkgname-$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 hasktags/repos (2 files)

2020-10-18 Thread Felix Yan via arch-commits
Date: Sunday, October 18, 2020 @ 12:43:58
  Author: felixonmars
Revision: 725982

archrelease: copy trunk to community-staging-x86_64

Added:
  hasktags/repos/community-staging-x86_64/
  hasktags/repos/community-staging-x86_64/PKGBUILD
(from rev 725981, hasktags/trunk/PKGBUILD)

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

Copied: hasktags/repos/community-staging-x86_64/PKGBUILD (from rev 725981, 
hasktags/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-18 12:43:58 UTC (rev 725982)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hasktags
+pkgver=0.71.2
+pkgrel=97
+pkgdesc="Produces ctags \"tags\" and etags \"TAGS\" files for Haskell programs"
+url="https://github.com/MarcWeber/hasktags;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-json' 'haskell-microlens-platform' 
'haskell-optparse-applicative'
+ 'haskell-utf8-string')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('649f8e74202dc08b8c37535c2fb0fefe11c55bc9de300093b20e7b224fa6daccbc938988ef810a479e745b53270215fc847caa6e0b06310a7d1c7493fc37b1ce')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i -e 's/< *0.4/<1/' -e 's/< *0.10/<1/' $pkgname.cabal
+}
+
+build() {
+cd $pkgname-$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 \
+-f-debug --ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $pkgname-$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 hasktags/repos (2 files)

2020-10-10 Thread Felix Yan via arch-commits
Date: Saturday, October 10, 2020 @ 09:06:59
  Author: felixonmars
Revision: 722994

archrelease: copy trunk to community-staging-x86_64

Added:
  hasktags/repos/community-staging-x86_64/
  hasktags/repos/community-staging-x86_64/PKGBUILD
(from rev 722993, hasktags/trunk/PKGBUILD)

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

Copied: hasktags/repos/community-staging-x86_64/PKGBUILD (from rev 722993, 
hasktags/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-10 09:06:59 UTC (rev 722994)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hasktags
+pkgver=0.71.2
+pkgrel=96
+pkgdesc="Produces ctags \"tags\" and etags \"TAGS\" files for Haskell programs"
+url="https://github.com/MarcWeber/hasktags;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-json' 'haskell-microlens-platform' 
'haskell-optparse-applicative'
+ 'haskell-utf8-string')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('649f8e74202dc08b8c37535c2fb0fefe11c55bc9de300093b20e7b224fa6daccbc938988ef810a479e745b53270215fc847caa6e0b06310a7d1c7493fc37b1ce')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i -e 's/< *0.4/<1/' -e 's/< *0.10/<1/' $pkgname.cabal
+}
+
+build() {
+cd $pkgname-$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 \
+-f-debug --ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $pkgname-$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 hasktags/repos (2 files)

2020-10-07 Thread Felix Yan via arch-commits
Date: Wednesday, October 7, 2020 @ 19:05:14
  Author: felixonmars
Revision: 720876

archrelease: copy trunk to community-staging-x86_64

Added:
  hasktags/repos/community-staging-x86_64/
  hasktags/repos/community-staging-x86_64/PKGBUILD
(from rev 720875, hasktags/trunk/PKGBUILD)

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

Copied: hasktags/repos/community-staging-x86_64/PKGBUILD (from rev 720875, 
hasktags/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-07 19:05:14 UTC (rev 720876)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hasktags
+pkgver=0.71.2
+pkgrel=95
+pkgdesc="Produces ctags \"tags\" and etags \"TAGS\" files for Haskell programs"
+url="https://github.com/MarcWeber/hasktags;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-json' 'haskell-microlens-platform' 
'haskell-optparse-applicative'
+ 'haskell-utf8-string')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('649f8e74202dc08b8c37535c2fb0fefe11c55bc9de300093b20e7b224fa6daccbc938988ef810a479e745b53270215fc847caa6e0b06310a7d1c7493fc37b1ce')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i -e 's/< *0.4/<1/' -e 's/< *0.10/<1/' $pkgname.cabal
+}
+
+build() {
+cd $pkgname-$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 \
+-f-debug --ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $pkgname-$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 hasktags/repos (2 files)

2020-10-04 Thread Felix Yan via arch-commits
Date: Sunday, October 4, 2020 @ 17:45:47
  Author: felixonmars
Revision: 717807

archrelease: copy trunk to community-staging-x86_64

Added:
  hasktags/repos/community-staging-x86_64/
  hasktags/repos/community-staging-x86_64/PKGBUILD
(from rev 717806, hasktags/trunk/PKGBUILD)

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

Copied: hasktags/repos/community-staging-x86_64/PKGBUILD (from rev 717806, 
hasktags/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-04 17:45:47 UTC (rev 717807)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hasktags
+pkgver=0.71.2
+pkgrel=94
+pkgdesc="Produces ctags \"tags\" and etags \"TAGS\" files for Haskell programs"
+url="https://github.com/MarcWeber/hasktags;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-json' 'haskell-microlens-platform' 
'haskell-optparse-applicative'
+ 'haskell-utf8-string')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('649f8e74202dc08b8c37535c2fb0fefe11c55bc9de300093b20e7b224fa6daccbc938988ef810a479e745b53270215fc847caa6e0b06310a7d1c7493fc37b1ce')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i -e 's/< *0.4/<1/' -e 's/< *0.10/<1/' $pkgname.cabal
+}
+
+build() {
+cd $pkgname-$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 \
+-f-debug --ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $pkgname-$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 hasktags/repos (2 files)

2020-10-02 Thread Felix Yan via arch-commits
Date: Saturday, October 3, 2020 @ 05:35:46
  Author: felixonmars
Revision: 716456

archrelease: copy trunk to community-staging-x86_64

Added:
  hasktags/repos/community-staging-x86_64/
  hasktags/repos/community-staging-x86_64/PKGBUILD
(from rev 716455, hasktags/trunk/PKGBUILD)

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

Copied: hasktags/repos/community-staging-x86_64/PKGBUILD (from rev 716455, 
hasktags/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-03 05:35:46 UTC (rev 716456)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hasktags
+pkgver=0.71.2
+pkgrel=93
+pkgdesc="Produces ctags \"tags\" and etags \"TAGS\" files for Haskell programs"
+url="https://github.com/MarcWeber/hasktags;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-json' 'haskell-microlens-platform' 
'haskell-optparse-applicative'
+ 'haskell-utf8-string')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('649f8e74202dc08b8c37535c2fb0fefe11c55bc9de300093b20e7b224fa6daccbc938988ef810a479e745b53270215fc847caa6e0b06310a7d1c7493fc37b1ce')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i -e 's/< *0.4/<1/' -e 's/< *0.10/<1/' $pkgname.cabal
+}
+
+build() {
+cd $pkgname-$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 \
+-f-debug --ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $pkgname-$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 hasktags/repos (2 files)

2020-10-02 Thread Felix Yan via arch-commits
Date: Friday, October 2, 2020 @ 20:44:40
  Author: felixonmars
Revision: 715657

archrelease: copy trunk to community-staging-x86_64

Added:
  hasktags/repos/community-staging-x86_64/
  hasktags/repos/community-staging-x86_64/PKGBUILD
(from rev 715656, hasktags/trunk/PKGBUILD)

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

Copied: hasktags/repos/community-staging-x86_64/PKGBUILD (from rev 715656, 
hasktags/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-10-02 20:44:40 UTC (rev 715657)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hasktags
+pkgver=0.71.2
+pkgrel=92
+pkgdesc="Produces ctags \"tags\" and etags \"TAGS\" files for Haskell programs"
+url="https://github.com/MarcWeber/hasktags;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-json' 'haskell-microlens-platform' 
'haskell-optparse-applicative'
+ 'haskell-utf8-string')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('649f8e74202dc08b8c37535c2fb0fefe11c55bc9de300093b20e7b224fa6daccbc938988ef810a479e745b53270215fc847caa6e0b06310a7d1c7493fc37b1ce')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i -e 's/< *0.4/<1/' -e 's/< *0.10/<1/' $pkgname.cabal
+}
+
+build() {
+cd $pkgname-$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 \
+-f-debug --ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $pkgname-$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 hasktags/repos (2 files)

2020-09-18 Thread Felix Yan via arch-commits
Date: Friday, September 18, 2020 @ 11:38:41
  Author: felixonmars
Revision: 709991

archrelease: copy trunk to community-staging-x86_64

Added:
  hasktags/repos/community-staging-x86_64/
  hasktags/repos/community-staging-x86_64/PKGBUILD
(from rev 709990, hasktags/trunk/PKGBUILD)

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

Copied: hasktags/repos/community-staging-x86_64/PKGBUILD (from rev 709990, 
hasktags/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-18 11:38:41 UTC (rev 709991)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hasktags
+pkgver=0.71.2
+pkgrel=91
+pkgdesc="Produces ctags \"tags\" and etags \"TAGS\" files for Haskell programs"
+url="https://github.com/MarcWeber/hasktags;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-json' 'haskell-microlens-platform' 
'haskell-optparse-applicative'
+ 'haskell-utf8-string')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('649f8e74202dc08b8c37535c2fb0fefe11c55bc9de300093b20e7b224fa6daccbc938988ef810a479e745b53270215fc847caa6e0b06310a7d1c7493fc37b1ce')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i -e 's/< *0.4/<1/' -e 's/< *0.10/<1/' $pkgname.cabal
+}
+
+build() {
+cd $pkgname-$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 \
+-f-debug --ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $pkgname-$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 hasktags/repos (2 files)

2020-09-16 Thread Felix Yan via arch-commits
Date: Wednesday, September 16, 2020 @ 08:52:32
  Author: felixonmars
Revision: 707360

archrelease: copy trunk to community-staging-x86_64

Added:
  hasktags/repos/community-staging-x86_64/
  hasktags/repos/community-staging-x86_64/PKGBUILD
(from rev 707359, hasktags/trunk/PKGBUILD)

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

Copied: hasktags/repos/community-staging-x86_64/PKGBUILD (from rev 707359, 
hasktags/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-16 08:52:32 UTC (rev 707360)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hasktags
+pkgver=0.71.2
+pkgrel=90
+pkgdesc="Produces ctags \"tags\" and etags \"TAGS\" files for Haskell programs"
+url="https://github.com/MarcWeber/hasktags;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-json' 'haskell-microlens-platform' 
'haskell-optparse-applicative'
+ 'haskell-utf8-string')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('649f8e74202dc08b8c37535c2fb0fefe11c55bc9de300093b20e7b224fa6daccbc938988ef810a479e745b53270215fc847caa6e0b06310a7d1c7493fc37b1ce')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i -e 's/< *0.4/<1/' -e 's/< *0.10/<1/' $pkgname.cabal
+}
+
+build() {
+cd $pkgname-$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 \
+-f-debug --ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $pkgname-$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 hasktags/repos (2 files)

2020-09-13 Thread Felix Yan via arch-commits
Date: Sunday, September 13, 2020 @ 19:57:45
  Author: felixonmars
Revision: 705223

archrelease: copy trunk to community-staging-x86_64

Added:
  hasktags/repos/community-staging-x86_64/
  hasktags/repos/community-staging-x86_64/PKGBUILD
(from rev 705222, hasktags/trunk/PKGBUILD)

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

Copied: hasktags/repos/community-staging-x86_64/PKGBUILD (from rev 705222, 
hasktags/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-13 19:57:45 UTC (rev 705223)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hasktags
+pkgver=0.71.2
+pkgrel=89
+pkgdesc="Produces ctags \"tags\" and etags \"TAGS\" files for Haskell programs"
+url="https://github.com/MarcWeber/hasktags;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-json' 'haskell-microlens-platform' 
'haskell-optparse-applicative'
+ 'haskell-utf8-string')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('649f8e74202dc08b8c37535c2fb0fefe11c55bc9de300093b20e7b224fa6daccbc938988ef810a479e745b53270215fc847caa6e0b06310a7d1c7493fc37b1ce')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i -e 's/< *0.4/<1/' -e 's/< *0.10/<1/' $pkgname.cabal
+}
+
+build() {
+cd $pkgname-$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 \
+-f-debug --ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $pkgname-$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 hasktags/repos (2 files)

2020-09-11 Thread Felix Yan via arch-commits
Date: Saturday, September 12, 2020 @ 01:42:37
  Author: felixonmars
Revision: 703058

archrelease: copy trunk to community-staging-x86_64

Added:
  hasktags/repos/community-staging-x86_64/
  hasktags/repos/community-staging-x86_64/PKGBUILD
(from rev 703057, hasktags/trunk/PKGBUILD)

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

Copied: hasktags/repos/community-staging-x86_64/PKGBUILD (from rev 703057, 
hasktags/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-12 01:42:37 UTC (rev 703058)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hasktags
+pkgver=0.71.2
+pkgrel=88
+pkgdesc="Produces ctags \"tags\" and etags \"TAGS\" files for Haskell programs"
+url="https://github.com/MarcWeber/hasktags;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-json' 'haskell-microlens-platform' 
'haskell-optparse-applicative'
+ 'haskell-utf8-string')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('649f8e74202dc08b8c37535c2fb0fefe11c55bc9de300093b20e7b224fa6daccbc938988ef810a479e745b53270215fc847caa6e0b06310a7d1c7493fc37b1ce')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i -e 's/< *0.4/<1/' -e 's/< *0.10/<1/' $pkgname.cabal
+}
+
+build() {
+cd $pkgname-$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 \
+-f-debug --ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $pkgname-$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 hasktags/repos (2 files)

2020-09-07 Thread Felix Yan via arch-commits
Date: Tuesday, September 8, 2020 @ 00:33:47
  Author: felixonmars
Revision: 700571

archrelease: copy trunk to community-staging-x86_64

Added:
  hasktags/repos/community-staging-x86_64/
  hasktags/repos/community-staging-x86_64/PKGBUILD
(from rev 700570, hasktags/trunk/PKGBUILD)

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

Copied: hasktags/repos/community-staging-x86_64/PKGBUILD (from rev 700570, 
hasktags/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-08 00:33:47 UTC (rev 700571)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hasktags
+pkgver=0.71.2
+pkgrel=87
+pkgdesc="Produces ctags \"tags\" and etags \"TAGS\" files for Haskell programs"
+url="https://github.com/MarcWeber/hasktags;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-json' 'haskell-microlens-platform' 
'haskell-optparse-applicative'
+ 'haskell-utf8-string')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('649f8e74202dc08b8c37535c2fb0fefe11c55bc9de300093b20e7b224fa6daccbc938988ef810a479e745b53270215fc847caa6e0b06310a7d1c7493fc37b1ce')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i -e 's/< *0.4/<1/' -e 's/< *0.10/<1/' $pkgname.cabal
+}
+
+build() {
+cd $pkgname-$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 \
+-f-debug --ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $pkgname-$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 hasktags/repos (2 files)

2020-09-03 Thread Felix Yan via arch-commits
Date: Friday, September 4, 2020 @ 00:08:43
  Author: felixonmars
Revision: 697815

archrelease: copy trunk to community-staging-x86_64

Added:
  hasktags/repos/community-staging-x86_64/
  hasktags/repos/community-staging-x86_64/PKGBUILD
(from rev 697814, hasktags/trunk/PKGBUILD)

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

Copied: hasktags/repos/community-staging-x86_64/PKGBUILD (from rev 697814, 
hasktags/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-09-04 00:08:43 UTC (rev 697815)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hasktags
+pkgver=0.71.2
+pkgrel=86
+pkgdesc="Produces ctags \"tags\" and etags \"TAGS\" files for Haskell programs"
+url="https://github.com/MarcWeber/hasktags;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-json' 'haskell-microlens-platform' 
'haskell-optparse-applicative'
+ 'haskell-utf8-string')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('649f8e74202dc08b8c37535c2fb0fefe11c55bc9de300093b20e7b224fa6daccbc938988ef810a479e745b53270215fc847caa6e0b06310a7d1c7493fc37b1ce')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i -e 's/< *0.4/<1/' -e 's/< *0.10/<1/' $pkgname.cabal
+}
+
+build() {
+cd $pkgname-$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 \
+-f-debug --ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $pkgname-$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 hasktags/repos (2 files)

2020-08-31 Thread Felix Yan via arch-commits
Date: Monday, August 31, 2020 @ 19:59:22
  Author: felixonmars
Revision: 694382

archrelease: copy trunk to community-staging-x86_64

Added:
  hasktags/repos/community-staging-x86_64/
  hasktags/repos/community-staging-x86_64/PKGBUILD
(from rev 694381, hasktags/trunk/PKGBUILD)

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

Copied: hasktags/repos/community-staging-x86_64/PKGBUILD (from rev 694381, 
hasktags/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-31 19:59:22 UTC (rev 694382)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hasktags
+pkgver=0.71.2
+pkgrel=85
+pkgdesc="Produces ctags \"tags\" and etags \"TAGS\" files for Haskell programs"
+url="https://github.com/MarcWeber/hasktags;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-json' 'haskell-microlens-platform' 
'haskell-optparse-applicative'
+ 'haskell-utf8-string')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('649f8e74202dc08b8c37535c2fb0fefe11c55bc9de300093b20e7b224fa6daccbc938988ef810a479e745b53270215fc847caa6e0b06310a7d1c7493fc37b1ce')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i -e 's/< *0.4/<1/' -e 's/< *0.10/<1/' $pkgname.cabal
+}
+
+build() {
+cd $pkgname-$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 \
+-f-debug --ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $pkgname-$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 hasktags/repos (2 files)

2020-08-28 Thread Felix Yan via arch-commits
Date: Saturday, August 29, 2020 @ 03:16:57
  Author: felixonmars
Revision: 691509

archrelease: copy trunk to community-staging-x86_64

Added:
  hasktags/repos/community-staging-x86_64/
  hasktags/repos/community-staging-x86_64/PKGBUILD
(from rev 691508, hasktags/trunk/PKGBUILD)

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

Copied: hasktags/repos/community-staging-x86_64/PKGBUILD (from rev 691508, 
hasktags/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-29 03:16:57 UTC (rev 691509)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hasktags
+pkgver=0.71.2
+pkgrel=84
+pkgdesc="Produces ctags \"tags\" and etags \"TAGS\" files for Haskell programs"
+url="https://github.com/MarcWeber/hasktags;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-json' 'haskell-microlens-platform' 
'haskell-optparse-applicative'
+ 'haskell-utf8-string')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('649f8e74202dc08b8c37535c2fb0fefe11c55bc9de300093b20e7b224fa6daccbc938988ef810a479e745b53270215fc847caa6e0b06310a7d1c7493fc37b1ce')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i -e 's/< *0.4/<1/' -e 's/< *0.10/<1/' $pkgname.cabal
+}
+
+build() {
+cd $pkgname-$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 \
+-f-debug --ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $pkgname-$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 hasktags/repos (2 files)

2020-08-26 Thread Felix Yan via arch-commits
Date: Wednesday, August 26, 2020 @ 23:41:44
  Author: felixonmars
Revision: 689191

archrelease: copy trunk to community-staging-x86_64

Added:
  hasktags/repos/community-staging-x86_64/
  hasktags/repos/community-staging-x86_64/PKGBUILD
(from rev 689190, hasktags/trunk/PKGBUILD)

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

Copied: hasktags/repos/community-staging-x86_64/PKGBUILD (from rev 689190, 
hasktags/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-26 23:41:44 UTC (rev 689191)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hasktags
+pkgver=0.71.2
+pkgrel=83
+pkgdesc="Produces ctags \"tags\" and etags \"TAGS\" files for Haskell programs"
+url="https://github.com/MarcWeber/hasktags;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-json' 'haskell-microlens-platform' 
'haskell-optparse-applicative'
+ 'haskell-utf8-string')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('649f8e74202dc08b8c37535c2fb0fefe11c55bc9de300093b20e7b224fa6daccbc938988ef810a479e745b53270215fc847caa6e0b06310a7d1c7493fc37b1ce')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i -e 's/< *0.4/<1/' -e 's/< *0.10/<1/' $pkgname.cabal
+}
+
+build() {
+cd $pkgname-$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 \
+-f-debug --ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $pkgname-$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 hasktags/repos (2 files)

2020-08-18 Thread Felix Yan via arch-commits
Date: Tuesday, August 18, 2020 @ 13:55:30
  Author: felixonmars
Revision: 683937

archrelease: copy trunk to community-staging-x86_64

Added:
  hasktags/repos/community-staging-x86_64/
  hasktags/repos/community-staging-x86_64/PKGBUILD
(from rev 683936, hasktags/trunk/PKGBUILD)

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

Copied: hasktags/repos/community-staging-x86_64/PKGBUILD (from rev 683936, 
hasktags/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-18 13:55:30 UTC (rev 683937)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hasktags
+pkgver=0.71.2
+pkgrel=82
+pkgdesc="Produces ctags \"tags\" and etags \"TAGS\" files for Haskell programs"
+url="https://github.com/MarcWeber/hasktags;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-json' 'haskell-microlens-platform' 
'haskell-optparse-applicative'
+ 'haskell-utf8-string')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('649f8e74202dc08b8c37535c2fb0fefe11c55bc9de300093b20e7b224fa6daccbc938988ef810a479e745b53270215fc847caa6e0b06310a7d1c7493fc37b1ce')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i -e 's/< *0.4/<1/' -e 's/< *0.10/<1/' $pkgname.cabal
+}
+
+build() {
+cd $pkgname-$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 \
+-f-debug --ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $pkgname-$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 hasktags/repos (2 files)

2020-08-16 Thread Felix Yan via arch-commits
Date: Sunday, August 16, 2020 @ 09:13:20
  Author: felixonmars
Revision: 680882

archrelease: copy trunk to community-staging-x86_64

Added:
  hasktags/repos/community-staging-x86_64/
  hasktags/repos/community-staging-x86_64/PKGBUILD
(from rev 680881, hasktags/trunk/PKGBUILD)

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

Copied: hasktags/repos/community-staging-x86_64/PKGBUILD (from rev 680881, 
hasktags/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-16 09:13:20 UTC (rev 680882)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hasktags
+pkgver=0.71.2
+pkgrel=81
+pkgdesc="Produces ctags \"tags\" and etags \"TAGS\" files for Haskell programs"
+url="https://github.com/MarcWeber/hasktags;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-json' 'haskell-microlens-platform' 
'haskell-optparse-applicative'
+ 'haskell-utf8-string')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('649f8e74202dc08b8c37535c2fb0fefe11c55bc9de300093b20e7b224fa6daccbc938988ef810a479e745b53270215fc847caa6e0b06310a7d1c7493fc37b1ce')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i -e 's/< *0.4/<1/' -e 's/< *0.10/<1/' $pkgname.cabal
+}
+
+build() {
+cd $pkgname-$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 \
+-f-debug --ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $pkgname-$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 hasktags/repos (2 files)

2020-08-14 Thread Felix Yan via arch-commits
Date: Friday, August 14, 2020 @ 08:01:13
  Author: felixonmars
Revision: 678453

archrelease: copy trunk to community-staging-x86_64

Added:
  hasktags/repos/community-staging-x86_64/
  hasktags/repos/community-staging-x86_64/PKGBUILD
(from rev 678451, hasktags/trunk/PKGBUILD)

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

Copied: hasktags/repos/community-staging-x86_64/PKGBUILD (from rev 678451, 
hasktags/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-14 08:01:13 UTC (rev 678453)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hasktags
+pkgver=0.71.2
+pkgrel=80
+pkgdesc="Produces ctags \"tags\" and etags \"TAGS\" files for Haskell programs"
+url="https://github.com/MarcWeber/hasktags;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-json' 'haskell-microlens-platform' 
'haskell-optparse-applicative'
+ 'haskell-utf8-string')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('649f8e74202dc08b8c37535c2fb0fefe11c55bc9de300093b20e7b224fa6daccbc938988ef810a479e745b53270215fc847caa6e0b06310a7d1c7493fc37b1ce')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i -e 's/< *0.4/<1/' -e 's/< *0.10/<1/' $pkgname.cabal
+}
+
+build() {
+cd $pkgname-$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 \
+-f-debug --ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $pkgname-$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 hasktags/repos (2 files)

2020-08-12 Thread Felix Yan via arch-commits
Date: Wednesday, August 12, 2020 @ 08:34:44
  Author: felixonmars
Revision: 675696

archrelease: copy trunk to community-staging-x86_64

Added:
  hasktags/repos/community-staging-x86_64/
  hasktags/repos/community-staging-x86_64/PKGBUILD
(from rev 675695, hasktags/trunk/PKGBUILD)

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

Copied: hasktags/repos/community-staging-x86_64/PKGBUILD (from rev 675695, 
hasktags/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-12 08:34:44 UTC (rev 675696)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hasktags
+pkgver=0.71.2
+pkgrel=79
+pkgdesc="Produces ctags \"tags\" and etags \"TAGS\" files for Haskell programs"
+url="https://github.com/MarcWeber/hasktags;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-json' 'haskell-microlens-platform' 
'haskell-optparse-applicative'
+ 'haskell-utf8-string')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('649f8e74202dc08b8c37535c2fb0fefe11c55bc9de300093b20e7b224fa6daccbc938988ef810a479e745b53270215fc847caa6e0b06310a7d1c7493fc37b1ce')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i -e 's/< *0.4/<1/' -e 's/< *0.10/<1/' $pkgname.cabal
+}
+
+build() {
+cd $pkgname-$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 \
+-f-debug --ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $pkgname-$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 hasktags/repos (2 files)

2020-08-01 Thread Felix Yan via arch-commits
Date: Saturday, August 1, 2020 @ 11:29:59
  Author: felixonmars
Revision: 667475

archrelease: copy trunk to community-staging-x86_64

Added:
  hasktags/repos/community-staging-x86_64/
  hasktags/repos/community-staging-x86_64/PKGBUILD
(from rev 667474, hasktags/trunk/PKGBUILD)

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

Copied: hasktags/repos/community-staging-x86_64/PKGBUILD (from rev 667474, 
hasktags/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-08-01 11:29:59 UTC (rev 667475)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hasktags
+pkgver=0.71.2
+pkgrel=77
+pkgdesc="Produces ctags \"tags\" and etags \"TAGS\" files for Haskell programs"
+url="https://github.com/MarcWeber/hasktags;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-json' 'haskell-microlens-platform' 
'haskell-optparse-applicative'
+ 'haskell-utf8-string')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('649f8e74202dc08b8c37535c2fb0fefe11c55bc9de300093b20e7b224fa6daccbc938988ef810a479e745b53270215fc847caa6e0b06310a7d1c7493fc37b1ce')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i -e 's/< *0.4/<1/' -e 's/< *0.10/<1/' $pkgname.cabal
+}
+
+build() {
+cd $pkgname-$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 \
+-f-debug --ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $pkgname-$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 hasktags/repos (2 files)

2020-06-29 Thread Felix Yan via arch-commits
Date: Monday, June 29, 2020 @ 14:38:37
  Author: felixonmars
Revision: 656392

archrelease: copy trunk to community-staging-x86_64

Added:
  hasktags/repos/community-staging-x86_64/
  hasktags/repos/community-staging-x86_64/PKGBUILD
(from rev 656391, hasktags/trunk/PKGBUILD)

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

Copied: hasktags/repos/community-staging-x86_64/PKGBUILD (from rev 656391, 
hasktags/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-06-29 14:38:37 UTC (rev 656392)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hasktags
+pkgver=0.71.2
+pkgrel=76
+pkgdesc="Produces ctags \"tags\" and etags \"TAGS\" files for Haskell programs"
+url="https://github.com/MarcWeber/hasktags;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-json' 'haskell-microlens-platform' 
'haskell-optparse-applicative'
+ 'haskell-utf8-string')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('649f8e74202dc08b8c37535c2fb0fefe11c55bc9de300093b20e7b224fa6daccbc938988ef810a479e745b53270215fc847caa6e0b06310a7d1c7493fc37b1ce')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i -e 's/< *0.4/<1/' -e 's/< *0.10/<1/' $pkgname.cabal
+}
+
+build() {
+cd $pkgname-$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 \
+-f-debug --ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $pkgname-$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 hasktags/repos (2 files)

2020-06-24 Thread Felix Yan via arch-commits
Date: Wednesday, June 24, 2020 @ 23:42:42
  Author: felixonmars
Revision: 652607

archrelease: copy trunk to community-staging-x86_64

Added:
  hasktags/repos/community-staging-x86_64/
  hasktags/repos/community-staging-x86_64/PKGBUILD
(from rev 652606, hasktags/trunk/PKGBUILD)

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

Copied: hasktags/repos/community-staging-x86_64/PKGBUILD (from rev 652606, 
hasktags/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-06-24 23:42:42 UTC (rev 652607)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hasktags
+pkgver=0.71.2
+pkgrel=74
+pkgdesc="Produces ctags \"tags\" and etags \"TAGS\" files for Haskell programs"
+url="https://github.com/MarcWeber/hasktags;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-json' 'haskell-microlens-platform' 
'haskell-optparse-applicative'
+ 'haskell-utf8-string')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('649f8e74202dc08b8c37535c2fb0fefe11c55bc9de300093b20e7b224fa6daccbc938988ef810a479e745b53270215fc847caa6e0b06310a7d1c7493fc37b1ce')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i -e 's/< *0.4/<1/' -e 's/< *0.10/<1/' $pkgname.cabal
+}
+
+build() {
+cd $pkgname-$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 \
+-f-debug --ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $pkgname-$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 hasktags/repos (2 files)

2020-06-18 Thread Felix Yan via arch-commits
Date: Thursday, June 18, 2020 @ 10:10:58
  Author: felixonmars
Revision: 646948

archrelease: copy trunk to community-staging-x86_64

Added:
  hasktags/repos/community-staging-x86_64/
  hasktags/repos/community-staging-x86_64/PKGBUILD
(from rev 646947, hasktags/trunk/PKGBUILD)

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

Copied: hasktags/repos/community-staging-x86_64/PKGBUILD (from rev 646947, 
hasktags/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-06-18 10:10:58 UTC (rev 646948)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hasktags
+pkgver=0.71.2
+pkgrel=73
+pkgdesc="Produces ctags \"tags\" and etags \"TAGS\" files for Haskell programs"
+url="https://github.com/MarcWeber/hasktags;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-json' 'haskell-microlens-platform' 
'haskell-optparse-applicative'
+ 'haskell-utf8-string')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('649f8e74202dc08b8c37535c2fb0fefe11c55bc9de300093b20e7b224fa6daccbc938988ef810a479e745b53270215fc847caa6e0b06310a7d1c7493fc37b1ce')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i -e 's/< *0.4/<1/' -e 's/< *0.10/<1/' $pkgname.cabal
+}
+
+build() {
+cd $pkgname-$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 \
+-f-debug --ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $pkgname-$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 hasktags/repos (2 files)

2020-06-14 Thread Felix Yan via arch-commits
Date: Sunday, June 14, 2020 @ 12:33:54
  Author: felixonmars
Revision: 644112

archrelease: copy trunk to community-staging-x86_64

Added:
  hasktags/repos/community-staging-x86_64/
  hasktags/repos/community-staging-x86_64/PKGBUILD
(from rev 644111, hasktags/trunk/PKGBUILD)

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

Copied: hasktags/repos/community-staging-x86_64/PKGBUILD (from rev 644111, 
hasktags/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-06-14 12:33:54 UTC (rev 644112)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hasktags
+pkgver=0.71.2
+pkgrel=72
+pkgdesc="Produces ctags \"tags\" and etags \"TAGS\" files for Haskell programs"
+url="https://github.com/MarcWeber/hasktags;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-json' 'haskell-microlens-platform' 
'haskell-optparse-applicative'
+ 'haskell-utf8-string')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('649f8e74202dc08b8c37535c2fb0fefe11c55bc9de300093b20e7b224fa6daccbc938988ef810a479e745b53270215fc847caa6e0b06310a7d1c7493fc37b1ce')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i -e 's/< *0.4/<1/' -e 's/< *0.10/<1/' $pkgname.cabal
+}
+
+build() {
+cd $pkgname-$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 \
+-f-debug --ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $pkgname-$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 hasktags/repos (2 files)

2020-05-24 Thread Felix Yan via arch-commits
Date: Sunday, May 24, 2020 @ 16:00:04
  Author: felixonmars
Revision: 632961

archrelease: copy trunk to community-staging-x86_64

Added:
  hasktags/repos/community-staging-x86_64/
  hasktags/repos/community-staging-x86_64/PKGBUILD
(from rev 632960, hasktags/trunk/PKGBUILD)

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

Copied: hasktags/repos/community-staging-x86_64/PKGBUILD (from rev 632960, 
hasktags/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-05-24 16:00:04 UTC (rev 632961)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hasktags
+pkgver=0.71.2
+pkgrel=71
+pkgdesc="Produces ctags \"tags\" and etags \"TAGS\" files for Haskell programs"
+url="https://github.com/MarcWeber/hasktags;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-json' 'haskell-microlens-platform' 
'haskell-optparse-applicative'
+ 'haskell-utf8-string')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('649f8e74202dc08b8c37535c2fb0fefe11c55bc9de300093b20e7b224fa6daccbc938988ef810a479e745b53270215fc847caa6e0b06310a7d1c7493fc37b1ce')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i -e 's/< *0.4/<1/' -e 's/< *0.10/<1/' $pkgname.cabal
+}
+
+build() {
+cd $pkgname-$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 \
+-f-debug --ghc-option='-pie'
+runhaskell Setup build $MAKEFLAGS
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $pkgname-$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 hasktags/repos (2 files)

2020-05-13 Thread Felix Yan via arch-commits
Date: Wednesday, May 13, 2020 @ 12:43:16
  Author: felixonmars
Revision: 627653

archrelease: copy trunk to community-staging-x86_64

Added:
  hasktags/repos/community-staging-x86_64/
  hasktags/repos/community-staging-x86_64/PKGBUILD
(from rev 627652, hasktags/trunk/PKGBUILD)

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

Copied: hasktags/repos/community-staging-x86_64/PKGBUILD (from rev 627652, 
hasktags/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-05-13 12:43:16 UTC (rev 627653)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hasktags
+pkgver=0.71.2
+pkgrel=70
+pkgdesc="Produces ctags \"tags\" and etags \"TAGS\" files for Haskell programs"
+url="https://github.com/MarcWeber/hasktags;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-json' 'haskell-microlens-platform' 
'haskell-optparse-applicative'
+ 'haskell-utf8-string')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('649f8e74202dc08b8c37535c2fb0fefe11c55bc9de300093b20e7b224fa6daccbc938988ef810a479e745b53270215fc847caa6e0b06310a7d1c7493fc37b1ce')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i -e 's/< *0.4/<1/' -e 's/< *0.10/<1/' $pkgname.cabal
+}
+
+build() {
+cd $pkgname-$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 \
+-f-debug --ghc-option='-pie'
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $pkgname-$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 hasktags/repos (2 files)

2020-04-24 Thread Felix Yan via arch-commits
Date: Saturday, April 25, 2020 @ 02:41:28
  Author: felixonmars
Revision: 619722

archrelease: copy trunk to community-staging-x86_64

Added:
  hasktags/repos/community-staging-x86_64/
  hasktags/repos/community-staging-x86_64/PKGBUILD
(from rev 619721, hasktags/trunk/PKGBUILD)

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

Copied: hasktags/repos/community-staging-x86_64/PKGBUILD (from rev 619721, 
hasktags/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-25 02:41:28 UTC (rev 619722)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hasktags
+pkgver=0.71.2
+pkgrel=69
+pkgdesc="Produces ctags \"tags\" and etags \"TAGS\" files for Haskell programs"
+url="https://github.com/MarcWeber/hasktags;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-json' 'haskell-microlens-platform' 
'haskell-optparse-applicative'
+ 'haskell-utf8-string')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('649f8e74202dc08b8c37535c2fb0fefe11c55bc9de300093b20e7b224fa6daccbc938988ef810a479e745b53270215fc847caa6e0b06310a7d1c7493fc37b1ce')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i -e 's/< *0.4/<1/' -e 's/< *0.10/<1/' $pkgname.cabal
+}
+
+build() {
+cd $pkgname-$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 \
+-f-debug --ghc-option='-pie'
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $pkgname-$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 hasktags/repos (2 files)

2020-04-15 Thread Felix Yan via arch-commits
Date: Thursday, April 16, 2020 @ 05:51:15
  Author: felixonmars
Revision: 615181

archrelease: copy trunk to community-staging-x86_64

Added:
  hasktags/repos/community-staging-x86_64/
  hasktags/repos/community-staging-x86_64/PKGBUILD
(from rev 615180, hasktags/trunk/PKGBUILD)

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

Copied: hasktags/repos/community-staging-x86_64/PKGBUILD (from rev 615180, 
hasktags/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-16 05:51:15 UTC (rev 615181)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hasktags
+pkgver=0.71.2
+pkgrel=68
+pkgdesc="Produces ctags \"tags\" and etags \"TAGS\" files for Haskell programs"
+url="https://github.com/MarcWeber/hasktags;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-json' 'haskell-microlens-platform' 
'haskell-optparse-applicative'
+ 'haskell-utf8-string')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('649f8e74202dc08b8c37535c2fb0fefe11c55bc9de300093b20e7b224fa6daccbc938988ef810a479e745b53270215fc847caa6e0b06310a7d1c7493fc37b1ce')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i -e 's/< *0.4/<1/' -e 's/< *0.10/<1/' $pkgname.cabal
+}
+
+build() {
+cd $pkgname-$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 \
+-f-debug --ghc-option='-pie'
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $pkgname-$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 hasktags/repos (2 files)

2020-04-08 Thread Evangelos Foutras via arch-commits
Date: Thursday, April 9, 2020 @ 00:02:22
  Author: foutrelis
Revision: 612845

archrelease: copy trunk to community-staging-x86_64

Added:
  hasktags/repos/community-staging-x86_64/
  hasktags/repos/community-staging-x86_64/PKGBUILD
(from rev 612844, hasktags/trunk/PKGBUILD)

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

Copied: hasktags/repos/community-staging-x86_64/PKGBUILD (from rev 612844, 
hasktags/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-09 00:02:22 UTC (rev 612845)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hasktags
+pkgver=0.71.2
+pkgrel=67
+pkgdesc="Produces ctags \"tags\" and etags \"TAGS\" files for Haskell programs"
+url="https://github.com/MarcWeber/hasktags;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-json' 'haskell-microlens-platform' 
'haskell-optparse-applicative'
+ 'haskell-utf8-string')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('649f8e74202dc08b8c37535c2fb0fefe11c55bc9de300093b20e7b224fa6daccbc938988ef810a479e745b53270215fc847caa6e0b06310a7d1c7493fc37b1ce')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i -e 's/< *0.4/<1/' -e 's/< *0.10/<1/' $pkgname.cabal
+}
+
+build() {
+cd $pkgname-$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 \
+-f-debug --ghc-option='-pie'
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $pkgname-$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 hasktags/repos (2 files)

2020-04-02 Thread Felix Yan via arch-commits
Date: Thursday, April 2, 2020 @ 11:45:19
  Author: felixonmars
Revision: 609536

archrelease: copy trunk to community-staging-x86_64

Added:
  hasktags/repos/community-staging-x86_64/
  hasktags/repos/community-staging-x86_64/PKGBUILD
(from rev 609535, hasktags/trunk/PKGBUILD)

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

Copied: hasktags/repos/community-staging-x86_64/PKGBUILD (from rev 609535, 
hasktags/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-02 11:45:19 UTC (rev 609536)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hasktags
+pkgver=0.71.2
+pkgrel=66
+pkgdesc="Produces ctags \"tags\" and etags \"TAGS\" files for Haskell programs"
+url="https://github.com/MarcWeber/hasktags;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-json' 'haskell-microlens-platform' 
'haskell-optparse-applicative'
+ 'haskell-utf8-string')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('649f8e74202dc08b8c37535c2fb0fefe11c55bc9de300093b20e7b224fa6daccbc938988ef810a479e745b53270215fc847caa6e0b06310a7d1c7493fc37b1ce')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i -e 's/< *0.4/<1/' -e 's/< *0.10/<1/' $pkgname.cabal
+}
+
+build() {
+cd $pkgname-$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 \
+-f-debug --ghc-option='-pie'
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $pkgname-$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 hasktags/repos (2 files)

2020-03-29 Thread Felix Yan via arch-commits
Date: Sunday, March 29, 2020 @ 22:58:27
  Author: felixonmars
Revision: 606621

archrelease: copy trunk to community-staging-x86_64

Added:
  hasktags/repos/community-staging-x86_64/
  hasktags/repos/community-staging-x86_64/PKGBUILD
(from rev 606620, hasktags/trunk/PKGBUILD)

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

Copied: hasktags/repos/community-staging-x86_64/PKGBUILD (from rev 606620, 
hasktags/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-03-29 22:58:27 UTC (rev 606621)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hasktags
+pkgver=0.71.2
+pkgrel=65
+pkgdesc="Produces ctags \"tags\" and etags \"TAGS\" files for Haskell programs"
+url="https://github.com/MarcWeber/hasktags;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-json' 'haskell-microlens-platform' 
'haskell-optparse-applicative'
+ 'haskell-utf8-string')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('649f8e74202dc08b8c37535c2fb0fefe11c55bc9de300093b20e7b224fa6daccbc938988ef810a479e745b53270215fc847caa6e0b06310a7d1c7493fc37b1ce')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i -e 's/< *0.4/<1/' -e 's/< *0.10/<1/' $pkgname.cabal
+}
+
+build() {
+cd $pkgname-$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 \
+-f-debug --ghc-option='-pie'
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $pkgname-$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 hasktags/repos (2 files)

2020-03-15 Thread Felix Yan via arch-commits
Date: Monday, March 16, 2020 @ 02:32:11
  Author: felixonmars
Revision: 599030

archrelease: copy trunk to community-staging-x86_64

Added:
  hasktags/repos/community-staging-x86_64/
  hasktags/repos/community-staging-x86_64/PKGBUILD
(from rev 599029, hasktags/trunk/PKGBUILD)

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

Copied: hasktags/repos/community-staging-x86_64/PKGBUILD (from rev 599029, 
hasktags/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-03-16 02:32:11 UTC (rev 599030)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hasktags
+pkgver=0.71.2
+pkgrel=64
+pkgdesc="Produces ctags \"tags\" and etags \"TAGS\" files for Haskell programs"
+url="https://github.com/MarcWeber/hasktags;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-json' 'haskell-microlens-platform' 
'haskell-optparse-applicative'
+ 'haskell-utf8-string')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('649f8e74202dc08b8c37535c2fb0fefe11c55bc9de300093b20e7b224fa6daccbc938988ef810a479e745b53270215fc847caa6e0b06310a7d1c7493fc37b1ce')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i -e 's/< *0.4/<1/' -e 's/< *0.10/<1/' $pkgname.cabal
+}
+
+build() {
+cd $pkgname-$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 \
+-f-debug --ghc-option='-pie'
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $pkgname-$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 hasktags/repos (2 files)

2020-03-02 Thread Felix Yan via arch-commits
Date: Monday, March 2, 2020 @ 18:48:11
  Author: felixonmars
Revision: 588675

archrelease: copy trunk to community-staging-x86_64

Added:
  hasktags/repos/community-staging-x86_64/
  hasktags/repos/community-staging-x86_64/PKGBUILD
(from rev 588674, hasktags/trunk/PKGBUILD)

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

Copied: hasktags/repos/community-staging-x86_64/PKGBUILD (from rev 588674, 
hasktags/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-03-02 18:48:11 UTC (rev 588675)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hasktags
+pkgver=0.71.2
+pkgrel=63
+pkgdesc="Produces ctags \"tags\" and etags \"TAGS\" files for Haskell programs"
+url="https://github.com/MarcWeber/hasktags;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-json' 'haskell-microlens-platform' 
'haskell-optparse-applicative'
+ 'haskell-utf8-string')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('649f8e74202dc08b8c37535c2fb0fefe11c55bc9de300093b20e7b224fa6daccbc938988ef810a479e745b53270215fc847caa6e0b06310a7d1c7493fc37b1ce')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i -e 's/< *0.4/<1/' -e 's/< *0.10/<1/' $pkgname.cabal
+}
+
+build() {
+cd $pkgname-$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 \
+-f-debug --ghc-option='-pie'
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $pkgname-$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 hasktags/repos (2 files)

2020-02-27 Thread Felix Yan via arch-commits
Date: Friday, February 28, 2020 @ 07:37:24
  Author: felixonmars
Revision: 584937

archrelease: copy trunk to community-staging-x86_64

Added:
  hasktags/repos/community-staging-x86_64/
  hasktags/repos/community-staging-x86_64/PKGBUILD
(from rev 584936, hasktags/trunk/PKGBUILD)

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

Copied: hasktags/repos/community-staging-x86_64/PKGBUILD (from rev 584936, 
hasktags/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-28 07:37:24 UTC (rev 584937)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hasktags
+pkgver=0.71.2
+pkgrel=62
+pkgdesc="Produces ctags \"tags\" and etags \"TAGS\" files for Haskell programs"
+url="https://github.com/MarcWeber/hasktags;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-json' 'haskell-microlens-platform' 
'haskell-optparse-applicative'
+ 'haskell-utf8-string')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('649f8e74202dc08b8c37535c2fb0fefe11c55bc9de300093b20e7b224fa6daccbc938988ef810a479e745b53270215fc847caa6e0b06310a7d1c7493fc37b1ce')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i -e 's/< *0.4/<1/' -e 's/< *0.10/<1/' $pkgname.cabal
+}
+
+build() {
+cd $pkgname-$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 \
+-f-debug --ghc-option='-pie'
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $pkgname-$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 hasktags/repos (2 files)

2020-02-26 Thread Felix Yan via arch-commits
Date: Wednesday, February 26, 2020 @ 12:19:04
  Author: felixonmars
Revision: 582390

archrelease: copy trunk to community-staging-x86_64

Added:
  hasktags/repos/community-staging-x86_64/
  hasktags/repos/community-staging-x86_64/PKGBUILD
(from rev 582389, hasktags/trunk/PKGBUILD)

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

Copied: hasktags/repos/community-staging-x86_64/PKGBUILD (from rev 582389, 
hasktags/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-26 12:19:04 UTC (rev 582390)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hasktags
+pkgver=0.71.2
+pkgrel=61
+pkgdesc="Produces ctags \"tags\" and etags \"TAGS\" files for Haskell programs"
+url="https://github.com/MarcWeber/hasktags;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-json' 'haskell-microlens-platform' 
'haskell-optparse-applicative'
+ 'haskell-utf8-string')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('649f8e74202dc08b8c37535c2fb0fefe11c55bc9de300093b20e7b224fa6daccbc938988ef810a479e745b53270215fc847caa6e0b06310a7d1c7493fc37b1ce')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i -e 's/< *0.4/<1/' -e 's/< *0.10/<1/' $pkgname.cabal
+}
+
+build() {
+cd $pkgname-$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 \
+-f-debug --ghc-option='-pie'
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $pkgname-$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 hasktags/repos (2 files)

2020-02-16 Thread Felix Yan via arch-commits
Date: Sunday, February 16, 2020 @ 18:37:26
  Author: felixonmars
Revision: 572758

archrelease: copy trunk to community-staging-x86_64

Added:
  hasktags/repos/community-staging-x86_64/
  hasktags/repos/community-staging-x86_64/PKGBUILD
(from rev 572757, hasktags/trunk/PKGBUILD)

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

Copied: hasktags/repos/community-staging-x86_64/PKGBUILD (from rev 572757, 
hasktags/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-16 18:37:26 UTC (rev 572758)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hasktags
+pkgver=0.71.2
+pkgrel=60
+pkgdesc="Produces ctags \"tags\" and etags \"TAGS\" files for Haskell programs"
+url="https://github.com/MarcWeber/hasktags;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-json' 'haskell-microlens-platform' 
'haskell-optparse-applicative'
+ 'haskell-utf8-string')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('649f8e74202dc08b8c37535c2fb0fefe11c55bc9de300093b20e7b224fa6daccbc938988ef810a479e745b53270215fc847caa6e0b06310a7d1c7493fc37b1ce')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i -e 's/< *0.4/<1/' -e 's/< *0.10/<1/' $pkgname.cabal
+}
+
+build() {
+cd $pkgname-$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 \
+-f-debug --ghc-option='-pie'
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $pkgname-$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 hasktags/repos (2 files)

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

archrelease: copy trunk to community-staging-x86_64

Added:
  hasktags/repos/community-staging-x86_64/
  hasktags/repos/community-staging-x86_64/PKGBUILD
(from rev 570781, hasktags/trunk/PKGBUILD)

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

Copied: hasktags/repos/community-staging-x86_64/PKGBUILD (from rev 570781, 
hasktags/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-13 18:36:02 UTC (rev 570782)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hasktags
+pkgver=0.71.2
+pkgrel=59
+pkgdesc="Produces ctags \"tags\" and etags \"TAGS\" files for Haskell programs"
+url="https://github.com/MarcWeber/hasktags;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-json' 'haskell-microlens-platform' 
'haskell-optparse-applicative'
+ 'haskell-utf8-string')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('649f8e74202dc08b8c37535c2fb0fefe11c55bc9de300093b20e7b224fa6daccbc938988ef810a479e745b53270215fc847caa6e0b06310a7d1c7493fc37b1ce')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i -e 's/< *0.4/<1/' -e 's/< *0.10/<1/' $pkgname.cabal
+}
+
+build() {
+cd $pkgname-$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 \
+-f-debug --ghc-option='-pie'
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $pkgname-$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 hasktags/repos (2 files)

2020-02-11 Thread Felix Yan via arch-commits
Date: Tuesday, February 11, 2020 @ 19:10:19
  Author: felixonmars
Revision: 567918

archrelease: copy trunk to community-staging-x86_64

Added:
  hasktags/repos/community-staging-x86_64/
  hasktags/repos/community-staging-x86_64/PKGBUILD
(from rev 567917, hasktags/trunk/PKGBUILD)

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

Copied: hasktags/repos/community-staging-x86_64/PKGBUILD (from rev 567917, 
hasktags/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-11 19:10:19 UTC (rev 567918)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hasktags
+pkgver=0.71.2
+pkgrel=58
+pkgdesc="Produces ctags \"tags\" and etags \"TAGS\" files for Haskell programs"
+url="https://github.com/MarcWeber/hasktags;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-json' 'haskell-microlens-platform' 
'haskell-optparse-applicative'
+ 'haskell-utf8-string')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('649f8e74202dc08b8c37535c2fb0fefe11c55bc9de300093b20e7b224fa6daccbc938988ef810a479e745b53270215fc847caa6e0b06310a7d1c7493fc37b1ce')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i -e 's/< *0.4/<1/' -e 's/< *0.10/<1/' $pkgname.cabal
+}
+
+build() {
+cd $pkgname-$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 \
+-f-debug --ghc-option='-pie'
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $pkgname-$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 hasktags/repos (2 files)

2020-02-11 Thread Felix Yan via arch-commits
Date: Tuesday, February 11, 2020 @ 18:09:42
  Author: felixonmars
Revision: 567856

archrelease: copy trunk to community-staging-x86_64

Added:
  hasktags/repos/community-staging-x86_64/
  hasktags/repos/community-staging-x86_64/PKGBUILD
(from rev 567855, hasktags/trunk/PKGBUILD)

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

Copied: hasktags/repos/community-staging-x86_64/PKGBUILD (from rev 567855, 
hasktags/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-11 18:09:42 UTC (rev 567856)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hasktags
+pkgver=0.71.2
+pkgrel=57
+pkgdesc="Produces ctags \"tags\" and etags \"TAGS\" files for Haskell programs"
+url="https://github.com/MarcWeber/hasktags;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-json' 'haskell-microlens-platform' 
'haskell-optparse-applicative'
+ 'haskell-utf8-string')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('649f8e74202dc08b8c37535c2fb0fefe11c55bc9de300093b20e7b224fa6daccbc938988ef810a479e745b53270215fc847caa6e0b06310a7d1c7493fc37b1ce')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i 's/< *0.4/<1/' $pkgname.cabal
+}
+
+build() {
+cd $pkgname-$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 \
+-f-debug --ghc-option='-pie'
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $pkgname-$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 hasktags/repos (2 files)

2020-02-11 Thread Felix Yan via arch-commits
Date: Tuesday, February 11, 2020 @ 13:39:25
  Author: felixonmars
Revision: 567199

archrelease: copy trunk to community-staging-x86_64

Added:
  hasktags/repos/community-staging-x86_64/
  hasktags/repos/community-staging-x86_64/PKGBUILD
(from rev 567198, hasktags/trunk/PKGBUILD)

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

Copied: hasktags/repos/community-staging-x86_64/PKGBUILD (from rev 567198, 
hasktags/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-11 13:39:25 UTC (rev 567199)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hasktags
+pkgver=0.71.2
+pkgrel=56
+pkgdesc="Produces ctags \"tags\" and etags \"TAGS\" files for Haskell programs"
+url="https://github.com/MarcWeber/hasktags;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-json' 'haskell-microlens-platform' 
'haskell-optparse-applicative'
+ 'haskell-utf8-string')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('649f8e74202dc08b8c37535c2fb0fefe11c55bc9de300093b20e7b224fa6daccbc938988ef810a479e745b53270215fc847caa6e0b06310a7d1c7493fc37b1ce')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i 's/< *0.4/<1/' $pkgname.cabal
+}
+
+build() {
+cd $pkgname-$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 \
+-f-debug --ghc-option='-pie'
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $pkgname-$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 hasktags/repos (2 files)

2020-02-08 Thread Felix Yan via arch-commits
Date: Saturday, February 8, 2020 @ 20:48:05
  Author: felixonmars
Revision: 564991

archrelease: copy trunk to community-staging-x86_64

Added:
  hasktags/repos/community-staging-x86_64/
  hasktags/repos/community-staging-x86_64/PKGBUILD
(from rev 564990, hasktags/trunk/PKGBUILD)

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

Copied: hasktags/repos/community-staging-x86_64/PKGBUILD (from rev 564990, 
hasktags/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-08 20:48:05 UTC (rev 564991)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hasktags
+pkgver=0.71.2
+pkgrel=55
+pkgdesc="Produces ctags \"tags\" and etags \"TAGS\" files for Haskell programs"
+url="https://github.com/MarcWeber/hasktags;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-json' 'haskell-microlens-platform' 
'haskell-optparse-applicative'
+ 'haskell-utf8-string')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('649f8e74202dc08b8c37535c2fb0fefe11c55bc9de300093b20e7b224fa6daccbc938988ef810a479e745b53270215fc847caa6e0b06310a7d1c7493fc37b1ce')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i 's/< *0.4/<1/' $pkgname.cabal
+}
+
+build() {
+cd $pkgname-$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 \
+-f-debug --ghc-option='-pie'
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $pkgname-$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 hasktags/repos (2 files)

2020-02-08 Thread Felix Yan via arch-commits
Date: Saturday, February 8, 2020 @ 11:58:29
  Author: felixonmars
Revision: 564053

archrelease: copy trunk to community-staging-x86_64

Added:
  hasktags/repos/community-staging-x86_64/
  hasktags/repos/community-staging-x86_64/PKGBUILD
(from rev 564052, hasktags/trunk/PKGBUILD)

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

Copied: hasktags/repos/community-staging-x86_64/PKGBUILD (from rev 564052, 
hasktags/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-02-08 11:58:29 UTC (rev 564053)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hasktags
+pkgver=0.71.2
+pkgrel=54
+pkgdesc="Produces ctags \"tags\" and etags \"TAGS\" files for Haskell programs"
+url="https://github.com/MarcWeber/hasktags;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-json' 'haskell-microlens-platform' 
'haskell-optparse-applicative'
+ 'haskell-utf8-string')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('649f8e74202dc08b8c37535c2fb0fefe11c55bc9de300093b20e7b224fa6daccbc938988ef810a479e745b53270215fc847caa6e0b06310a7d1c7493fc37b1ce')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i 's/< *0.4/<1/' $pkgname.cabal
+}
+
+build() {
+cd $pkgname-$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 \
+-f-debug --ghc-option='-pie'
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $pkgname-$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 hasktags/repos (2 files)

2020-01-29 Thread Felix Yan via arch-commits
Date: Thursday, January 30, 2020 @ 01:09:13
  Author: felixonmars
Revision: 559425

archrelease: copy trunk to community-staging-x86_64

Added:
  hasktags/repos/community-staging-x86_64/
  hasktags/repos/community-staging-x86_64/PKGBUILD
(from rev 559424, hasktags/trunk/PKGBUILD)

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

Copied: hasktags/repos/community-staging-x86_64/PKGBUILD (from rev 559424, 
hasktags/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-01-30 01:09:13 UTC (rev 559425)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hasktags
+pkgver=0.71.2
+pkgrel=53
+pkgdesc="Produces ctags \"tags\" and etags \"TAGS\" files for Haskell programs"
+url="https://github.com/MarcWeber/hasktags;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-json' 'haskell-microlens-platform' 
'haskell-optparse-applicative'
+ 'haskell-utf8-string')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('649f8e74202dc08b8c37535c2fb0fefe11c55bc9de300093b20e7b224fa6daccbc938988ef810a479e745b53270215fc847caa6e0b06310a7d1c7493fc37b1ce')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i 's/< *0.4/<1/' $pkgname.cabal
+}
+
+build() {
+cd $pkgname-$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 \
+-f-debug --ghc-option='-pie'
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $pkgname-$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 hasktags/repos (2 files)

2020-01-28 Thread Felix Yan via arch-commits
Date: Tuesday, January 28, 2020 @ 11:41:28
  Author: felixonmars
Revision: 557710

archrelease: copy trunk to community-staging-x86_64

Added:
  hasktags/repos/community-staging-x86_64/
  hasktags/repos/community-staging-x86_64/PKGBUILD
(from rev 557709, hasktags/trunk/PKGBUILD)

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

Copied: hasktags/repos/community-staging-x86_64/PKGBUILD (from rev 557709, 
hasktags/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-01-28 11:41:28 UTC (rev 557710)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hasktags
+pkgver=0.71.2
+pkgrel=52
+pkgdesc="Produces ctags \"tags\" and etags \"TAGS\" files for Haskell programs"
+url="https://github.com/MarcWeber/hasktags;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-json' 'haskell-microlens-platform' 
'haskell-optparse-applicative'
+ 'haskell-utf8-string')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('649f8e74202dc08b8c37535c2fb0fefe11c55bc9de300093b20e7b224fa6daccbc938988ef810a479e745b53270215fc847caa6e0b06310a7d1c7493fc37b1ce')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i 's/< *0.4/<1/' $pkgname.cabal
+}
+
+build() {
+cd $pkgname-$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 \
+-f-debug --ghc-option='-pie'
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $pkgname-$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 hasktags/repos (2 files)

2020-01-13 Thread Felix Yan via arch-commits
Date: Tuesday, January 14, 2020 @ 04:59:32
  Author: felixonmars
Revision: 552455

archrelease: copy trunk to community-staging-x86_64

Added:
  hasktags/repos/community-staging-x86_64/
  hasktags/repos/community-staging-x86_64/PKGBUILD
(from rev 552454, hasktags/trunk/PKGBUILD)

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

Copied: hasktags/repos/community-staging-x86_64/PKGBUILD (from rev 552454, 
hasktags/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-01-14 04:59:32 UTC (rev 552455)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hasktags
+pkgver=0.71.2
+pkgrel=51
+pkgdesc="Produces ctags \"tags\" and etags \"TAGS\" files for Haskell programs"
+url="https://github.com/MarcWeber/hasktags;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-json' 'haskell-microlens-platform' 
'haskell-optparse-applicative'
+ 'haskell-utf8-string')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('649f8e74202dc08b8c37535c2fb0fefe11c55bc9de300093b20e7b224fa6daccbc938988ef810a479e745b53270215fc847caa6e0b06310a7d1c7493fc37b1ce')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i 's/< *0.4/<1/' $pkgname.cabal
+}
+
+build() {
+cd $pkgname-$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 \
+-f-debug --ghc-option='-pie'
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $pkgname-$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 hasktags/repos (2 files)

2020-01-04 Thread Felix Yan via arch-commits
Date: Sunday, January 5, 2020 @ 03:28:46
  Author: felixonmars
Revision: 548790

archrelease: copy trunk to community-staging-x86_64

Added:
  hasktags/repos/community-staging-x86_64/
  hasktags/repos/community-staging-x86_64/PKGBUILD
(from rev 548789, hasktags/trunk/PKGBUILD)

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

Copied: hasktags/repos/community-staging-x86_64/PKGBUILD (from rev 548789, 
hasktags/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-01-05 03:28:46 UTC (rev 548790)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hasktags
+pkgver=0.71.2
+pkgrel=50
+pkgdesc="Produces ctags \"tags\" and etags \"TAGS\" files for Haskell programs"
+url="https://github.com/MarcWeber/hasktags;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-json' 'haskell-microlens-platform' 
'haskell-optparse-applicative'
+ 'haskell-utf8-string')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('649f8e74202dc08b8c37535c2fb0fefe11c55bc9de300093b20e7b224fa6daccbc938988ef810a479e745b53270215fc847caa6e0b06310a7d1c7493fc37b1ce')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i 's/< *0.4/<1/' $pkgname.cabal
+}
+
+build() {
+cd $pkgname-$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 \
+-f-debug --ghc-option='-pie'
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $pkgname-$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 hasktags/repos (2 files)

2020-01-03 Thread Felix Yan via arch-commits
Date: Friday, January 3, 2020 @ 08:15:15
  Author: felixonmars
Revision: 547069

archrelease: copy trunk to community-staging-x86_64

Added:
  hasktags/repos/community-staging-x86_64/
  hasktags/repos/community-staging-x86_64/PKGBUILD
(from rev 547068, hasktags/trunk/PKGBUILD)

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

Copied: hasktags/repos/community-staging-x86_64/PKGBUILD (from rev 547068, 
hasktags/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-01-03 08:15:15 UTC (rev 547069)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hasktags
+pkgver=0.71.2
+pkgrel=49
+pkgdesc="Produces ctags \"tags\" and etags \"TAGS\" files for Haskell programs"
+url="https://github.com/MarcWeber/hasktags;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-json' 'haskell-microlens-platform' 
'haskell-optparse-applicative'
+ 'haskell-utf8-string')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('649f8e74202dc08b8c37535c2fb0fefe11c55bc9de300093b20e7b224fa6daccbc938988ef810a479e745b53270215fc847caa6e0b06310a7d1c7493fc37b1ce')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i 's/< *0.4/<1/' $pkgname.cabal
+}
+
+build() {
+cd $pkgname-$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 \
+-f-debug --ghc-option='-pie'
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $pkgname-$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 hasktags/repos (2 files)

2019-12-30 Thread Felix Yan via arch-commits
Date: Monday, December 30, 2019 @ 19:45:17
  Author: felixonmars
Revision: 544948

archrelease: copy trunk to community-staging-x86_64

Added:
  hasktags/repos/community-staging-x86_64/
  hasktags/repos/community-staging-x86_64/PKGBUILD
(from rev 544947, hasktags/trunk/PKGBUILD)

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

Copied: hasktags/repos/community-staging-x86_64/PKGBUILD (from rev 544947, 
hasktags/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-12-30 19:45:17 UTC (rev 544948)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hasktags
+pkgver=0.71.2
+pkgrel=48
+pkgdesc="Produces ctags \"tags\" and etags \"TAGS\" files for Haskell programs"
+url="https://github.com/MarcWeber/hasktags;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-json' 'haskell-microlens-platform' 
'haskell-optparse-applicative'
+ 'haskell-utf8-string')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('649f8e74202dc08b8c37535c2fb0fefe11c55bc9de300093b20e7b224fa6daccbc938988ef810a479e745b53270215fc847caa6e0b06310a7d1c7493fc37b1ce')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i 's/< *0.4/<1/' $pkgname.cabal
+}
+
+build() {
+cd $pkgname-$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 \
+-f-debug --ghc-option='-pie'
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $pkgname-$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 hasktags/repos (2 files)

2019-12-25 Thread Felix Yan via arch-commits
Date: Thursday, December 26, 2019 @ 00:25:33
  Author: felixonmars
Revision: 541587

archrelease: copy trunk to community-staging-x86_64

Added:
  hasktags/repos/community-staging-x86_64/
  hasktags/repos/community-staging-x86_64/PKGBUILD
(from rev 541586, hasktags/trunk/PKGBUILD)

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

Copied: hasktags/repos/community-staging-x86_64/PKGBUILD (from rev 541586, 
hasktags/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-12-26 00:25:33 UTC (rev 541587)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hasktags
+pkgver=0.71.2
+pkgrel=47
+pkgdesc="Produces ctags \"tags\" and etags \"TAGS\" files for Haskell programs"
+url="https://github.com/MarcWeber/hasktags;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-json' 'haskell-microlens-platform' 
'haskell-optparse-applicative'
+ 'haskell-utf8-string')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('649f8e74202dc08b8c37535c2fb0fefe11c55bc9de300093b20e7b224fa6daccbc938988ef810a479e745b53270215fc847caa6e0b06310a7d1c7493fc37b1ce')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i 's/< *0.4/<1/' $pkgname.cabal
+}
+
+build() {
+cd $pkgname-$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 \
+-f-debug --ghc-option='-pie'
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $pkgname-$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 hasktags/repos (2 files)

2019-12-24 Thread Felix Yan via arch-commits
Date: Tuesday, December 24, 2019 @ 13:53:39
  Author: felixonmars
Revision: 539961

archrelease: copy trunk to community-staging-x86_64

Added:
  hasktags/repos/community-staging-x86_64/
  hasktags/repos/community-staging-x86_64/PKGBUILD
(from rev 539960, hasktags/trunk/PKGBUILD)

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

Copied: hasktags/repos/community-staging-x86_64/PKGBUILD (from rev 539960, 
hasktags/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-12-24 13:53:39 UTC (rev 539961)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hasktags
+pkgver=0.71.2
+pkgrel=46
+pkgdesc="Produces ctags \"tags\" and etags \"TAGS\" files for Haskell programs"
+url="https://github.com/MarcWeber/hasktags;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-json' 'haskell-microlens-platform' 
'haskell-optparse-applicative'
+ 'haskell-utf8-string')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('649f8e74202dc08b8c37535c2fb0fefe11c55bc9de300093b20e7b224fa6daccbc938988ef810a479e745b53270215fc847caa6e0b06310a7d1c7493fc37b1ce')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i 's/< *0.4/<1/' $pkgname.cabal
+}
+
+build() {
+cd $pkgname-$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 \
+-f-debug --ghc-option='-pie'
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $pkgname-$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 hasktags/repos (2 files)

2019-11-23 Thread Felix Yan via arch-commits
Date: Sunday, November 24, 2019 @ 06:50:54
  Author: felixonmars
Revision: 532616

archrelease: copy trunk to community-staging-x86_64

Added:
  hasktags/repos/community-staging-x86_64/
  hasktags/repos/community-staging-x86_64/PKGBUILD
(from rev 532615, hasktags/trunk/PKGBUILD)

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

Copied: hasktags/repos/community-staging-x86_64/PKGBUILD (from rev 532615, 
hasktags/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-11-24 06:50:54 UTC (rev 532616)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hasktags
+pkgver=0.71.2
+pkgrel=45
+pkgdesc="Produces ctags \"tags\" and etags \"TAGS\" files for Haskell programs"
+url="https://github.com/MarcWeber/hasktags;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-json' 'haskell-microlens-platform' 
'haskell-optparse-applicative'
+ 'haskell-utf8-string')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('649f8e74202dc08b8c37535c2fb0fefe11c55bc9de300093b20e7b224fa6daccbc938988ef810a479e745b53270215fc847caa6e0b06310a7d1c7493fc37b1ce')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i 's/< *0.4/<1/' $pkgname.cabal
+}
+
+build() {
+cd $pkgname-$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 \
+-f-debug --ghc-option='-pie'
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $pkgname-$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 hasktags/repos (2 files)

2019-09-03 Thread Felix Yan via arch-commits
Date: Tuesday, September 3, 2019 @ 09:03:06
  Author: felixonmars
Revision: 507330

archrelease: copy trunk to community-staging-x86_64

Added:
  hasktags/repos/community-staging-x86_64/
  hasktags/repos/community-staging-x86_64/PKGBUILD
(from rev 507329, hasktags/trunk/PKGBUILD)

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

Copied: hasktags/repos/community-staging-x86_64/PKGBUILD (from rev 507329, 
hasktags/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-09-03 09:03:06 UTC (rev 507330)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hasktags
+pkgver=0.71.2
+pkgrel=43
+pkgdesc="Produces ctags \"tags\" and etags \"TAGS\" files for Haskell programs"
+url="https://github.com/MarcWeber/hasktags;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-json' 'haskell-microlens-platform' 
'haskell-optparse-applicative'
+ 'haskell-utf8-string')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('649f8e74202dc08b8c37535c2fb0fefe11c55bc9de300093b20e7b224fa6daccbc938988ef810a479e745b53270215fc847caa6e0b06310a7d1c7493fc37b1ce')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i 's/< *0.4/<1/' $pkgname.cabal
+}
+
+build() {
+cd $pkgname-$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 \
+-f-debug
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $pkgname-$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 hasktags/repos (2 files)

2019-08-28 Thread Felix Yan via arch-commits
Date: Wednesday, August 28, 2019 @ 10:54:11
  Author: felixonmars
Revision: 503827

archrelease: copy trunk to community-staging-x86_64

Added:
  hasktags/repos/community-staging-x86_64/
  hasktags/repos/community-staging-x86_64/PKGBUILD
(from rev 503826, hasktags/trunk/PKGBUILD)

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

Copied: hasktags/repos/community-staging-x86_64/PKGBUILD (from rev 503826, 
hasktags/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-08-28 10:54:11 UTC (rev 503827)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hasktags
+pkgver=0.71.2
+pkgrel=42
+pkgdesc="Produces ctags \"tags\" and etags \"TAGS\" files for Haskell programs"
+url="https://github.com/MarcWeber/hasktags;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-json' 'haskell-microlens-platform' 
'haskell-optparse-applicative'
+ 'haskell-utf8-string')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('649f8e74202dc08b8c37535c2fb0fefe11c55bc9de300093b20e7b224fa6daccbc938988ef810a479e745b53270215fc847caa6e0b06310a7d1c7493fc37b1ce')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i 's/< *0.4/<1/' $pkgname.cabal
+}
+
+build() {
+cd $pkgname-$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 \
+-f-debug
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $pkgname-$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 hasktags/repos (2 files)

2019-08-27 Thread Felix Yan via arch-commits
Date: Tuesday, August 27, 2019 @ 12:22:04
  Author: felixonmars
Revision: 502780

archrelease: copy trunk to community-staging-x86_64

Added:
  hasktags/repos/community-staging-x86_64/
  hasktags/repos/community-staging-x86_64/PKGBUILD
(from rev 502779, hasktags/trunk/PKGBUILD)

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

Copied: hasktags/repos/community-staging-x86_64/PKGBUILD (from rev 502779, 
hasktags/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-08-27 12:22:04 UTC (rev 502780)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hasktags
+pkgver=0.71.2
+pkgrel=41
+pkgdesc="Produces ctags \"tags\" and etags \"TAGS\" files for Haskell programs"
+url="https://github.com/MarcWeber/hasktags;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-json' 'haskell-microlens-platform' 
'haskell-optparse-applicative'
+ 'haskell-utf8-string')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('649f8e74202dc08b8c37535c2fb0fefe11c55bc9de300093b20e7b224fa6daccbc938988ef810a479e745b53270215fc847caa6e0b06310a7d1c7493fc37b1ce')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i 's/< *0.4/<1/' $pkgname.cabal
+}
+
+build() {
+cd $pkgname-$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 \
+-f-debug
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $pkgname-$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 hasktags/repos (2 files)

2019-08-01 Thread Felix Yan via arch-commits
Date: Thursday, August 1, 2019 @ 10:49:29
  Author: felixonmars
Revision: 496432

archrelease: copy trunk to community-staging-x86_64

Added:
  hasktags/repos/community-staging-x86_64/
  hasktags/repos/community-staging-x86_64/PKGBUILD
(from rev 496431, hasktags/trunk/PKGBUILD)

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

Copied: hasktags/repos/community-staging-x86_64/PKGBUILD (from rev 496431, 
hasktags/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-08-01 10:49:29 UTC (rev 496432)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hasktags
+pkgver=0.71.2
+pkgrel=40
+pkgdesc="Produces ctags \"tags\" and etags \"TAGS\" files for Haskell programs"
+url="https://github.com/MarcWeber/hasktags;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-json' 'haskell-microlens-platform' 
'haskell-optparse-applicative'
+ 'haskell-utf8-string')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('649f8e74202dc08b8c37535c2fb0fefe11c55bc9de300093b20e7b224fa6daccbc938988ef810a479e745b53270215fc847caa6e0b06310a7d1c7493fc37b1ce')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i 's/< *0.4/<1/' $pkgname.cabal
+}
+
+build() {
+cd $pkgname-$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 \
+-f-debug
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test || warning "Tests failed"
+}
+
+package() {
+cd $pkgname-$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 hasktags/repos (2 files)

2019-07-28 Thread Felix Yan via arch-commits
Date: Sunday, July 28, 2019 @ 18:03:42
  Author: felixonmars
Revision: 493883

archrelease: copy trunk to community-staging-x86_64

Added:
  hasktags/repos/community-staging-x86_64/
  hasktags/repos/community-staging-x86_64/PKGBUILD
(from rev 493882, hasktags/trunk/PKGBUILD)

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

Copied: hasktags/repos/community-staging-x86_64/PKGBUILD (from rev 493882, 
hasktags/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-07-28 18:03:42 UTC (rev 493883)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hasktags
+pkgver=0.71.2
+pkgrel=39
+pkgdesc="Produces ctags \"tags\" and etags \"TAGS\" files for Haskell programs"
+url="https://github.com/MarcWeber/hasktags;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-json' 'haskell-microlens-platform' 
'haskell-optparse-applicative'
+ 'haskell-utf8-string')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('649f8e74202dc08b8c37535c2fb0fefe11c55bc9de300093b20e7b224fa6daccbc938988ef810a479e745b53270215fc847caa6e0b06310a7d1c7493fc37b1ce')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i 's/< *0.4/<1/' $pkgname.cabal
+}
+
+build() {
+cd $pkgname-$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 \
+-f-debug
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test || warning "Tests failed"
+}
+
+package() {
+cd $pkgname-$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 hasktags/repos (2 files)

2019-07-18 Thread Felix Yan via arch-commits
Date: Thursday, July 18, 2019 @ 19:28:42
  Author: felixonmars
Revision: 491886

archrelease: copy trunk to community-staging-x86_64

Added:
  hasktags/repos/community-staging-x86_64/
  hasktags/repos/community-staging-x86_64/PKGBUILD
(from rev 491885, hasktags/trunk/PKGBUILD)

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

Copied: hasktags/repos/community-staging-x86_64/PKGBUILD (from rev 491885, 
hasktags/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-07-18 19:28:42 UTC (rev 491886)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hasktags
+pkgver=0.71.2
+pkgrel=38
+pkgdesc="Produces ctags \"tags\" and etags \"TAGS\" files for Haskell programs"
+url="https://github.com/MarcWeber/hasktags;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-json' 'haskell-microlens-platform' 
'haskell-optparse-applicative'
+ 'haskell-utf8-string')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('649f8e74202dc08b8c37535c2fb0fefe11c55bc9de300093b20e7b224fa6daccbc938988ef810a479e745b53270215fc847caa6e0b06310a7d1c7493fc37b1ce')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i 's/< *0.4/<1/' $pkgname.cabal
+}
+
+build() {
+cd $pkgname-$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 \
+-f-debug
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test || warning "Tests failed"
+}
+
+package() {
+cd $pkgname-$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 hasktags/repos (2 files)

2019-07-17 Thread Felix Yan via arch-commits
Date: Thursday, July 18, 2019 @ 05:57:50
  Author: felixonmars
Revision: 490980

archrelease: copy trunk to community-staging-x86_64

Added:
  hasktags/repos/community-staging-x86_64/
  hasktags/repos/community-staging-x86_64/PKGBUILD
(from rev 490979, hasktags/trunk/PKGBUILD)

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

Copied: hasktags/repos/community-staging-x86_64/PKGBUILD (from rev 490979, 
hasktags/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-07-18 05:57:50 UTC (rev 490980)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hasktags
+pkgver=0.71.2
+pkgrel=37
+pkgdesc="Produces ctags \"tags\" and etags \"TAGS\" files for Haskell programs"
+url="https://github.com/MarcWeber/hasktags;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-json' 'haskell-microlens-platform' 
'haskell-optparse-applicative'
+ 'haskell-utf8-string')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('649f8e74202dc08b8c37535c2fb0fefe11c55bc9de300093b20e7b224fa6daccbc938988ef810a479e745b53270215fc847caa6e0b06310a7d1c7493fc37b1ce')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i 's/< *0.4/<1/' $pkgname.cabal
+}
+
+build() {
+cd $pkgname-$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 \
+-f-debug
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test || warning "Tests failed"
+}
+
+package() {
+cd $pkgname-$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 hasktags/repos (2 files)

2019-07-11 Thread Felix Yan via arch-commits
Date: Thursday, July 11, 2019 @ 08:10:38
  Author: felixonmars
Revision: 488706

archrelease: copy trunk to community-staging-x86_64

Added:
  hasktags/repos/community-staging-x86_64/
  hasktags/repos/community-staging-x86_64/PKGBUILD
(from rev 488705, hasktags/trunk/PKGBUILD)

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

Copied: hasktags/repos/community-staging-x86_64/PKGBUILD (from rev 488705, 
hasktags/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-07-11 08:10:38 UTC (rev 488706)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hasktags
+pkgver=0.71.2
+pkgrel=36
+pkgdesc="Produces ctags \"tags\" and etags \"TAGS\" files for Haskell programs"
+url="https://github.com/MarcWeber/hasktags;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-json' 'haskell-microlens-platform' 
'haskell-optparse-applicative'
+ 'haskell-utf8-string')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('649f8e74202dc08b8c37535c2fb0fefe11c55bc9de300093b20e7b224fa6daccbc938988ef810a479e745b53270215fc847caa6e0b06310a7d1c7493fc37b1ce')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i 's/< *0.4/<1/' $pkgname.cabal
+}
+
+build() {
+cd $pkgname-$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 \
+-f-debug
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test || warning "Tests failed"
+}
+
+package() {
+cd $pkgname-$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 hasktags/repos (2 files)

2019-07-09 Thread Felix Yan via arch-commits
Date: Tuesday, July 9, 2019 @ 16:13:51
  Author: felixonmars
Revision: 488269

archrelease: copy trunk to community-staging-x86_64

Added:
  hasktags/repos/community-staging-x86_64/
  hasktags/repos/community-staging-x86_64/PKGBUILD
(from rev 488268, hasktags/trunk/PKGBUILD)

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

Copied: hasktags/repos/community-staging-x86_64/PKGBUILD (from rev 488268, 
hasktags/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-07-09 16:13:51 UTC (rev 488269)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hasktags
+pkgver=0.71.2
+pkgrel=35
+pkgdesc="Produces ctags \"tags\" and etags \"TAGS\" files for Haskell programs"
+url="https://github.com/MarcWeber/hasktags;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-json' 'haskell-microlens-platform' 
'haskell-optparse-applicative'
+ 'haskell-utf8-string')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('649f8e74202dc08b8c37535c2fb0fefe11c55bc9de300093b20e7b224fa6daccbc938988ef810a479e745b53270215fc847caa6e0b06310a7d1c7493fc37b1ce')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i 's/< *0.4/<1/' $pkgname.cabal
+}
+
+build() {
+cd $pkgname-$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 \
+-f-debug
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test || warning "Tests failed"
+}
+
+package() {
+cd $pkgname-$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 hasktags/repos (2 files)

2019-07-01 Thread Felix Yan via arch-commits
Date: Monday, July 1, 2019 @ 15:20:13
  Author: felixonmars
Revision: 487107

archrelease: copy trunk to community-staging-x86_64

Added:
  hasktags/repos/community-staging-x86_64/
  hasktags/repos/community-staging-x86_64/PKGBUILD
(from rev 487106, hasktags/trunk/PKGBUILD)

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

Copied: hasktags/repos/community-staging-x86_64/PKGBUILD (from rev 487106, 
hasktags/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-07-01 15:20:13 UTC (rev 487107)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hasktags
+pkgver=0.71.2
+pkgrel=34
+pkgdesc="Produces ctags \"tags\" and etags \"TAGS\" files for Haskell programs"
+url="https://github.com/MarcWeber/hasktags;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-json' 'haskell-microlens-platform' 
'haskell-optparse-applicative'
+ 'haskell-utf8-string')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('649f8e74202dc08b8c37535c2fb0fefe11c55bc9de300093b20e7b224fa6daccbc938988ef810a479e745b53270215fc847caa6e0b06310a7d1c7493fc37b1ce')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i 's/< *0.4/<1/' $pkgname.cabal
+}
+
+build() {
+cd $pkgname-$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 \
+-f-debug
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test || warning "Tests failed"
+}
+
+package() {
+cd $pkgname-$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 hasktags/repos (2 files)

2019-06-29 Thread Felix Yan via arch-commits
Date: Sunday, June 30, 2019 @ 04:52:29
  Author: felixonmars
Revision: 486081

archrelease: copy trunk to community-staging-x86_64

Added:
  hasktags/repos/community-staging-x86_64/
  hasktags/repos/community-staging-x86_64/PKGBUILD
(from rev 486080, hasktags/trunk/PKGBUILD)

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

Copied: hasktags/repos/community-staging-x86_64/PKGBUILD (from rev 486080, 
hasktags/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-06-30 04:52:29 UTC (rev 486081)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hasktags
+pkgver=0.71.2
+pkgrel=33
+pkgdesc="Produces ctags \"tags\" and etags \"TAGS\" files for Haskell programs"
+url="https://github.com/MarcWeber/hasktags;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-json' 'haskell-microlens-platform' 
'haskell-optparse-applicative'
+ 'haskell-utf8-string')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('649f8e74202dc08b8c37535c2fb0fefe11c55bc9de300093b20e7b224fa6daccbc938988ef810a479e745b53270215fc847caa6e0b06310a7d1c7493fc37b1ce')
+
+prepare() {
+cd $pkgname-$pkgver
+sed -i 's/< *0.4/<1/' $pkgname.cabal
+}
+
+build() {
+cd $pkgname-$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 \
+-f-debug
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test || warning "Tests failed"
+}
+
+package() {
+cd $pkgname-$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 hasktags/repos (2 files)

2019-06-27 Thread Felix Yan via arch-commits
Date: Friday, June 28, 2019 @ 04:43:54
  Author: felixonmars
Revision: 485307

archrelease: copy trunk to community-staging-x86_64

Added:
  hasktags/repos/community-staging-x86_64/
  hasktags/repos/community-staging-x86_64/PKGBUILD
(from rev 485306, hasktags/trunk/PKGBUILD)

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

Copied: hasktags/repos/community-staging-x86_64/PKGBUILD (from rev 485306, 
hasktags/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-06-28 04:43:54 UTC (rev 485307)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hasktags
+pkgver=0.71.2
+pkgrel=32
+pkgdesc="Produces ctags \"tags\" and etags \"TAGS\" files for Haskell programs"
+url="https://github.com/MarcWeber/hasktags;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-json' 'haskell-microlens-platform' 
'haskell-optparse-applicative'
+ 'haskell-utf8-string')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('649f8e74202dc08b8c37535c2fb0fefe11c55bc9de300093b20e7b224fa6daccbc938988ef810a479e745b53270215fc847caa6e0b06310a7d1c7493fc37b1ce')
+
+build() {
+cd $pkgname-$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 \
+-f-debug
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test || warning "Tests failed"
+}
+
+package() {
+cd $pkgname-$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 hasktags/repos (2 files)

2019-06-10 Thread Felix Yan via arch-commits
Date: Monday, June 10, 2019 @ 06:57:26
  Author: felixonmars
Revision: 479215

archrelease: copy trunk to community-staging-x86_64

Added:
  hasktags/repos/community-staging-x86_64/
  hasktags/repos/community-staging-x86_64/PKGBUILD
(from rev 479214, hasktags/trunk/PKGBUILD)

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

Copied: hasktags/repos/community-staging-x86_64/PKGBUILD (from rev 479214, 
hasktags/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-06-10 06:57:26 UTC (rev 479215)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hasktags
+pkgver=0.71.2
+pkgrel=31
+pkgdesc="Produces ctags \"tags\" and etags \"TAGS\" files for Haskell programs"
+url="https://github.com/MarcWeber/hasktags;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-json' 'haskell-microlens-platform' 
'haskell-optparse-applicative'
+ 'haskell-utf8-string')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('649f8e74202dc08b8c37535c2fb0fefe11c55bc9de300093b20e7b224fa6daccbc938988ef810a479e745b53270215fc847caa6e0b06310a7d1c7493fc37b1ce')
+
+build() {
+cd $pkgname-$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 \
+-f-debug
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test || warning "Tests failed"
+}
+
+package() {
+cd $pkgname-$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 hasktags/repos (2 files)

2019-05-30 Thread Felix Yan via arch-commits
Date: Thursday, May 30, 2019 @ 21:59:20
  Author: felixonmars
Revision: 475343

archrelease: copy trunk to community-staging-x86_64

Added:
  hasktags/repos/community-staging-x86_64/
  hasktags/repos/community-staging-x86_64/PKGBUILD
(from rev 475342, hasktags/trunk/PKGBUILD)

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

Copied: hasktags/repos/community-staging-x86_64/PKGBUILD (from rev 475342, 
hasktags/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-05-30 21:59:20 UTC (rev 475343)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hasktags
+pkgver=0.71.2
+pkgrel=30
+pkgdesc="Produces ctags \"tags\" and etags \"TAGS\" files for Haskell programs"
+url="https://github.com/MarcWeber/hasktags;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-json' 'haskell-microlens-platform' 
'haskell-optparse-applicative'
+ 'haskell-utf8-string')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('649f8e74202dc08b8c37535c2fb0fefe11c55bc9de300093b20e7b224fa6daccbc938988ef810a479e745b53270215fc847caa6e0b06310a7d1c7493fc37b1ce')
+
+build() {
+cd $pkgname-$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 \
+-f-debug
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test || warning "Tests failed"
+}
+
+package() {
+cd $pkgname-$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 hasktags/repos (2 files)

2019-05-29 Thread Felix Yan via arch-commits
Date: Wednesday, May 29, 2019 @ 08:24:26
  Author: felixonmars
Revision: 473846

archrelease: copy trunk to community-staging-x86_64

Added:
  hasktags/repos/community-staging-x86_64/
  hasktags/repos/community-staging-x86_64/PKGBUILD
(from rev 473845, hasktags/trunk/PKGBUILD)

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

Copied: hasktags/repos/community-staging-x86_64/PKGBUILD (from rev 473845, 
hasktags/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-05-29 08:24:26 UTC (rev 473846)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hasktags
+pkgver=0.71.2
+pkgrel=29
+pkgdesc="Produces ctags \"tags\" and etags \"TAGS\" files for Haskell programs"
+url="https://github.com/MarcWeber/hasktags;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-json' 'haskell-microlens-platform' 
'haskell-optparse-applicative'
+ 'haskell-utf8-string')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('649f8e74202dc08b8c37535c2fb0fefe11c55bc9de300093b20e7b224fa6daccbc938988ef810a479e745b53270215fc847caa6e0b06310a7d1c7493fc37b1ce')
+
+build() {
+cd $pkgname-$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 \
+-f-debug
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test || warning "Tests failed"
+}
+
+package() {
+cd $pkgname-$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 hasktags/repos (2 files)

2019-05-28 Thread Felix Yan via arch-commits
Date: Tuesday, May 28, 2019 @ 08:00:09
  Author: felixonmars
Revision: 472261

archrelease: copy trunk to community-staging-x86_64

Added:
  hasktags/repos/community-staging-x86_64/
  hasktags/repos/community-staging-x86_64/PKGBUILD
(from rev 472260, hasktags/trunk/PKGBUILD)

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

Copied: hasktags/repos/community-staging-x86_64/PKGBUILD (from rev 472260, 
hasktags/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-05-28 08:00:09 UTC (rev 472261)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hasktags
+pkgver=0.71.2
+pkgrel=28
+pkgdesc="Produces ctags \"tags\" and etags \"TAGS\" files for Haskell programs"
+url="https://github.com/MarcWeber/hasktags;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-json' 'haskell-microlens-platform' 
'haskell-optparse-applicative'
+ 'haskell-utf8-string')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('649f8e74202dc08b8c37535c2fb0fefe11c55bc9de300093b20e7b224fa6daccbc938988ef810a479e745b53270215fc847caa6e0b06310a7d1c7493fc37b1ce')
+
+build() {
+cd $pkgname-$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 \
+-f-debug
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test || warning "Tests failed"
+}
+
+package() {
+cd $pkgname-$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 hasktags/repos (2 files)

2019-05-12 Thread Felix Yan via arch-commits
Date: Sunday, May 12, 2019 @ 15:27:29
  Author: felixonmars
Revision: 466614

archrelease: copy trunk to community-staging-x86_64

Added:
  hasktags/repos/community-staging-x86_64/
  hasktags/repos/community-staging-x86_64/PKGBUILD
(from rev 466613, hasktags/trunk/PKGBUILD)

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

Copied: hasktags/repos/community-staging-x86_64/PKGBUILD (from rev 466613, 
hasktags/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-05-12 15:27:29 UTC (rev 466614)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hasktags
+pkgver=0.71.2
+pkgrel=27
+pkgdesc="Produces ctags \"tags\" and etags \"TAGS\" files for Haskell programs"
+url="https://github.com/MarcWeber/hasktags;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-json' 'haskell-microlens-platform' 
'haskell-optparse-applicative'
+ 'haskell-utf8-string')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('649f8e74202dc08b8c37535c2fb0fefe11c55bc9de300093b20e7b224fa6daccbc938988ef810a479e745b53270215fc847caa6e0b06310a7d1c7493fc37b1ce')
+
+build() {
+cd $pkgname-$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 \
+-f-debug
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test || warning "Tests failed"
+}
+
+package() {
+cd $pkgname-$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 hasktags/repos (2 files)

2019-05-09 Thread Felix Yan via arch-commits
Date: Thursday, May 9, 2019 @ 07:34:30
  Author: felixonmars
Revision: 463961

archrelease: copy trunk to community-staging-x86_64

Added:
  hasktags/repos/community-staging-x86_64/
  hasktags/repos/community-staging-x86_64/PKGBUILD
(from rev 463960, hasktags/trunk/PKGBUILD)

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

Copied: hasktags/repos/community-staging-x86_64/PKGBUILD (from rev 463960, 
hasktags/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-05-09 07:34:30 UTC (rev 463961)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hasktags
+pkgver=0.71.2
+pkgrel=26
+pkgdesc="Produces ctags \"tags\" and etags \"TAGS\" files for Haskell programs"
+url="https://github.com/MarcWeber/hasktags;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-json' 'haskell-microlens-platform' 
'haskell-optparse-applicative'
+ 'haskell-utf8-string')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('649f8e74202dc08b8c37535c2fb0fefe11c55bc9de300093b20e7b224fa6daccbc938988ef810a479e745b53270215fc847caa6e0b06310a7d1c7493fc37b1ce')
+
+build() {
+cd $pkgname-$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 \
+-f-debug
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test || warning "Tests failed"
+}
+
+package() {
+cd $pkgname-$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 hasktags/repos (2 files)

2019-05-06 Thread Felix Yan via arch-commits
Date: Monday, May 6, 2019 @ 19:05:33
  Author: felixonmars
Revision: 461393

archrelease: copy trunk to community-staging-x86_64

Added:
  hasktags/repos/community-staging-x86_64/
  hasktags/repos/community-staging-x86_64/PKGBUILD
(from rev 461392, hasktags/trunk/PKGBUILD)

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

Copied: hasktags/repos/community-staging-x86_64/PKGBUILD (from rev 461392, 
hasktags/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-05-06 19:05:33 UTC (rev 461393)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hasktags
+pkgver=0.71.2
+pkgrel=25
+pkgdesc="Produces ctags \"tags\" and etags \"TAGS\" files for Haskell programs"
+url="https://github.com/MarcWeber/hasktags;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-json' 'haskell-microlens-platform' 
'haskell-optparse-applicative'
+ 'haskell-utf8-string')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('649f8e74202dc08b8c37535c2fb0fefe11c55bc9de300093b20e7b224fa6daccbc938988ef810a479e745b53270215fc847caa6e0b06310a7d1c7493fc37b1ce')
+
+build() {
+cd $pkgname-$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 \
+-f-debug
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test || warning "Tests failed"
+}
+
+package() {
+cd $pkgname-$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 hasktags/repos (2 files)

2019-05-03 Thread Felix Yan via arch-commits
Date: Friday, May 3, 2019 @ 06:19:46
  Author: felixonmars
Revision: 458328

archrelease: copy trunk to community-staging-x86_64

Added:
  hasktags/repos/community-staging-x86_64/
  hasktags/repos/community-staging-x86_64/PKGBUILD
(from rev 458327, hasktags/trunk/PKGBUILD)

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

Copied: hasktags/repos/community-staging-x86_64/PKGBUILD (from rev 458327, 
hasktags/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-05-03 06:19:46 UTC (rev 458328)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hasktags
+pkgver=0.71.2
+pkgrel=24
+pkgdesc="Produces ctags \"tags\" and etags \"TAGS\" files for Haskell programs"
+url="https://github.com/MarcWeber/hasktags;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-json' 'haskell-microlens-platform' 
'haskell-optparse-applicative'
+ 'haskell-utf8-string')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('649f8e74202dc08b8c37535c2fb0fefe11c55bc9de300093b20e7b224fa6daccbc938988ef810a479e745b53270215fc847caa6e0b06310a7d1c7493fc37b1ce')
+
+build() {
+cd $pkgname-$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 \
+-f-debug
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test || warning "Tests failed"
+}
+
+package() {
+cd $pkgname-$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 hasktags/repos (2 files)

2019-04-29 Thread Felix Yan via arch-commits
Date: Monday, April 29, 2019 @ 08:00:27
  Author: felixonmars
Revision: 455279

archrelease: copy trunk to community-staging-x86_64

Added:
  hasktags/repos/community-staging-x86_64/
  hasktags/repos/community-staging-x86_64/PKGBUILD
(from rev 455278, hasktags/trunk/PKGBUILD)

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

Copied: hasktags/repos/community-staging-x86_64/PKGBUILD (from rev 455278, 
hasktags/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-04-29 08:00:27 UTC (rev 455279)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hasktags
+pkgver=0.71.2
+pkgrel=23
+pkgdesc="Produces ctags \"tags\" and etags \"TAGS\" files for Haskell programs"
+url="https://github.com/MarcWeber/hasktags;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-json' 'haskell-microlens-platform' 
'haskell-optparse-applicative'
+ 'haskell-utf8-string')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('649f8e74202dc08b8c37535c2fb0fefe11c55bc9de300093b20e7b224fa6daccbc938988ef810a479e745b53270215fc847caa6e0b06310a7d1c7493fc37b1ce')
+
+build() {
+cd $pkgname-$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 \
+-f-debug
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test || warning "Tests failed"
+}
+
+package() {
+cd $pkgname-$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 hasktags/repos (2 files)

2019-04-04 Thread Felix Yan via arch-commits
Date: Thursday, April 4, 2019 @ 12:40:05
  Author: felixonmars
Revision: 449162

archrelease: copy trunk to community-staging-x86_64

Added:
  hasktags/repos/community-staging-x86_64/
  hasktags/repos/community-staging-x86_64/PKGBUILD
(from rev 449161, hasktags/trunk/PKGBUILD)

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

Copied: hasktags/repos/community-staging-x86_64/PKGBUILD (from rev 449161, 
hasktags/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-04-04 12:40:05 UTC (rev 449162)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hasktags
+pkgver=0.71.2
+pkgrel=22
+pkgdesc="Produces ctags \"tags\" and etags \"TAGS\" files for Haskell programs"
+url="https://github.com/MarcWeber/hasktags;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-json' 'haskell-microlens-platform' 
'haskell-optparse-applicative'
+ 'haskell-utf8-string')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('649f8e74202dc08b8c37535c2fb0fefe11c55bc9de300093b20e7b224fa6daccbc938988ef810a479e745b53270215fc847caa6e0b06310a7d1c7493fc37b1ce')
+
+build() {
+cd $pkgname-$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 \
+-f-debug
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test || warning "Tests failed"
+}
+
+package() {
+cd $pkgname-$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 hasktags/repos (2 files)

2019-04-02 Thread Felix Yan via arch-commits
Date: Tuesday, April 2, 2019 @ 14:54:38
  Author: felixonmars
Revision: 447802

archrelease: copy trunk to community-staging-x86_64

Added:
  hasktags/repos/community-staging-x86_64/
  hasktags/repos/community-staging-x86_64/PKGBUILD
(from rev 447801, hasktags/trunk/PKGBUILD)

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

Copied: hasktags/repos/community-staging-x86_64/PKGBUILD (from rev 447801, 
hasktags/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-04-02 14:54:38 UTC (rev 447802)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hasktags
+pkgver=0.71.2
+pkgrel=21
+pkgdesc="Produces ctags \"tags\" and etags \"TAGS\" files for Haskell programs"
+url="https://github.com/MarcWeber/hasktags;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-json' 'haskell-microlens-platform' 
'haskell-optparse-applicative'
+ 'haskell-utf8-string')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('649f8e74202dc08b8c37535c2fb0fefe11c55bc9de300093b20e7b224fa6daccbc938988ef810a479e745b53270215fc847caa6e0b06310a7d1c7493fc37b1ce')
+
+build() {
+cd $pkgname-$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 \
+-f-debug
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test || warning "Tests failed"
+}
+
+package() {
+cd $pkgname-$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 hasktags/repos (2 files)

2019-03-28 Thread Felix Yan via arch-commits
Date: Thursday, March 28, 2019 @ 19:11:24
  Author: felixonmars
Revision: 445573

archrelease: copy trunk to community-staging-x86_64

Added:
  hasktags/repos/community-staging-x86_64/
  hasktags/repos/community-staging-x86_64/PKGBUILD
(from rev 445572, hasktags/trunk/PKGBUILD)

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

Copied: hasktags/repos/community-staging-x86_64/PKGBUILD (from rev 445572, 
hasktags/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-03-28 19:11:24 UTC (rev 445573)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hasktags
+pkgver=0.71.2
+pkgrel=20
+pkgdesc="Produces ctags \"tags\" and etags \"TAGS\" files for Haskell programs"
+url="https://github.com/MarcWeber/hasktags;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-json' 'haskell-microlens-platform' 
'haskell-optparse-applicative'
+ 'haskell-utf8-string')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('649f8e74202dc08b8c37535c2fb0fefe11c55bc9de300093b20e7b224fa6daccbc938988ef810a479e745b53270215fc847caa6e0b06310a7d1c7493fc37b1ce')
+
+build() {
+cd $pkgname-$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 \
+-f-debug
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test || warning "Tests failed"
+}
+
+package() {
+cd $pkgname-$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 hasktags/repos (2 files)

2019-03-27 Thread Felix Yan via arch-commits
Date: Wednesday, March 27, 2019 @ 14:48:14
  Author: felixonmars
Revision: 72

archrelease: copy trunk to community-staging-x86_64

Added:
  hasktags/repos/community-staging-x86_64/
  hasktags/repos/community-staging-x86_64/PKGBUILD
(from rev 71, hasktags/trunk/PKGBUILD)

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

Copied: hasktags/repos/community-staging-x86_64/PKGBUILD (from rev 71, 
hasktags/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-03-27 14:48:14 UTC (rev 72)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hasktags
+pkgver=0.71.2
+pkgrel=19
+pkgdesc="Produces ctags \"tags\" and etags \"TAGS\" files for Haskell programs"
+url="https://github.com/MarcWeber/hasktags;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-json' 'haskell-microlens-platform' 
'haskell-optparse-applicative'
+ 'haskell-utf8-string')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('649f8e74202dc08b8c37535c2fb0fefe11c55bc9de300093b20e7b224fa6daccbc938988ef810a479e745b53270215fc847caa6e0b06310a7d1c7493fc37b1ce')
+
+build() {
+cd $pkgname-$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 \
+-f-debug
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test || warning "Tests failed"
+}
+
+package() {
+cd $pkgname-$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 hasktags/repos (2 files)

2019-03-11 Thread Felix Yan via arch-commits
Date: Monday, March 11, 2019 @ 18:42:49
  Author: felixonmars
Revision: 439806

archrelease: copy trunk to community-staging-x86_64

Added:
  hasktags/repos/community-staging-x86_64/
  hasktags/repos/community-staging-x86_64/PKGBUILD
(from rev 439805, hasktags/trunk/PKGBUILD)

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

Copied: hasktags/repos/community-staging-x86_64/PKGBUILD (from rev 439805, 
hasktags/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-03-11 18:42:49 UTC (rev 439806)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hasktags
+pkgver=0.71.2
+pkgrel=18
+pkgdesc="Produces ctags \"tags\" and etags \"TAGS\" files for Haskell programs"
+url="https://github.com/MarcWeber/hasktags;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-json' 'haskell-microlens-platform' 
'haskell-optparse-applicative'
+ 'haskell-utf8-string')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('649f8e74202dc08b8c37535c2fb0fefe11c55bc9de300093b20e7b224fa6daccbc938988ef810a479e745b53270215fc847caa6e0b06310a7d1c7493fc37b1ce')
+
+build() {
+cd $pkgname-$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 \
+-f-debug
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test || warning "Tests failed"
+}
+
+package() {
+cd $pkgname-$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 hasktags/repos (2 files)

2019-02-27 Thread Felix Yan via arch-commits
Date: Wednesday, February 27, 2019 @ 15:18:00
  Author: felixonmars
Revision: 436536

archrelease: copy trunk to community-staging-x86_64

Added:
  hasktags/repos/community-staging-x86_64/
  hasktags/repos/community-staging-x86_64/PKGBUILD
(from rev 436535, hasktags/trunk/PKGBUILD)

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

Copied: hasktags/repos/community-staging-x86_64/PKGBUILD (from rev 436535, 
hasktags/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-02-27 15:18:00 UTC (rev 436536)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hasktags
+pkgver=0.71.2
+pkgrel=17
+pkgdesc="Produces ctags \"tags\" and etags \"TAGS\" files for Haskell programs"
+url="https://github.com/MarcWeber/hasktags;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-json' 'haskell-microlens-platform' 
'haskell-optparse-applicative'
+ 'haskell-utf8-string')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('649f8e74202dc08b8c37535c2fb0fefe11c55bc9de300093b20e7b224fa6daccbc938988ef810a479e745b53270215fc847caa6e0b06310a7d1c7493fc37b1ce')
+
+build() {
+cd $pkgname-$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 \
+-f-debug
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test || warning "Tests failed"
+}
+
+package() {
+cd $pkgname-$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 hasktags/repos (2 files)

2019-02-15 Thread Felix Yan via arch-commits
Date: Friday, February 15, 2019 @ 20:06:48
  Author: felixonmars
Revision: 433009

archrelease: copy trunk to community-staging-x86_64

Added:
  hasktags/repos/community-staging-x86_64/
  hasktags/repos/community-staging-x86_64/PKGBUILD
(from rev 433008, hasktags/trunk/PKGBUILD)

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

Copied: hasktags/repos/community-staging-x86_64/PKGBUILD (from rev 433008, 
hasktags/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-02-15 20:06:48 UTC (rev 433009)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hasktags
+pkgver=0.71.2
+pkgrel=16
+pkgdesc="Produces ctags \"tags\" and etags \"TAGS\" files for Haskell programs"
+url="https://github.com/MarcWeber/hasktags;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-json' 'haskell-microlens-platform' 
'haskell-optparse-applicative'
+ 'haskell-utf8-string')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('649f8e74202dc08b8c37535c2fb0fefe11c55bc9de300093b20e7b224fa6daccbc938988ef810a479e745b53270215fc847caa6e0b06310a7d1c7493fc37b1ce')
+
+build() {
+cd $pkgname-$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 \
+-f-debug
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test || warning "Tests failed"
+}
+
+package() {
+cd $pkgname-$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 hasktags/repos (2 files)

2019-01-21 Thread Felix Yan via arch-commits
Date: Monday, January 21, 2019 @ 15:07:36
  Author: felixonmars
Revision: 426203

archrelease: copy trunk to community-staging-x86_64

Added:
  hasktags/repos/community-staging-x86_64/
  hasktags/repos/community-staging-x86_64/PKGBUILD
(from rev 426202, hasktags/trunk/PKGBUILD)

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

Copied: hasktags/repos/community-staging-x86_64/PKGBUILD (from rev 426202, 
hasktags/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-01-21 15:07:36 UTC (rev 426203)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+pkgname=hasktags
+pkgver=0.71.2
+pkgrel=15
+pkgdesc="Produces ctags \"tags\" and etags \"TAGS\" files for Haskell programs"
+url="https://github.com/MarcWeber/hasktags;
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-json' 'haskell-microlens-platform' 
'haskell-optparse-applicative'
+ 'haskell-utf8-string')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz;)
+sha512sums=('649f8e74202dc08b8c37535c2fb0fefe11c55bc9de300093b20e7b224fa6daccbc938988ef810a479e745b53270215fc847caa6e0b06310a7d1c7493fc37b1ce')
+
+build() {
+cd $pkgname-$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 \
+-f-debug
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $pkgname-$pkgver
+runhaskell Setup test || warning "Tests failed"
+}
+
+package() {
+cd $pkgname-$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"
+}


  1   2   >