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

2017-09-23 Thread Felix Yan
Date: Saturday, September 23, 2017 @ 16:48:21
  Author: felixonmars
Revision: 260161

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

Added:
  haskell-gitrev/repos/community-i686/PKGBUILD
(from rev 260160, haskell-gitrev/trunk/PKGBUILD)
  haskell-gitrev/repos/community-x86_64/PKGBUILD
(from rev 260160, haskell-gitrev/trunk/PKGBUILD)
Deleted:
  haskell-gitrev/repos/community-i686/PKGBUILD
  haskell-gitrev/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:47:43 UTC (rev 260160)
+++ community-i686/PKGBUILD 2017-09-23 16:48:21 UTC (rev 260161)
@@ -1,42 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan 
-# Contributor: Arch Haskell Team 
-
-_hkgname=gitrev
-pkgname=haskell-gitrev
-pkgver=1.3.1
-pkgrel=2
-pkgdesc="Compile git revision info into Haskell projects"
-url="https://github.com/acfoltzer/gitrev;
-license=("custom:BSD3")
-arch=('i686' 'x86_64')
-depends=('ghc-libs' 'haskell-base-compat')
-makedepends=('ghc')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
-sha512sums=('8639e356490fba3461f8d7030326a6913846427255524213a73ee2ac5abf708f75efed99a0d9d574a73a2db88833814d1b634e6a5ec93c4bc03052435e0ea4cd')
-
-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-gitrev/repos/community-i686/PKGBUILD (from rev 260160, 
haskell-gitrev/trunk/PKGBUILD)
===
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2017-09-23 16:48:21 UTC (rev 260161)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=gitrev
+pkgname=haskell-gitrev
+pkgver=1.3.1
+pkgrel=3
+pkgdesc="Compile git revision info into Haskell projects"
+url="https://github.com/acfoltzer/gitrev;
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=('ghc-libs' 'haskell-base-compat')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('8639e356490fba3461f8d7030326a6913846427255524213a73ee2ac5abf708f75efed99a0d9d574a73a2db88833814d1b634e6a5ec93c4bc03052435e0ea4cd')
+
+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:47:43 UTC (rev 260160)
+++ community-x86_64/PKGBUILD   2017-09-23 16:48:21 UTC (rev 260161)
@@ -1,42 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan 

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

2017-08-15 Thread Felix Yan
Date: Tuesday, August 15, 2017 @ 06:06:34
  Author: felixonmars
Revision: 250583

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

Added:
  haskell-gitrev/repos/community-staging-i686/
  haskell-gitrev/repos/community-staging-i686/PKGBUILD
(from rev 250582, haskell-gitrev/trunk/PKGBUILD)
  haskell-gitrev/repos/community-staging-x86_64/
  haskell-gitrev/repos/community-staging-x86_64/PKGBUILD
(from rev 250582, haskell-gitrev/trunk/PKGBUILD)

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

