[arch-commits] Commit in haskell-text-printer/repos (4 files)

2017-09-23 Thread Felix Yan
Date: Saturday, September 23, 2017 @ 16:22:34
  Author: felixonmars
Revision: 260107

archrelease: copy trunk to community-i686, community-x86_64

Added:
  haskell-text-printer/repos/community-i686/PKGBUILD
(from rev 260106, haskell-text-printer/trunk/PKGBUILD)
  haskell-text-printer/repos/community-x86_64/PKGBUILD
(from rev 260106, haskell-text-printer/trunk/PKGBUILD)
Deleted:
  haskell-text-printer/repos/community-i686/PKGBUILD
  haskell-text-printer/repos/community-x86_64/PKGBUILD

---+
 /PKGBUILD |   76 
 community-i686/PKGBUILD   |   41 ---
 community-x86_64/PKGBUILD |   41 ---
 3 files changed, 76 insertions(+), 82 deletions(-)

Deleted: community-i686/PKGBUILD
===
--- community-i686/PKGBUILD 2017-09-23 16:21:50 UTC (rev 260106)
+++ community-i686/PKGBUILD 2017-09-23 16:22:34 UTC (rev 260107)
@@ -1,41 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan 
-
-_hkgname=text-printer
-pkgname=haskell-text-printer
-pkgver=0.5
-pkgrel=8
-pkgdesc="Abstract interface for text builders/printers."
-url="https://github.com/mvv/text-printer;
-license=('custom:BSD3')
-arch=('i686' 'x86_64')
-depends=('ghc-libs' 'haskell-semigroups' 'haskell-text' 'haskell-text-latin1')
-makedepends=('ghc')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-md5sums=('0b2ad411591847628b15f462ce22542f')
-
-build() {
-cd "${srcdir}/${_hkgname}-${pkgver}"
-
-runhaskell Setup configure -O --enable-shared --enable-executable-dynamic \
---prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
-runhaskell Setup build
-runhaskell Setup register --gen-script
-runhaskell Setup unregister --gen-script
-sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
-sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-
-package() {
-cd "${srcdir}/${_hkgname}-${pkgver}"
-
-install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
-install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
-runhaskell Setup copy --destdir="${pkgdir}"
-install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
-
-# Remove static libs
-find "$pkgdir"/usr/lib -name "*.a" -delete
-}

Copied: haskell-text-printer/repos/community-i686/PKGBUILD (from rev 260106, 
haskell-text-printer/trunk/PKGBUILD)
===
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2017-09-23 16:22:34 UTC (rev 260107)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+_hkgname=text-printer
+pkgname=haskell-text-printer
+pkgver=0.5
+pkgrel=9
+pkgdesc="Abstract interface for text builders/printers."
+url="https://github.com/mvv/text-printer;
+license=('custom:BSD3')
+arch=('i686' 'x86_64')
+depends=('ghc-libs' 'haskell-semigroups' 'haskell-text' 'haskell-text-latin1')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('08dd0e5c0256822ba58e0d27dfc3b931b69385cfb4c020b91df73c02cd723f49f5c5b0faaecd5cbeb49f3cbe95e741ff3154c331e7573e9b78b42caae218586b')
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}

Deleted: community-x86_64/PKGBUILD
===
--- community-x86_64/PKGBUILD   2017-09-23 16:21:50 UTC (rev 260106)
+++ community-x86_64/PKGBUILD   2017-09-23 16:22:34 UTC (rev 260107)
@@ -1,41 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan 
-
-_hkgname=text-printer
-pkgname=haskell-text-printer
-pkgver=0.5
-pkgrel=8

[arch-commits] Commit in haskell-text-printer/repos (4 files)

2017-08-15 Thread Felix Yan
Date: Tuesday, August 15, 2017 @ 16:04:51
  Author: felixonmars
Revision: 251024

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  haskell-text-printer/repos/community-staging-i686/
  haskell-text-printer/repos/community-staging-i686/PKGBUILD
(from rev 251021, haskell-text-printer/trunk/PKGBUILD)
  haskell-text-printer/repos/community-staging-x86_64/
  haskell-text-printer/repos/community-staging-x86_64/PKGBUILD
(from rev 251022, haskell-text-printer/trunk/PKGBUILD)

---+
 community-staging-i686/PKGBUILD   |   41 
 community-staging-x86_64/PKGBUILD |   41 
 2 files changed, 82 insertions(+)

