[arch-commits] Commit in haskell-vector-th-unbox/repos (4 files)

2017-09-23 Thread Felix Yan
Date: Saturday, September 23, 2017 @ 16:52:30
  Author: felixonmars
Revision: 260171

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

Added:
  haskell-vector-th-unbox/repos/community-i686/PKGBUILD
(from rev 260170, haskell-vector-th-unbox/trunk/PKGBUILD)
  haskell-vector-th-unbox/repos/community-x86_64/PKGBUILD
(from rev 260170, haskell-vector-th-unbox/trunk/PKGBUILD)
Deleted:
  haskell-vector-th-unbox/repos/community-i686/PKGBUILD
  haskell-vector-th-unbox/repos/community-x86_64/PKGBUILD

---+
 /PKGBUILD |   78 
 community-i686/PKGBUILD   |   42 ---
 community-x86_64/PKGBUILD |   42 ---
 3 files changed, 78 insertions(+), 84 deletions(-)

Deleted: community-i686/PKGBUILD
===
--- community-i686/PKGBUILD 2017-09-23 16:51:52 UTC (rev 260170)
+++ community-i686/PKGBUILD 2017-09-23 16:52:30 UTC (rev 260171)
@@ -1,42 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=vector-th-unbox
-pkgname=haskell-vector-th-unbox
-pkgver=0.2.1.6
-pkgrel=5
-pkgdesc="Deriver for Data.Vector.Unboxed using Template Haskell"
-url="https://hackage.haskell.org/package/${_hkgname};
-license=("custom:BSD3")
-arch=('i686' 'x86_64')
-depends=('ghc-libs' "haskell-vector")
-makedepends=('ghc')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha256sums=('be87d4a6f1005ee2d0de6adf521e05c9e83c441568a8a8b60c79efe24ae90235')
-
-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-vector-th-unbox/repos/community-i686/PKGBUILD (from rev 260170, 
haskell-vector-th-unbox/trunk/PKGBUILD)
===
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2017-09-23 16:52:30 UTC (rev 260171)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=vector-th-unbox
+pkgname=haskell-vector-th-unbox
+pkgver=0.2.1.6
+pkgrel=6
+pkgdesc="Deriver for Data.Vector.Unboxed using Template Haskell"
+url="https://hackage.haskell.org/package/${_hkgname};
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=('ghc-libs' "haskell-vector")
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('e25bbe44cbdf47ee4e89bac358cce4179c49ce00d676fec911a1ba6be5d81fc70072f55374442c8209cf2023d0a91b8fce3e2a266294aa04ed9b12acbd7dc955')
+
+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:51:52 UTC (rev 260170)
+++ community-x86_64/PKGBUILD   2017-09-23 16:52:30 UTC 

[arch-commits] Commit in haskell-vector-th-unbox/repos (4 files)

2017-08-16 Thread Felix Yan
Date: Wednesday, August 16, 2017 @ 16:38:58
  Author: felixonmars
Revision: 251360

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

Added:
  haskell-vector-th-unbox/repos/community-staging-i686/
  haskell-vector-th-unbox/repos/community-staging-i686/PKGBUILD
(from rev 251359, haskell-vector-th-unbox/trunk/PKGBUILD)
  haskell-vector-th-unbox/repos/community-staging-x86_64/
  haskell-vector-th-unbox/repos/community-staging-x86_64/PKGBUILD
(from rev 251359, haskell-vector-th-unbox/trunk/PKGBUILD)

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