Copied: haskell-gitrev/repos/community-staging-i686/PKGBUILD (from rev 250582, 
haskell-gitrev/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2017-08-15 06:06:34 UTC (rev 250583)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=gitrev
+pkgname=haskell-gitrev
+pkgver=1.3.1
+pkgrel=2
+pkgdesc="Compile git revision info into Haskell projects"
+url="https://github.com/acfoltzer/gitrev;
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=('ghc-libs' 'haskell-base-compat')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('8639e356490fba3461f8d7030326a6913846427255524213a73ee2ac5abf708f75efed99a0d9d574a73a2db88833814d1b634e6a5ec93c4bc03052435e0ea4cd')
+
+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-gitrev/repos/community-staging-x86_64/PKGBUILD (from rev 
250582, haskell-gitrev/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2017-08-15 06:06:34 UTC (rev 250583)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=gitrev
+pkgname=haskell-gitrev
+pkgver=1.3.1
+pkgrel=2
+pkgdesc="Compile git revision info into Haskell projects"
+url="https://github.com/acfoltzer/gitrev;
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=('ghc-libs' 'haskell-base-compat')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('8639e356490fba3461f8d7030326a6913846427255524213a73ee2ac5abf708f75efed99a0d9d574a73a2db88833814d1b634e6a5ec93c4bc03052435e0ea4cd')
+
+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-gitrev/repos (4 files)

2017-08-05 Thread Felix Yan
Date: Saturday, August 5, 2017 @ 18:26:45
  Author: felixonmars
Revision: 248823

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

Added:
  haskell-gitrev/repos/community-staging-i686/
  haskell-gitrev/repos/community-staging-i686/PKGBUILD
(from rev 248822, haskell-gitrev/trunk/PKGBUILD)
  haskell-gitrev/repos/community-staging-x86_64/
  haskell-gitrev/repos/community-staging-x86_64/PKGBUILD
(from rev 248822, haskell-gitrev/trunk/PKGBUILD)

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

Copied: haskell-gitrev/repos/community-staging-i686/PKGBUILD (from rev 248822, 
haskell-gitrev/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2017-08-05 18:26:45 UTC (rev 248823)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=gitrev
+pkgname=haskell-gitrev
+pkgver=1.3.1
+pkgrel=1
+pkgdesc="Compile git revision info into Haskell projects"
+url="https://github.com/acfoltzer/gitrev;
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=('ghc' 'haskell-base-compat')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('8639e356490fba3461f8d7030326a6913846427255524213a73ee2ac5abf708f75efed99a0d9d574a73a2db88833814d1b634e6a5ec93c4bc03052435e0ea4cd')
+
+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
+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-gitrev/repos/community-staging-x86_64/PKGBUILD (from rev 
248822, haskell-gitrev/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2017-08-05 18:26:45 UTC (rev 248823)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=gitrev
+pkgname=haskell-gitrev
+pkgver=1.3.1
+pkgrel=1
+pkgdesc="Compile git revision info into Haskell projects"
+url="https://github.com/acfoltzer/gitrev;
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=('ghc' 'haskell-base-compat')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha512sums=('8639e356490fba3461f8d7030326a6913846427255524213a73ee2ac5abf708f75efed99a0d9d574a73a2db88833814d1b634e6a5ec93c4bc03052435e0ea4cd')
+
+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
+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-gitrev/repos (4 files)

2017-06-16 Thread Felix Yan
Date: Friday, June 16, 2017 @ 08:16:07
  Author: felixonmars
Revision: 237542

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

Added:
  haskell-gitrev/repos/community-staging-i686/
  haskell-gitrev/repos/community-staging-i686/PKGBUILD
(from rev 237541, haskell-gitrev/trunk/PKGBUILD)
  haskell-gitrev/repos/community-staging-x86_64/
  haskell-gitrev/repos/community-staging-x86_64/PKGBUILD
(from rev 237541, haskell-gitrev/trunk/PKGBUILD)

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

Copied: haskell-gitrev/repos/community-staging-i686/PKGBUILD (from rev 237541, 
haskell-gitrev/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2017-06-16 08:16:07 UTC (rev 237542)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=gitrev
+pkgname=haskell-gitrev
+pkgver=1.2.0
+pkgrel=3
+pkgdesc="Compile git revision info into Haskell projects"
+url="https://github.com/acfoltzer/gitrev;
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=("ghc")
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha256sums=('4391e34edb5caaab901c6faa4369b246b6896c747869f6ab85b6db5524003102')
+
+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-gitrev/repos/community-staging-x86_64/PKGBUILD (from rev 
237541, haskell-gitrev/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2017-06-16 08:16:07 UTC (rev 237542)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=gitrev
+pkgname=haskell-gitrev
+pkgver=1.2.0
+pkgrel=3
+pkgdesc="Compile git revision info into Haskell projects"
+url="https://github.com/acfoltzer/gitrev;
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=("ghc")
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha256sums=('4391e34edb5caaab901c6faa4369b246b6896c747869f6ab85b6db5524003102')
+
+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
+}


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

2016-05-25 Thread Felix Yan
Date: Wednesday, May 25, 2016 @ 10:37:47
  Author: fyan
Revision: 176707

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

Added:
  haskell-gitrev/repos/community-staging-i686/
  haskell-gitrev/repos/community-staging-i686/PKGBUILD
(from rev 176706, haskell-gitrev/trunk/PKGBUILD)
  haskell-gitrev/repos/community-staging-x86_64/
  haskell-gitrev/repos/community-staging-x86_64/PKGBUILD
(from rev 176706, haskell-gitrev/trunk/PKGBUILD)

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

Copied: haskell-gitrev/repos/community-staging-i686/PKGBUILD (from rev 176706, 
haskell-gitrev/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-05-25 08:37:47 UTC (rev 176707)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=gitrev
+pkgname=haskell-gitrev
+pkgver=1.2.0
+pkgrel=2
+pkgdesc="Compile git revision info into Haskell projects"
+url="https://github.com/acfoltzer/gitrev;
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=("ghc=8.0.1")
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha256sums=('4391e34edb5caaab901c6faa4369b246b6896c747869f6ab85b6db5524003102')
+
+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-gitrev/repos/community-staging-x86_64/PKGBUILD (from rev 
176706, haskell-gitrev/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-05-25 08:37:47 UTC (rev 176707)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Arch Haskell Team 
+
+_hkgname=gitrev
+pkgname=haskell-gitrev
+pkgver=1.2.0
+pkgrel=2
+pkgdesc="Compile git revision info into Haskell projects"
+url="https://github.com/acfoltzer/gitrev;
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=("ghc=8.0.1")
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz;)
+sha256sums=('4391e34edb5caaab901c6faa4369b246b6896c747869f6ab85b6db5524003102')
+
+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"
+}