Copied: haskell-text-printer/repos/community-staging-i686/PKGBUILD (from rev 
251021, haskell-text-printer/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2017-08-15 16:04:51 UTC (rev 251024)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+_hkgname=text-printer
+pkgname=haskell-text-printer
+pkgver=0.5
+pkgrel=8
+pkgdesc="Abstract interface for text builders/printers."
+url="https://github.com/mvv/text-printer;
+license=('custom:BSD3')
+arch=('i686' 'x86_64')
+depends=('ghc-libs' 'haskell-semigroups' 'haskell-text' 'haskell-text-latin1')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+md5sums=('0b2ad411591847628b15f462ce22542f')
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+
+# Remove static libs
+find "$pkgdir"/usr/lib -name "*.a" -delete
+}

Copied: haskell-text-printer/repos/community-staging-x86_64/PKGBUILD (from rev 
251022, haskell-text-printer/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2017-08-15 16:04:51 UTC (rev 251024)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+_hkgname=text-printer
+pkgname=haskell-text-printer
+pkgver=0.5
+pkgrel=8
+pkgdesc="Abstract interface for text builders/printers."
+url="https://github.com/mvv/text-printer;
+license=('custom:BSD3')
+arch=('i686' 'x86_64')
+depends=('ghc-libs' 'haskell-semigroups' 'haskell-text' 'haskell-text-latin1')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+md5sums=('0b2ad411591847628b15f462ce22542f')
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup register --gen-script
+runhaskell Setup unregister --gen-script
+sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+
+package() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+install -D -m744 register.sh   
"${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
+install -D -m744 unregister.sh 
"${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+
+# Remove static libs
+find "$pkgdir"/usr/lib -name "*.a" -delete
+}


[arch-commits] Commit in haskell-text-printer/repos (4 files)

2017-06-23 Thread Felix Yan
Date: Friday, June 23, 2017 @ 12:17:35
  Author: felixonmars
Revision: 240355

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  haskell-text-printer/repos/community-staging-i686/
  haskell-text-printer/repos/community-staging-i686/PKGBUILD
(from rev 240354, haskell-text-printer/trunk/PKGBUILD)
  haskell-text-printer/repos/community-staging-x86_64/
  haskell-text-printer/repos/community-staging-x86_64/PKGBUILD
(from rev 240354, haskell-text-printer/trunk/PKGBUILD)

---+
 community-staging-i686/PKGBUILD   |   43 
 community-staging-x86_64/PKGBUILD |   43 
 2 files changed, 86 insertions(+)

Copied: haskell-text-printer/repos/community-staging-i686/PKGBUILD (from rev 
240354, haskell-text-printer/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2017-06-23 12:17:35 UTC (rev 240355)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+_hkgname=text-printer
+pkgname=haskell-text-printer
+pkgver=0.5
+pkgrel=7
+pkgdesc="Abstract interface for text builders/printers."
+url="https://github.com/mvv/text-printer;
+license=('custom:BSD3')
+arch=('i686' 'x86_64')
+depends=('ghc' 'haskell-semigroups' 'haskell-text' 'haskell-text-latin1')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+md5sums=('0b2ad411591847628b15f462ce22542f')
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html || warning "haddock failed"
+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"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgname}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+
+# Remove static libs
+find "$pkgdir"/usr/lib -name "*.a" -delete
+}