Copied: haskell-vector-th-unbox/repos/community-staging-i686/PKGBUILD (from rev 
251359, haskell-vector-th-unbox/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2017-08-16 16:38:58 UTC (rev 251360)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=vector-th-unbox
+pkgname=haskell-vector-th-unbox
+pkgver=0.2.1.6
+pkgrel=5
+pkgdesc="Deriver for Data.Vector.Unboxed using Template Haskell"
+url="https://hackage.haskell.org/package/${_hkgname};
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=('ghc-libs' "haskell-vector")
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha256sums=('be87d4a6f1005ee2d0de6adf521e05c9e83c441568a8a8b60c79efe24ae90235')
+
+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-vector-th-unbox/repos/community-staging-x86_64/PKGBUILD (from 
rev 251359, haskell-vector-th-unbox/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2017-08-16 16:38:58 UTC (rev 251360)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=vector-th-unbox
+pkgname=haskell-vector-th-unbox
+pkgver=0.2.1.6
+pkgrel=5
+pkgdesc="Deriver for Data.Vector.Unboxed using Template Haskell"
+url="https://hackage.haskell.org/package/${_hkgname};
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=('ghc-libs' "haskell-vector")
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha256sums=('be87d4a6f1005ee2d0de6adf521e05c9e83c441568a8a8b60c79efe24ae90235')
+
+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-vector-th-unbox/repos (4 files)

2017-06-14 Thread Felix Yan
Date: Thursday, June 15, 2017 @ 04:56:55
  Author: felixonmars
Revision: 237003

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

Added:
  haskell-vector-th-unbox/repos/community-staging-i686/
  haskell-vector-th-unbox/repos/community-staging-i686/PKGBUILD
(from rev 237002, haskell-vector-th-unbox/trunk/PKGBUILD)
  haskell-vector-th-unbox/repos/community-staging-x86_64/
  haskell-vector-th-unbox/repos/community-staging-x86_64/PKGBUILD
(from rev 237002, haskell-vector-th-unbox/trunk/PKGBUILD)

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

Copied: haskell-vector-th-unbox/repos/community-staging-i686/PKGBUILD (from rev 
237002, haskell-vector-th-unbox/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2017-06-15 04:56:55 UTC (rev 237003)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=vector-th-unbox
+pkgname=haskell-vector-th-unbox
+pkgver=0.2.1.6
+pkgrel=4
+pkgdesc="Deriver for Data.Vector.Unboxed using Template Haskell"
+url="https://hackage.haskell.org/package/${_hkgname};
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=("ghc" "haskell-vector")
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha256sums=('be87d4a6f1005ee2d0de6adf521e05c9e83c441568a8a8b60c79efe24ae90235')
+
+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
+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-vector-th-unbox/repos/community-staging-x86_64/PKGBUILD (from 
rev 237002, haskell-vector-th-unbox/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2017-06-15 04:56:55 UTC (rev 237003)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=vector-th-unbox
+pkgname=haskell-vector-th-unbox
+pkgver=0.2.1.6
+pkgrel=4
+pkgdesc="Deriver for Data.Vector.Unboxed using Template Haskell"
+url="https://hackage.haskell.org/package/${_hkgname};
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=("ghc" "haskell-vector")
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha256sums=('be87d4a6f1005ee2d0de6adf521e05c9e83c441568a8a8b60c79efe24ae90235')
+
+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
+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 

[arch-commits] Commit in haskell-vector-th-unbox/repos (4 files)

2017-04-09 Thread Felix Yan
Date: Sunday, April 9, 2017 @ 10:34:50
  Author: felixonmars
Revision: 221414

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

Added:
  haskell-vector-th-unbox/repos/community-staging-i686/
  haskell-vector-th-unbox/repos/community-staging-i686/PKGBUILD
(from rev 221413, haskell-vector-th-unbox/trunk/PKGBUILD)
  haskell-vector-th-unbox/repos/community-staging-x86_64/
  haskell-vector-th-unbox/repos/community-staging-x86_64/PKGBUILD
(from rev 221413, haskell-vector-th-unbox/trunk/PKGBUILD)

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

Copied: haskell-vector-th-unbox/repos/community-staging-i686/PKGBUILD (from rev 
221413, haskell-vector-th-unbox/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2017-04-09 10:34:50 UTC (rev 221414)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=vector-th-unbox
+pkgname=haskell-vector-th-unbox
+pkgver=0.2.1.6
+pkgrel=3
+pkgdesc="Deriver for Data.Vector.Unboxed using Template Haskell"
+url="https://hackage.haskell.org/package/${_hkgname};
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=("ghc=8.0.1" "haskell-vector")
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha256sums=('be87d4a6f1005ee2d0de6adf521e05c9e83c441568a8a8b60c79efe24ae90235')
+
+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-vector-th-unbox/repos/community-staging-x86_64/PKGBUILD (from 
rev 221413, haskell-vector-th-unbox/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2017-04-09 10:34:50 UTC (rev 221414)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=vector-th-unbox
+pkgname=haskell-vector-th-unbox
+pkgver=0.2.1.6
+pkgrel=3
+pkgdesc="Deriver for Data.Vector.Unboxed using Template Haskell"
+url="https://hackage.haskell.org/package/${_hkgname};
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=("ghc=8.0.1" "haskell-vector")
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha256sums=('be87d4a6f1005ee2d0de6adf521e05c9e83c441568a8a8b60c79efe24ae90235')
+
+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"
+

[arch-commits] Commit in haskell-vector-th-unbox/repos (4 files)

2016-05-24 Thread Felix Yan
Date: Wednesday, May 25, 2016 @ 07:51:22
  Author: fyan
Revision: 176607

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

Added:
  haskell-vector-th-unbox/repos/community-staging-i686/
  haskell-vector-th-unbox/repos/community-staging-i686/PKGBUILD
(from rev 176606, haskell-vector-th-unbox/trunk/PKGBUILD)
  haskell-vector-th-unbox/repos/community-staging-x86_64/
  haskell-vector-th-unbox/repos/community-staging-x86_64/PKGBUILD
(from rev 176606, haskell-vector-th-unbox/trunk/PKGBUILD)

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

Copied: haskell-vector-th-unbox/repos/community-staging-i686/PKGBUILD (from rev 
176606, haskell-vector-th-unbox/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-05-25 05:51:22 UTC (rev 176607)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=vector-th-unbox
+pkgname=haskell-vector-th-unbox
+pkgver=0.2.1.6
+pkgrel=2
+pkgdesc="Deriver for Data.Vector.Unboxed using Template Haskell"
+url="http://hackage.haskell.org/package/${_hkgname};
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=("ghc=8.0.1" "haskell-vector")
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha256sums=('be87d4a6f1005ee2d0de6adf521e05c9e83c441568a8a8b60c79efe24ae90235')
+
+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-vector-th-unbox/repos/community-staging-x86_64/PKGBUILD (from 
rev 176606, haskell-vector-th-unbox/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-05-25 05:51:22 UTC (rev 176607)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=vector-th-unbox
+pkgname=haskell-vector-th-unbox
+pkgver=0.2.1.6
+pkgrel=2
+pkgdesc="Deriver for Data.Vector.Unboxed using Template Haskell"
+url="http://hackage.haskell.org/package/${_hkgname};
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=("ghc=8.0.1" "haskell-vector")
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha256sums=('be87d4a6f1005ee2d0de6adf521e05c9e83c441568a8a8b60c79efe24ae90235')
+
+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