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

2018-09-15 Thread Felix Yan via arch-commits
Date: Saturday, September 15, 2018 @ 08:27:50
  Author: felixonmars
Revision: 381360

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-http-types/repos/community-staging-x86_64/
  haskell-http-types/repos/community-staging-x86_64/PKGBUILD
(from rev 381359, haskell-http-types/trunk/PKGBUILD)

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

Copied: haskell-http-types/repos/community-staging-x86_64/PKGBUILD (from rev 
381359, haskell-http-types/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-09-15 08:27:50 UTC (rev 381360)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan 
+# Contributor: Daniel Nagy 
+
+_hkgname=http-types
+pkgname=haskell-http-types
+pkgver=0.12.1
+pkgrel=21
+pkgdesc="Generic HTTP types for Haskell (for both client and server code)."
+url="https://hackage.haskell.org/package/${_hkgname};
+license=('custom:BSD3')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-case-insensitive')
+makedepends=('ghc' 'haskell-doctest' 'haskell-hspec' 'haskell-quickcheck'
+ 'haskell-quickcheck-instances')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('6c5b03eb55c6cdbee43218519b712156e4c73b7feb57ffe105becb5796650c78da75080a1993d951743ce079d21fcfd4c64f60d62a51298a7206014260dfb3fb')
+
+build() {
+cd $_hkgname-$pkgver
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
-fnetwork-uri
+runhaskell Setup build
+runhaskell Setup register   --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2018-09-10 Thread Felix Yan via arch-commits
Date: Monday, September 10, 2018 @ 10:56:39
  Author: felixonmars
Revision: 379097

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-http-types/repos/community-staging-x86_64/
  haskell-http-types/repos/community-staging-x86_64/PKGBUILD
(from rev 379096, haskell-http-types/trunk/PKGBUILD)

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

Copied: haskell-http-types/repos/community-staging-x86_64/PKGBUILD (from rev 
379096, haskell-http-types/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-09-10 10:56:39 UTC (rev 379097)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Daniel Nagy 
+
+_hkgname=http-types
+pkgname=haskell-http-types
+pkgver=0.12.1
+pkgrel=20
+pkgdesc="Generic HTTP types for Haskell (for both client and server code)."
+url="https://hackage.haskell.org/package/${_hkgname};
+license=('custom:BSD3')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-case-insensitive')
+makedepends=('ghc' 'haskell-doctest' 'haskell-hspec' 'haskell-quickcheck'
+ 'haskell-quickcheck-instances')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('6c5b03eb55c6cdbee43218519b712156e4c73b7feb57ffe105becb5796650c78da75080a1993d951743ce079d21fcfd4c64f60d62a51298a7206014260dfb3fb')
+
+build() {
+cd $_hkgname-$pkgver
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
-fnetwork-uri
+runhaskell Setup build
+runhaskell Setup register   --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2018-09-06 Thread Felix Yan via arch-commits
Date: Thursday, September 6, 2018 @ 09:26:22
  Author: felixonmars
Revision: 377456

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-http-types/repos/community-staging-x86_64/
  haskell-http-types/repos/community-staging-x86_64/PKGBUILD
(from rev 377455, haskell-http-types/trunk/PKGBUILD)

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

Copied: haskell-http-types/repos/community-staging-x86_64/PKGBUILD (from rev 
377455, haskell-http-types/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-09-06 09:26:22 UTC (rev 377456)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Daniel Nagy 
+
+_hkgname=http-types
+pkgname=haskell-http-types
+pkgver=0.12.1
+pkgrel=19
+pkgdesc="Generic HTTP types for Haskell (for both client and server code)."
+url="https://hackage.haskell.org/package/${_hkgname};
+license=('custom:BSD3')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-case-insensitive')
+makedepends=('ghc' 'haskell-doctest' 'haskell-hspec' 'haskell-quickcheck'
+ 'haskell-quickcheck-instances')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('6c5b03eb55c6cdbee43218519b712156e4c73b7feb57ffe105becb5796650c78da75080a1993d951743ce079d21fcfd4c64f60d62a51298a7206014260dfb3fb')
+
+build() {
+cd $_hkgname-$pkgver
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
-fnetwork-uri
+runhaskell Setup build
+runhaskell Setup register   --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2018-07-28 Thread Felix Yan via arch-commits
Date: Sunday, July 29, 2018 @ 04:56:21
  Author: felixonmars
Revision: 364084

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-http-types/repos/community-staging-x86_64/
  haskell-http-types/repos/community-staging-x86_64/PKGBUILD
(from rev 364083, haskell-http-types/trunk/PKGBUILD)

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

Copied: haskell-http-types/repos/community-staging-x86_64/PKGBUILD (from rev 
364083, haskell-http-types/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-07-29 04:56:21 UTC (rev 364084)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Daniel Nagy 
+
+_hkgname=http-types
+pkgname=haskell-http-types
+pkgver=0.12.1
+pkgrel=18
+pkgdesc="Generic HTTP types for Haskell (for both client and server code)."
+url="https://hackage.haskell.org/package/${_hkgname};
+license=('custom:BSD3')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-case-insensitive')
+makedepends=('ghc' 'haskell-doctest' 'haskell-hspec' 'haskell-quickcheck'
+ 'haskell-quickcheck-instances')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('6c5b03eb55c6cdbee43218519b712156e4c73b7feb57ffe105becb5796650c78da75080a1993d951743ce079d21fcfd4c64f60d62a51298a7206014260dfb3fb')
+
+build() {
+cd $_hkgname-$pkgver
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
-fnetwork-uri
+runhaskell Setup build
+runhaskell Setup register   --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2018-07-17 Thread Felix Yan via arch-commits
Date: Wednesday, July 18, 2018 @ 02:37:28
  Author: felixonmars
Revision: 361533

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-http-types/repos/community-staging-x86_64/
  haskell-http-types/repos/community-staging-x86_64/PKGBUILD
(from rev 361532, haskell-http-types/trunk/PKGBUILD)

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

Copied: haskell-http-types/repos/community-staging-x86_64/PKGBUILD (from rev 
361532, haskell-http-types/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-07-18 02:37:28 UTC (rev 361533)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Daniel Nagy 
+
+_hkgname=http-types
+pkgname=haskell-http-types
+pkgver=0.12.1
+pkgrel=17
+pkgdesc="Generic HTTP types for Haskell (for both client and server code)."
+url="https://hackage.haskell.org/package/${_hkgname};
+license=('custom:BSD3')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-case-insensitive')
+makedepends=('ghc' 'haskell-doctest' 'haskell-hspec' 'haskell-quickcheck'
+ 'haskell-quickcheck-instances')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('6c5b03eb55c6cdbee43218519b712156e4c73b7feb57ffe105becb5796650c78da75080a1993d951743ce079d21fcfd4c64f60d62a51298a7206014260dfb3fb')
+
+build() {
+cd $_hkgname-$pkgver
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
-fnetwork-uri
+runhaskell Setup build
+runhaskell Setup register   --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2018-07-17 Thread Felix Yan via arch-commits
Date: Tuesday, July 17, 2018 @ 11:31:35
  Author: felixonmars
Revision: 360704

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-http-types/repos/community-staging-x86_64/
  haskell-http-types/repos/community-staging-x86_64/PKGBUILD
(from rev 360703, haskell-http-types/trunk/PKGBUILD)

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

Copied: haskell-http-types/repos/community-staging-x86_64/PKGBUILD (from rev 
360703, haskell-http-types/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-07-17 11:31:35 UTC (rev 360704)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Daniel Nagy 
+
+_hkgname=http-types
+pkgname=haskell-http-types
+pkgver=0.12.1
+pkgrel=16
+pkgdesc="Generic HTTP types for Haskell (for both client and server code)."
+url="https://hackage.haskell.org/package/${_hkgname};
+license=('custom:BSD3')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-case-insensitive')
+makedepends=('ghc' 'haskell-doctest' 'haskell-hspec' 'haskell-quickcheck'
+ 'haskell-quickcheck-instances')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('6c5b03eb55c6cdbee43218519b712156e4c73b7feb57ffe105becb5796650c78da75080a1993d951743ce079d21fcfd4c64f60d62a51298a7206014260dfb3fb')
+
+build() {
+cd $_hkgname-$pkgver
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
-fnetwork-uri
+runhaskell Setup build
+runhaskell Setup register   --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2018-07-11 Thread Felix Yan via arch-commits
Date: Wednesday, July 11, 2018 @ 10:23:09
  Author: felixonmars
Revision: 357173

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-http-types/repos/community-staging-x86_64/
  haskell-http-types/repos/community-staging-x86_64/PKGBUILD
(from rev 357172, haskell-http-types/trunk/PKGBUILD)

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

Copied: haskell-http-types/repos/community-staging-x86_64/PKGBUILD (from rev 
357172, haskell-http-types/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-07-11 10:23:09 UTC (rev 357173)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Daniel Nagy 
+
+_hkgname=http-types
+pkgname=haskell-http-types
+pkgver=0.12.1
+pkgrel=15
+pkgdesc="Generic HTTP types for Haskell (for both client and server code)."
+url="https://hackage.haskell.org/package/${_hkgname};
+license=('custom:BSD3')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-case-insensitive')
+makedepends=('ghc' 'haskell-doctest' 'haskell-hspec' 'haskell-quickcheck'
+ 'haskell-quickcheck-instances')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('6c5b03eb55c6cdbee43218519b712156e4c73b7feb57ffe105becb5796650c78da75080a1993d951743ce079d21fcfd4c64f60d62a51298a7206014260dfb3fb')
+
+build() {
+cd $_hkgname-$pkgver
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
-fnetwork-uri
+runhaskell Setup build
+runhaskell Setup register   --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2018-07-10 Thread Felix Yan via arch-commits
Date: Tuesday, July 10, 2018 @ 16:02:23
  Author: felixonmars
Revision: 356243

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-http-types/repos/community-staging-x86_64/
  haskell-http-types/repos/community-staging-x86_64/PKGBUILD
(from rev 356242, haskell-http-types/trunk/PKGBUILD)

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

Copied: haskell-http-types/repos/community-staging-x86_64/PKGBUILD (from rev 
356242, haskell-http-types/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-07-10 16:02:23 UTC (rev 356243)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Daniel Nagy 
+
+_hkgname=http-types
+pkgname=haskell-http-types
+pkgver=0.12.1
+pkgrel=14
+pkgdesc="Generic HTTP types for Haskell (for both client and server code)."
+url="https://hackage.haskell.org/package/${_hkgname};
+license=('custom:BSD3')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-case-insensitive')
+makedepends=('ghc' 'haskell-doctest' 'haskell-hspec' 'haskell-quickcheck'
+ 'haskell-quickcheck-instances')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('6c5b03eb55c6cdbee43218519b712156e4c73b7feb57ffe105becb5796650c78da75080a1993d951743ce079d21fcfd4c64f60d62a51298a7206014260dfb3fb')
+
+build() {
+cd $_hkgname-$pkgver
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
-fnetwork-uri
+runhaskell Setup build
+runhaskell Setup register   --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2018-07-06 Thread Felix Yan via arch-commits
Date: Friday, July 6, 2018 @ 15:08:21
  Author: felixonmars
Revision: 353758

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-http-types/repos/community-staging-x86_64/
  haskell-http-types/repos/community-staging-x86_64/PKGBUILD
(from rev 353757, haskell-http-types/trunk/PKGBUILD)

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

Copied: haskell-http-types/repos/community-staging-x86_64/PKGBUILD (from rev 
353757, haskell-http-types/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-07-06 15:08:21 UTC (rev 353758)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Daniel Nagy 
+
+_hkgname=http-types
+pkgname=haskell-http-types
+pkgver=0.12.1
+pkgrel=13
+pkgdesc="Generic HTTP types for Haskell (for both client and server code)."
+url="https://hackage.haskell.org/package/${_hkgname};
+license=('custom:BSD3')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-case-insensitive')
+makedepends=('ghc' 'haskell-doctest' 'haskell-hspec' 'haskell-quickcheck'
+ 'haskell-quickcheck-instances')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('6c5b03eb55c6cdbee43218519b712156e4c73b7feb57ffe105becb5796650c78da75080a1993d951743ce079d21fcfd4c64f60d62a51298a7206014260dfb3fb')
+
+build() {
+cd $_hkgname-$pkgver
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
-fnetwork-uri
+runhaskell Setup build
+runhaskell Setup register   --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2018-07-03 Thread Felix Yan via arch-commits
Date: Tuesday, July 3, 2018 @ 08:15:46
  Author: felixonmars
Revision: 350595

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-http-types/repos/community-staging-x86_64/
  haskell-http-types/repos/community-staging-x86_64/PKGBUILD
(from rev 350594, haskell-http-types/trunk/PKGBUILD)

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

Copied: haskell-http-types/repos/community-staging-x86_64/PKGBUILD (from rev 
350594, haskell-http-types/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-07-03 08:15:46 UTC (rev 350595)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Daniel Nagy 
+
+_hkgname=http-types
+pkgname=haskell-http-types
+pkgver=0.12.1
+pkgrel=12
+pkgdesc="Generic HTTP types for Haskell (for both client and server code)."
+url="https://hackage.haskell.org/package/${_hkgname};
+license=('custom:BSD3')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-case-insensitive')
+makedepends=('ghc' 'haskell-doctest' 'haskell-hspec' 'haskell-quickcheck'
+ 'haskell-quickcheck-instances')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('6c5b03eb55c6cdbee43218519b712156e4c73b7feb57ffe105becb5796650c78da75080a1993d951743ce079d21fcfd4c64f60d62a51298a7206014260dfb3fb')
+
+build() {
+cd $_hkgname-$pkgver
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
-fnetwork-uri
+runhaskell Setup build
+runhaskell Setup register   --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2018-06-28 Thread Felix Yan via arch-commits
Date: Thursday, June 28, 2018 @ 13:52:17
  Author: felixonmars
Revision: 346804

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-http-types/repos/community-staging-x86_64/
  haskell-http-types/repos/community-staging-x86_64/PKGBUILD
(from rev 346803, haskell-http-types/trunk/PKGBUILD)

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

Copied: haskell-http-types/repos/community-staging-x86_64/PKGBUILD (from rev 
346803, haskell-http-types/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-06-28 13:52:17 UTC (rev 346804)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Daniel Nagy 
+
+_hkgname=http-types
+pkgname=haskell-http-types
+pkgver=0.12.1
+pkgrel=11
+pkgdesc="Generic HTTP types for Haskell (for both client and server code)."
+url="https://hackage.haskell.org/package/${_hkgname};
+license=('custom:BSD3')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-case-insensitive')
+makedepends=('ghc' 'haskell-doctest' 'haskell-hspec' 'haskell-quickcheck'
+ 'haskell-quickcheck-instances')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('6c5b03eb55c6cdbee43218519b712156e4c73b7feb57ffe105becb5796650c78da75080a1993d951743ce079d21fcfd4c64f60d62a51298a7206014260dfb3fb')
+
+build() {
+cd $_hkgname-$pkgver
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
-fnetwork-uri
+runhaskell Setup build
+runhaskell Setup register   --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2018-06-24 Thread Felix Yan via arch-commits
Date: Sunday, June 24, 2018 @ 15:08:17
  Author: felixonmars
Revision: 345125

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-http-types/repos/community-staging-x86_64/
  haskell-http-types/repos/community-staging-x86_64/PKGBUILD
(from rev 345124, haskell-http-types/trunk/PKGBUILD)

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

Copied: haskell-http-types/repos/community-staging-x86_64/PKGBUILD (from rev 
345124, haskell-http-types/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-06-24 15:08:17 UTC (rev 345125)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Daniel Nagy 
+
+_hkgname=http-types
+pkgname=haskell-http-types
+pkgver=0.12.1
+pkgrel=10
+pkgdesc="Generic HTTP types for Haskell (for both client and server code)."
+url="https://hackage.haskell.org/package/${_hkgname};
+license=('custom:BSD3')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-case-insensitive')
+makedepends=('ghc' 'haskell-doctest' 'haskell-hspec' 'haskell-quickcheck'
+ 'haskell-quickcheck-instances')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('6c5b03eb55c6cdbee43218519b712156e4c73b7feb57ffe105becb5796650c78da75080a1993d951743ce079d21fcfd4c64f60d62a51298a7206014260dfb3fb')
+
+build() {
+cd $_hkgname-$pkgver
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
-fnetwork-uri
+runhaskell Setup build
+runhaskell Setup register   --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2018-06-02 Thread Felix Yan via arch-commits
Date: Saturday, June 2, 2018 @ 14:34:05
  Author: felixonmars
Revision: 337660

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-http-types/repos/community-staging-x86_64/
  haskell-http-types/repos/community-staging-x86_64/PKGBUILD
(from rev 337658, haskell-http-types/trunk/PKGBUILD)

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

Copied: haskell-http-types/repos/community-staging-x86_64/PKGBUILD (from rev 
337658, haskell-http-types/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-06-02 14:34:05 UTC (rev 337660)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Daniel Nagy 
+
+_hkgname=http-types
+pkgname=haskell-http-types
+pkgver=0.12.1
+pkgrel=9
+pkgdesc="Generic HTTP types for Haskell (for both client and server code)."
+url="https://hackage.haskell.org/package/${_hkgname};
+license=('custom:BSD3')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-case-insensitive')
+makedepends=('ghc' 'haskell-doctest' 'haskell-hspec' 'haskell-quickcheck'
+ 'haskell-quickcheck-instances')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('6c5b03eb55c6cdbee43218519b712156e4c73b7feb57ffe105becb5796650c78da75080a1993d951743ce079d21fcfd4c64f60d62a51298a7206014260dfb3fb')
+
+build() {
+cd $_hkgname-$pkgver
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
-fnetwork-uri
+runhaskell Setup build
+runhaskell Setup register   --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2018-05-31 Thread Felix Yan via arch-commits
Date: Thursday, May 31, 2018 @ 18:46:49
  Author: felixonmars
Revision: 335211

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-http-types/repos/community-staging-x86_64/
  haskell-http-types/repos/community-staging-x86_64/PKGBUILD
(from rev 335210, haskell-http-types/trunk/PKGBUILD)

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

Copied: haskell-http-types/repos/community-staging-x86_64/PKGBUILD (from rev 
335210, haskell-http-types/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-05-31 18:46:49 UTC (rev 335211)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Daniel Nagy 
+
+_hkgname=http-types
+pkgname=haskell-http-types
+pkgver=0.12.1
+pkgrel=8
+pkgdesc="Generic HTTP types for Haskell (for both client and server code)."
+url="https://hackage.haskell.org/package/${_hkgname};
+license=('custom:BSD3')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-case-insensitive')
+makedepends=('ghc' 'haskell-doctest' 'haskell-hspec' 'haskell-quickcheck'
+ 'haskell-quickcheck-instances')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('6c5b03eb55c6cdbee43218519b712156e4c73b7feb57ffe105becb5796650c78da75080a1993d951743ce079d21fcfd4c64f60d62a51298a7206014260dfb3fb')
+
+build() {
+cd $_hkgname-$pkgver
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
-fnetwork-uri
+runhaskell Setup build
+runhaskell Setup register   --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2018-05-30 Thread Felix Yan via arch-commits
Date: Wednesday, May 30, 2018 @ 15:42:48
  Author: felixonmars
Revision: 333436

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-http-types/repos/community-staging-x86_64/
  haskell-http-types/repos/community-staging-x86_64/PKGBUILD
(from rev 333435, haskell-http-types/trunk/PKGBUILD)

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

Copied: haskell-http-types/repos/community-staging-x86_64/PKGBUILD (from rev 
333435, haskell-http-types/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-05-30 15:42:48 UTC (rev 333436)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Daniel Nagy 
+
+_hkgname=http-types
+pkgname=haskell-http-types
+pkgver=0.12.1
+pkgrel=7
+pkgdesc="Generic HTTP types for Haskell (for both client and server code)."
+url="https://hackage.haskell.org/package/${_hkgname};
+license=('custom:BSD3')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-case-insensitive')
+makedepends=('ghc' 'haskell-doctest' 'haskell-hspec' 'haskell-quickcheck'
+ 'haskell-quickcheck-instances')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('6c5b03eb55c6cdbee43218519b712156e4c73b7feb57ffe105becb5796650c78da75080a1993d951743ce079d21fcfd4c64f60d62a51298a7206014260dfb3fb')
+
+build() {
+cd $_hkgname-$pkgver
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
-fnetwork-uri
+runhaskell Setup build
+runhaskell Setup register   --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2018-05-28 Thread Felix Yan via arch-commits
Date: Monday, May 28, 2018 @ 07:19:09
  Author: felixonmars
Revision: 332256

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-http-types/repos/community-staging-x86_64/
  haskell-http-types/repos/community-staging-x86_64/PKGBUILD
(from rev 332255, haskell-http-types/trunk/PKGBUILD)

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

Copied: haskell-http-types/repos/community-staging-x86_64/PKGBUILD (from rev 
332255, haskell-http-types/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-05-28 07:19:09 UTC (rev 332256)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Daniel Nagy 
+
+_hkgname=http-types
+pkgname=haskell-http-types
+pkgver=0.12.1
+pkgrel=6
+pkgdesc="Generic HTTP types for Haskell (for both client and server code)."
+url="https://hackage.haskell.org/package/${_hkgname};
+license=('custom:BSD3')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-case-insensitive')
+makedepends=('ghc' 'haskell-doctest' 'haskell-hspec' 'haskell-quickcheck'
+ 'haskell-quickcheck-instances')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('6c5b03eb55c6cdbee43218519b712156e4c73b7feb57ffe105becb5796650c78da75080a1993d951743ce079d21fcfd4c64f60d62a51298a7206014260dfb3fb')
+
+build() {
+cd $_hkgname-$pkgver
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
-fnetwork-uri
+runhaskell Setup build
+runhaskell Setup register   --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2018-05-26 Thread Felix Yan via arch-commits
Date: Saturday, May 26, 2018 @ 17:16:23
  Author: felixonmars
Revision: 330216

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-http-types/repos/community-staging-x86_64/
  haskell-http-types/repos/community-staging-x86_64/PKGBUILD
(from rev 330215, haskell-http-types/trunk/PKGBUILD)

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

Copied: haskell-http-types/repos/community-staging-x86_64/PKGBUILD (from rev 
330215, haskell-http-types/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-05-26 17:16:23 UTC (rev 330216)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Daniel Nagy 
+
+_hkgname=http-types
+pkgname=haskell-http-types
+pkgver=0.12.1
+pkgrel=5
+pkgdesc="Generic HTTP types for Haskell (for both client and server code)."
+url="https://hackage.haskell.org/package/${_hkgname};
+license=('custom:BSD3')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-case-insensitive')
+makedepends=('ghc' 'haskell-doctest' 'haskell-hspec' 'haskell-quickcheck'
+ 'haskell-quickcheck-instances')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('6c5b03eb55c6cdbee43218519b712156e4c73b7feb57ffe105becb5796650c78da75080a1993d951743ce079d21fcfd4c64f60d62a51298a7206014260dfb3fb')
+
+build() {
+cd $_hkgname-$pkgver
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
-fnetwork-uri
+runhaskell Setup build
+runhaskell Setup register   --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2018-05-24 Thread Felix Yan via arch-commits
Date: Thursday, May 24, 2018 @ 20:56:19
  Author: felixonmars
Revision: 329175

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-http-types/repos/community-staging-x86_64/
  haskell-http-types/repos/community-staging-x86_64/PKGBUILD
(from rev 329174, haskell-http-types/trunk/PKGBUILD)

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

Copied: haskell-http-types/repos/community-staging-x86_64/PKGBUILD (from rev 
329174, haskell-http-types/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-05-24 20:56:19 UTC (rev 329175)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Daniel Nagy 
+
+_hkgname=http-types
+pkgname=haskell-http-types
+pkgver=0.12.1
+pkgrel=4
+pkgdesc="Generic HTTP types for Haskell (for both client and server code)."
+url="https://hackage.haskell.org/package/${_hkgname};
+license=('custom:BSD3')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-case-insensitive')
+makedepends=('ghc' 'haskell-doctest' 'haskell-hspec' 'haskell-quickcheck'
+ 'haskell-quickcheck-instances')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('6c5b03eb55c6cdbee43218519b712156e4c73b7feb57ffe105becb5796650c78da75080a1993d951743ce079d21fcfd4c64f60d62a51298a7206014260dfb3fb')
+
+build() {
+cd $_hkgname-$pkgver
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" --enable-tests \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
-fnetwork-uri
+runhaskell Setup build
+runhaskell Setup register   --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+check() {
+cd $_hkgname-$pkgver
+runhaskell Setup test
+}
+
+package() {
+cd $_hkgname-$pkgver
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2018-05-16 Thread Felix Yan via arch-commits
Date: Wednesday, May 16, 2018 @ 19:46:27
  Author: felixonmars
Revision: 323169

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-http-types/repos/community-staging-x86_64/
  haskell-http-types/repos/community-staging-x86_64/PKGBUILD
(from rev 323168, haskell-http-types/trunk/PKGBUILD)

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

Copied: haskell-http-types/repos/community-staging-x86_64/PKGBUILD (from rev 
323168, haskell-http-types/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-05-16 19:46:27 UTC (rev 323169)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Daniel Nagy 
+
+_hkgname=http-types
+pkgname=haskell-http-types
+pkgver=0.9.1
+pkgrel=21
+pkgdesc="Generic HTTP types for Haskell (for both client and server code)."
+url="https://hackage.haskell.org/package/${_hkgname};
+license=('custom:BSD3')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-blaze-builder' 'haskell-case-insensitive')
+makedepends=('ghc')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('b51c0f6946d1952fa0e91db1164d77ab12e0709fdf9555b53f5c25ed7c55365b433733a933dd2765ce14d0ca2685edce7573c9dbfb75ae49443b4f177d170c40')
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
-fnetwork-uri
+runhaskell Setup build
+runhaskell Setup register   --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2018-03-21 Thread Felix Yan via arch-commits
Date: Wednesday, March 21, 2018 @ 19:41:56
  Author: felixonmars
Revision: 310237

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-http-types/repos/community-staging-x86_64/
  haskell-http-types/repos/community-staging-x86_64/PKGBUILD
(from rev 310236, haskell-http-types/trunk/PKGBUILD)

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

Copied: haskell-http-types/repos/community-staging-x86_64/PKGBUILD (from rev 
310236, haskell-http-types/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-03-21 19:41:56 UTC (rev 310237)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Daniel Nagy 
+
+_hkgname=http-types
+pkgname=haskell-http-types
+pkgver=0.9.1
+pkgrel=20
+pkgdesc="Generic HTTP types for Haskell (for both client and server code)."
+url="https://hackage.haskell.org/package/${_hkgname};
+license=('custom:BSD3')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-blaze-builder' 'haskell-case-insensitive' 
'haskell-text')
+makedepends=('ghc')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('b51c0f6946d1952fa0e91db1164d77ab12e0709fdf9555b53f5c25ed7c55365b433733a933dd2765ce14d0ca2685edce7573c9dbfb75ae49443b4f177d170c40')
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
-fnetwork-uri
+runhaskell Setup build
+runhaskell Setup register   --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2018-03-21 Thread Felix Yan via arch-commits
Date: Wednesday, March 21, 2018 @ 12:32:31
  Author: felixonmars
Revision: 309874

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-http-types/repos/community-staging-x86_64/
  haskell-http-types/repos/community-staging-x86_64/PKGBUILD
(from rev 309873, haskell-http-types/trunk/PKGBUILD)

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

Copied: haskell-http-types/repos/community-staging-x86_64/PKGBUILD (from rev 
309873, haskell-http-types/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-03-21 12:32:31 UTC (rev 309874)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Daniel Nagy 
+
+_hkgname=http-types
+pkgname=haskell-http-types
+pkgver=0.9.1
+pkgrel=19
+pkgdesc="Generic HTTP types for Haskell (for both client and server code)."
+url="https://hackage.haskell.org/package/${_hkgname};
+license=('custom:BSD3')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-blaze-builder' 'haskell-case-insensitive' 
'haskell-text')
+makedepends=('ghc')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('b51c0f6946d1952fa0e91db1164d77ab12e0709fdf9555b53f5c25ed7c55365b433733a933dd2765ce14d0ca2685edce7573c9dbfb75ae49443b4f177d170c40')
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
-fnetwork-uri
+runhaskell Setup build
+runhaskell Setup register   --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2018-03-07 Thread Felix Yan via arch-commits
Date: Thursday, March 8, 2018 @ 07:41:16
  Author: felixonmars
Revision: 304342

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-http-types/repos/community-staging-x86_64/
  haskell-http-types/repos/community-staging-x86_64/PKGBUILD
(from rev 304341, haskell-http-types/trunk/PKGBUILD)

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

Copied: haskell-http-types/repos/community-staging-x86_64/PKGBUILD (from rev 
304341, haskell-http-types/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-03-08 07:41:16 UTC (rev 304342)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Daniel Nagy 
+
+_hkgname=http-types
+pkgname=haskell-http-types
+pkgver=0.9.1
+pkgrel=18
+pkgdesc="Generic HTTP types for Haskell (for both client and server code)."
+url="https://hackage.haskell.org/package/${_hkgname};
+license=('custom:BSD3')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-blaze-builder' 'haskell-case-insensitive' 
'haskell-text')
+makedepends=('ghc')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('b51c0f6946d1952fa0e91db1164d77ab12e0709fdf9555b53f5c25ed7c55365b433733a933dd2765ce14d0ca2685edce7573c9dbfb75ae49443b4f177d170c40')
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
-fnetwork-uri
+runhaskell Setup build
+runhaskell Setup register   --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2018-02-26 Thread Felix Yan via arch-commits
Date: Monday, February 26, 2018 @ 19:52:27
  Author: felixonmars
Revision: 298733

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-http-types/repos/community-staging-x86_64/
  haskell-http-types/repos/community-staging-x86_64/PKGBUILD
(from rev 298732, haskell-http-types/trunk/PKGBUILD)

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

Copied: haskell-http-types/repos/community-staging-x86_64/PKGBUILD (from rev 
298732, haskell-http-types/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-02-26 19:52:27 UTC (rev 298733)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Daniel Nagy 
+
+_hkgname=http-types
+pkgname=haskell-http-types
+pkgver=0.9.1
+pkgrel=17
+pkgdesc="Generic HTTP types for Haskell (for both client and server code)."
+url="https://hackage.haskell.org/package/${_hkgname};
+license=('custom:BSD3')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-blaze-builder' 'haskell-case-insensitive' 
'haskell-text')
+makedepends=('ghc')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('b51c0f6946d1952fa0e91db1164d77ab12e0709fdf9555b53f5c25ed7c55365b433733a933dd2765ce14d0ca2685edce7573c9dbfb75ae49443b4f177d170c40')
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
-fnetwork-uri
+runhaskell Setup build
+runhaskell Setup register   --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2017-12-28 Thread Felix Yan via arch-commits
Date: Thursday, December 28, 2017 @ 16:48:59
  Author: felixonmars
Revision: 276553

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-http-types/repos/community-staging-x86_64/
  haskell-http-types/repos/community-staging-x86_64/PKGBUILD
(from rev 276552, haskell-http-types/trunk/PKGBUILD)

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

Copied: haskell-http-types/repos/community-staging-x86_64/PKGBUILD (from rev 
276552, haskell-http-types/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2017-12-28 16:48:59 UTC (rev 276553)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Daniel Nagy 
+
+_hkgname=http-types
+pkgname=haskell-http-types
+pkgver=0.9.1
+pkgrel=16
+pkgdesc="Generic HTTP types for Haskell (for both client and server code)."
+url="https://hackage.haskell.org/package/${_hkgname};
+license=('custom:BSD3')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-blaze-builder' 'haskell-case-insensitive' 
'haskell-text')
+makedepends=('ghc')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('b51c0f6946d1952fa0e91db1164d77ab12e0709fdf9555b53f5c25ed7c55365b433733a933dd2765ce14d0ca2685edce7573c9dbfb75ae49443b4f177d170c40')
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
-fnetwork-uri
+runhaskell Setup build
+runhaskell Setup register   --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}


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

2017-11-26 Thread Felix Yan via arch-commits
Date: Monday, November 27, 2017 @ 05:10:31
  Author: felixonmars
Revision: 269157

archrelease: copy trunk to community-staging-x86_64

Added:
  haskell-http-types/repos/community-staging-x86_64/
  haskell-http-types/repos/community-staging-x86_64/PKGBUILD
(from rev 269156, haskell-http-types/trunk/PKGBUILD)

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

Copied: haskell-http-types/repos/community-staging-x86_64/PKGBUILD (from rev 
269156, haskell-http-types/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2017-11-27 05:10:31 UTC (rev 269157)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Daniel Nagy 
+
+_hkgname=http-types
+pkgname=haskell-http-types
+pkgver=0.9.1
+pkgrel=15
+pkgdesc="Generic HTTP types for Haskell (for both client and server code)."
+url="https://hackage.haskell.org/package/${_hkgname};
+license=('custom:BSD3')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-blaze-builder' 'haskell-case-insensitive' 
'haskell-text')
+makedepends=('ghc')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('b51c0f6946d1952fa0e91db1164d77ab12e0709fdf9555b53f5c25ed7c55365b433733a933dd2765ce14d0ca2685edce7573c9dbfb75ae49443b4f177d170c40')
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid 
-fnetwork-uri
+runhaskell Setup build
+runhaskell Setup register   --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}