Copied: haskell-text-printer/repos/community-staging-x86_64/PKGBUILD (from rev 
240354, haskell-text-printer/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2017-06-23 12:17:35 UTC (rev 240355)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+_hkgname=text-printer
+pkgname=haskell-text-printer
+pkgver=0.5
+pkgrel=7
+pkgdesc="Abstract interface for text builders/printers."
+url="https://github.com/mvv/text-printer;
+license=('custom:BSD3')
+arch=('i686' 'x86_64')
+depends=('ghc' 'haskell-semigroups' 'haskell-text' 'haskell-text-latin1')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+md5sums=('0b2ad411591847628b15f462ce22542f')
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html || warning "haddock failed"
+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"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgname}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}"
+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-text-printer/repos (4 files)

2017-06-15 Thread Felix Yan
Date: Thursday, June 15, 2017 @ 06:35:20
  Author: felixonmars
Revision: 237090

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  haskell-text-printer/repos/community-staging-i686/
  haskell-text-printer/repos/community-staging-i686/PKGBUILD
(from rev 237089, haskell-text-printer/trunk/PKGBUILD)
  haskell-text-printer/repos/community-staging-x86_64/
  haskell-text-printer/repos/community-staging-x86_64/PKGBUILD
(from rev 237089, haskell-text-printer/trunk/PKGBUILD)

---+
 community-staging-i686/PKGBUILD   |   43 
 community-staging-x86_64/PKGBUILD |   43 
 2 files changed, 86 insertions(+)

Copied: haskell-text-printer/repos/community-staging-i686/PKGBUILD (from rev 
237089, haskell-text-printer/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2017-06-15 06:35:20 UTC (rev 237090)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+_hkgname=text-printer
+pkgname=haskell-text-printer
+pkgver=0.5
+pkgrel=6
+pkgdesc="Abstract interface for text builders/printers."
+url="https://github.com/mvv/text-printer;
+license=('custom:BSD3')
+arch=('i686' 'x86_64')
+depends=('ghc' 'haskell-semigroups' 'haskell-text' 'haskell-text-latin1')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+md5sums=('0b2ad411591847628b15f462ce22542f')
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html || warning "haddock failed"
+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"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgname}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+
+# Remove static libs
+find "$pkgdir"/usr/lib -name "*.a" -delete
+}

Copied: haskell-text-printer/repos/community-staging-x86_64/PKGBUILD (from rev 
237089, haskell-text-printer/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2017-06-15 06:35:20 UTC (rev 237090)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+_hkgname=text-printer
+pkgname=haskell-text-printer
+pkgver=0.5
+pkgrel=6
+pkgdesc="Abstract interface for text builders/printers."
+url="https://github.com/mvv/text-printer;
+license=('custom:BSD3')
+arch=('i686' 'x86_64')
+depends=('ghc' 'haskell-semigroups' 'haskell-text' 'haskell-text-latin1')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+md5sums=('0b2ad411591847628b15f462ce22542f')
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-shared --enable-executable-dynamic \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html || warning "haddock failed"
+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"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgname}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+
+# Remove static libs
+find 

[arch-commits] Commit in haskell-text-printer/repos (4 files)

2017-05-30 Thread Felix Yan
Date: Tuesday, May 30, 2017 @ 13:43:50
  Author: felixonmars
Revision: 231256

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  haskell-text-printer/repos/community-staging-i686/
  haskell-text-printer/repos/community-staging-i686/PKGBUILD
(from rev 231255, haskell-text-printer/trunk/PKGBUILD)
  haskell-text-printer/repos/community-staging-x86_64/
  haskell-text-printer/repos/community-staging-x86_64/PKGBUILD
(from rev 231255, haskell-text-printer/trunk/PKGBUILD)

---+
 community-staging-i686/PKGBUILD   |   40 
 community-staging-x86_64/PKGBUILD |   40 
 2 files changed, 80 insertions(+)

Copied: haskell-text-printer/repos/community-staging-i686/PKGBUILD (from rev 
231255, haskell-text-printer/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2017-05-30 13:43:50 UTC (rev 231256)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+_hkgname=text-printer
+pkgname=haskell-text-printer
+pkgver=0.5
+pkgrel=5
+pkgdesc="Abstract interface for text builders/printers."
+url="https://github.com/mvv/text-printer;
+license=('custom:BSD3')
+arch=('i686' 'x86_64')
+depends=('ghc=8.0.1' 'haskell-semigroups' 'haskell-text' 'haskell-text-latin1')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+md5sums=('0b2ad411591847628b15f462ce22542f')
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html || warning "haddock failed"
+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"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgname}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}

Copied: haskell-text-printer/repos/community-staging-x86_64/PKGBUILD (from rev 
231255, haskell-text-printer/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2017-05-30 13:43:50 UTC (rev 231256)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+_hkgname=text-printer
+pkgname=haskell-text-printer
+pkgver=0.5
+pkgrel=5
+pkgdesc="Abstract interface for text builders/printers."
+url="https://github.com/mvv/text-printer;
+license=('custom:BSD3')
+arch=('i686' 'x86_64')
+depends=('ghc=8.0.1' 'haskell-semigroups' 'haskell-text' 'haskell-text-latin1')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+md5sums=('0b2ad411591847628b15f462ce22542f')
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html || warning "haddock failed"
+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"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgname}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}"
+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-text-printer/repos (4 files)

2017-05-22 Thread Felix Yan
Date: Monday, May 22, 2017 @ 17:14:55
  Author: felixonmars
Revision: 229239

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  haskell-text-printer/repos/community-staging-i686/
  haskell-text-printer/repos/community-staging-i686/PKGBUILD
(from rev 229238, haskell-text-printer/trunk/PKGBUILD)
  haskell-text-printer/repos/community-staging-x86_64/
  haskell-text-printer/repos/community-staging-x86_64/PKGBUILD
(from rev 229238, haskell-text-printer/trunk/PKGBUILD)

---+
 community-staging-i686/PKGBUILD   |   40 
 community-staging-x86_64/PKGBUILD |   40 
 2 files changed, 80 insertions(+)

Copied: haskell-text-printer/repos/community-staging-i686/PKGBUILD (from rev 
229238, haskell-text-printer/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2017-05-22 17:14:55 UTC (rev 229239)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+_hkgname=text-printer
+pkgname=haskell-text-printer
+pkgver=0.5
+pkgrel=4
+pkgdesc="Abstract interface for text builders/printers."
+url="https://github.com/mvv/text-printer;
+license=('custom:BSD3')
+arch=('i686' 'x86_64')
+depends=('ghc=8.0.1' 'haskell-semigroups' 'haskell-text' 'haskell-text-latin1')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+md5sums=('0b2ad411591847628b15f462ce22542f')
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html || warning "haddock failed"
+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"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgname}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}

Copied: haskell-text-printer/repos/community-staging-x86_64/PKGBUILD (from rev 
229238, haskell-text-printer/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2017-05-22 17:14:55 UTC (rev 229239)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+_hkgname=text-printer
+pkgname=haskell-text-printer
+pkgver=0.5
+pkgrel=4
+pkgdesc="Abstract interface for text builders/printers."
+url="https://github.com/mvv/text-printer;
+license=('custom:BSD3')
+arch=('i686' 'x86_64')
+depends=('ghc=8.0.1' 'haskell-semigroups' 'haskell-text' 'haskell-text-latin1')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+md5sums=('0b2ad411591847628b15f462ce22542f')
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html || warning "haddock failed"
+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"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgname}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}"
+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-text-printer/repos (4 files)

2017-04-23 Thread Felix Yan
Date: Sunday, April 23, 2017 @ 19:52:19
  Author: felixonmars
Revision: 224653

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  haskell-text-printer/repos/community-staging-i686/
  haskell-text-printer/repos/community-staging-i686/PKGBUILD
(from rev 224652, haskell-text-printer/trunk/PKGBUILD)
  haskell-text-printer/repos/community-staging-x86_64/
  haskell-text-printer/repos/community-staging-x86_64/PKGBUILD
(from rev 224652, haskell-text-printer/trunk/PKGBUILD)

---+
 community-staging-i686/PKGBUILD   |   40 
 community-staging-x86_64/PKGBUILD |   40 
 2 files changed, 80 insertions(+)

Copied: haskell-text-printer/repos/community-staging-i686/PKGBUILD (from rev 
224652, haskell-text-printer/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2017-04-23 19:52:19 UTC (rev 224653)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+_hkgname=text-printer
+pkgname=haskell-text-printer
+pkgver=0.5
+pkgrel=3
+pkgdesc="Abstract interface for text builders/printers."
+url="https://github.com/mvv/text-printer;
+license=('custom:BSD3')
+arch=('i686' 'x86_64')
+depends=('ghc=8.0.1' 'haskell-semigroups' 'haskell-text' 'haskell-text-latin1')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+md5sums=('0b2ad411591847628b15f462ce22542f')
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html || warning "haddock failed"
+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"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgname}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}

Copied: haskell-text-printer/repos/community-staging-x86_64/PKGBUILD (from rev 
224652, haskell-text-printer/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2017-04-23 19:52:19 UTC (rev 224653)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+_hkgname=text-printer
+pkgname=haskell-text-printer
+pkgver=0.5
+pkgrel=3
+pkgdesc="Abstract interface for text builders/printers."
+url="https://github.com/mvv/text-printer;
+license=('custom:BSD3')
+arch=('i686' 'x86_64')
+depends=('ghc=8.0.1' 'haskell-semigroups' 'haskell-text' 'haskell-text-latin1')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+md5sums=('0b2ad411591847628b15f462ce22542f')
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html || warning "haddock failed"
+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"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgname}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}"
+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-text-printer/repos (4 files)

2017-04-17 Thread Felix Yan
Date: Monday, April 17, 2017 @ 15:12:30
  Author: felixonmars
Revision: 223483

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  haskell-text-printer/repos/community-staging-i686/
  haskell-text-printer/repos/community-staging-i686/PKGBUILD
(from rev 223482, haskell-text-printer/trunk/PKGBUILD)
  haskell-text-printer/repos/community-staging-x86_64/
  haskell-text-printer/repos/community-staging-x86_64/PKGBUILD
(from rev 223482, haskell-text-printer/trunk/PKGBUILD)

---+
 community-staging-i686/PKGBUILD   |   40 
 community-staging-x86_64/PKGBUILD |   40 
 2 files changed, 80 insertions(+)

Copied: haskell-text-printer/repos/community-staging-i686/PKGBUILD (from rev 
223482, haskell-text-printer/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2017-04-17 15:12:30 UTC (rev 223483)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+_hkgname=text-printer
+pkgname=haskell-text-printer
+pkgver=0.5
+pkgrel=2
+pkgdesc="Abstract interface for text builders/printers."
+url="https://github.com/mvv/text-printer;
+license=('custom:BSD3')
+arch=('i686' 'x86_64')
+depends=('ghc=8.0.1' 'haskell-semigroups' 'haskell-text' 'haskell-text-latin1')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+md5sums=('0b2ad411591847628b15f462ce22542f')
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html || warning "haddock failed"
+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"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgname}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}

Copied: haskell-text-printer/repos/community-staging-x86_64/PKGBUILD (from rev 
223482, haskell-text-printer/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2017-04-17 15:12:30 UTC (rev 223483)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+_hkgname=text-printer
+pkgname=haskell-text-printer
+pkgver=0.5
+pkgrel=2
+pkgdesc="Abstract interface for text builders/printers."
+url="https://github.com/mvv/text-printer;
+license=('custom:BSD3')
+arch=('i686' 'x86_64')
+depends=('ghc=8.0.1' 'haskell-semigroups' 'haskell-text' 'haskell-text-latin1')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+md5sums=('0b2ad411591847628b15f462ce22542f')
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html || warning "haddock failed"
+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"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgname}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}"
+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-text-printer/repos (4 files)

2017-03-23 Thread Felix Yan
Date: Thursday, March 23, 2017 @ 13:44:26
  Author: felixonmars
Revision: 218534

archrelease: copy trunk to community-i686, community-x86_64

Added:
  haskell-text-printer/repos/community-i686/
  haskell-text-printer/repos/community-i686/PKGBUILD
(from rev 218533, haskell-text-printer/trunk/PKGBUILD)
  haskell-text-printer/repos/community-x86_64/
  haskell-text-printer/repos/community-x86_64/PKGBUILD
(from rev 218533, haskell-text-printer/trunk/PKGBUILD)

---+
 community-i686/PKGBUILD   |   40 
 community-x86_64/PKGBUILD |   40 
 2 files changed, 80 insertions(+)

Copied: haskell-text-printer/repos/community-i686/PKGBUILD (from rev 218533, 
haskell-text-printer/trunk/PKGBUILD)
===
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2017-03-23 13:44:26 UTC (rev 218534)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+_hkgname=text-printer
+pkgname=haskell-text-printer
+pkgver=0.5
+pkgrel=1
+pkgdesc="Abstract interface for text builders/printers."
+url="https://github.com/mvv/text-printer;
+license=('custom:BSD3')
+arch=('i686' 'x86_64')
+depends=('ghc=8.0.1' 'haskell-semigroups' 'haskell-text' 'haskell-text-latin1')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+md5sums=('0b2ad411591847628b15f462ce22542f')
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+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"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgname}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}

Copied: haskell-text-printer/repos/community-x86_64/PKGBUILD (from rev 218533, 
haskell-text-printer/trunk/PKGBUILD)
===
--- community-x86_64/PKGBUILD   (rev 0)
+++ community-x86_64/PKGBUILD   2017-03-23 13:44:26 UTC (rev 218534)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+_hkgname=text-printer
+pkgname=haskell-text-printer
+pkgver=0.5
+pkgrel=1
+pkgdesc="Abstract interface for text builders/printers."
+url="https://github.com/mvv/text-printer;
+license=('custom:BSD3')
+arch=('i686' 'x86_64')
+depends=('ghc=8.0.1' 'haskell-semigroups' 'haskell-text' 'haskell-text-latin1')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+md5sums=('0b2ad411591847628b15f462ce22542f')
+
+build() {
+cd "${srcdir}/${_hkgname}-${pkgver}"
+
+runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
+--libsubdir=\$compiler/site-local/\$pkgid
+runhaskell Setup build
+runhaskell Setup haddock --hoogle --html
+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"
+install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries"
+ln -s "/usr/share/doc/${pkgname}/html" 
"${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}"
+runhaskell Setup copy --destdir="${pkgdir}"
+install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}