[arch-commits] Commit in haskell-gtk2hs-buildtools/repos (4 files)
Felix Yan
fyan at archlinux.org
Wed May 25 09:10:39 UTC 2016
Date: Wednesday, May 25, 2016 @ 11:10:39
Author: fyan
Revision: 176737
archrelease: copy trunk to community-staging-i686, community-staging-x86_64
Added:
haskell-gtk2hs-buildtools/repos/community-staging-i686/PKGBUILD
(from rev 176736, haskell-gtk2hs-buildtools/trunk/PKGBUILD)
haskell-gtk2hs-buildtools/repos/community-staging-x86_64/PKGBUILD
(from rev 176736, haskell-gtk2hs-buildtools/trunk/PKGBUILD)
Deleted:
haskell-gtk2hs-buildtools/repos/community-staging-i686/PKGBUILD
haskell-gtk2hs-buildtools/repos/community-staging-x86_64/PKGBUILD
-----------------------------------+
/PKGBUILD | 82 ++++++++++++++++++++++++++++++++++++
community-staging-i686/PKGBUILD | 26 -----------
community-staging-x86_64/PKGBUILD | 26 -----------
3 files changed, 82 insertions(+), 52 deletions(-)
Deleted: community-staging-i686/PKGBUILD
===================================================================
--- community-staging-i686/PKGBUILD 2016-05-25 09:10:13 UTC (rev 176736)
+++ community-staging-i686/PKGBUILD 2016-05-25 09:10:39 UTC (rev 176737)
@@ -1,26 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-
-pkgname=gtk2hs-buildtools
-pkgver=0.13.0.5
-pkgrel=5
-pkgdesc="Tools to build the Gtk2Hs suite of User Interface libraries."
-url="http://hackage.haskell.org/package/gtk2hs-buildtools"
-license=('GPL2')
-arch=('i686' 'x86_64')
-makedepends=('ghc' 'alex' 'happy' 'haskell-random' 'haskell-hashtables')
-depends=('gmp' 'libffi')
-provides=('haskell-gtk2hs-buildtools')
-source=("http://hackage.haskell.org/packages/archive/gtk2hs-buildtools/$pkgver/gtk2hs-buildtools-$pkgver.tar.gz")
-md5sums=('3f44f44c9eb6c6aec27331326b0aebc7')
-
-build() {
- cd ${srcdir}/gtk2hs-buildtools-$pkgver
- runhaskell Setup configure --prefix=/usr --docdir=/usr/share/doc/${pkgname}
- runhaskell Setup build
-}
-
-package() {
- cd ${srcdir}/gtk2hs-buildtools-$pkgver
- runhaskell Setup copy --destdir=${pkgdir}
-}
Copied: haskell-gtk2hs-buildtools/repos/community-staging-i686/PKGBUILD (from rev 176736, haskell-gtk2hs-buildtools/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-05-25 09:10:39 UTC (rev 176737)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+
+pkgname=haskell-gtk2hs-buildtools
+pkgver=0.13.1.0
+pkgrel=1
+pkgdesc="Tools to build the Gtk2Hs suite of User Interface libraries."
+url="http://hackage.haskell.org/package/gtk2hs-buildtools"
+license=('GPL2')
+arch=('i686' 'x86_64')
+depends=('ghc=8.0.1')
+makedepends=('alex' 'happy' 'haskell-random' 'haskell-hashtables')
+provides=('gtk2hs-buildtools')
+conflicts=('gtk2hs-buildtools')
+replaces=('gtk2hs-buildtools')
+source=("http://hackage.haskell.org/packages/archive/gtk2hs-buildtools/$pkgver/gtk2hs-buildtools-$pkgver.tar.gz")
+md5sums=('b7f60c6d323afa7770cf29b3002ab432')
+
+build() {
+ cd "${srcdir}/gtk2hs-buildtools-${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}/gtk2hs-buildtools-${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/gtk2hs-buildtools"
+ runhaskell Setup copy --destdir="${pkgdir}"
+}
Deleted: community-staging-x86_64/PKGBUILD
===================================================================
--- community-staging-x86_64/PKGBUILD 2016-05-25 09:10:13 UTC (rev 176736)
+++ community-staging-x86_64/PKGBUILD 2016-05-25 09:10:39 UTC (rev 176737)
@@ -1,26 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-
-pkgname=gtk2hs-buildtools
-pkgver=0.13.0.5
-pkgrel=5
-pkgdesc="Tools to build the Gtk2Hs suite of User Interface libraries."
-url="http://hackage.haskell.org/package/gtk2hs-buildtools"
-license=('GPL2')
-arch=('i686' 'x86_64')
-makedepends=('ghc' 'alex' 'happy' 'haskell-random' 'haskell-hashtables')
-depends=('gmp' 'libffi')
-provides=('haskell-gtk2hs-buildtools')
-source=("http://hackage.haskell.org/packages/archive/gtk2hs-buildtools/$pkgver/gtk2hs-buildtools-$pkgver.tar.gz")
-md5sums=('3f44f44c9eb6c6aec27331326b0aebc7')
-
-build() {
- cd ${srcdir}/gtk2hs-buildtools-$pkgver
- runhaskell Setup configure --prefix=/usr --docdir=/usr/share/doc/${pkgname}
- runhaskell Setup build
-}
-
-package() {
- cd ${srcdir}/gtk2hs-buildtools-$pkgver
- runhaskell Setup copy --destdir=${pkgdir}
-}
Copied: haskell-gtk2hs-buildtools/repos/community-staging-x86_64/PKGBUILD (from rev 176736, haskell-gtk2hs-buildtools/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2016-05-25 09:10:39 UTC (rev 176737)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+
+pkgname=haskell-gtk2hs-buildtools
+pkgver=0.13.1.0
+pkgrel=1
+pkgdesc="Tools to build the Gtk2Hs suite of User Interface libraries."
+url="http://hackage.haskell.org/package/gtk2hs-buildtools"
+license=('GPL2')
+arch=('i686' 'x86_64')
+depends=('ghc=8.0.1')
+makedepends=('alex' 'happy' 'haskell-random' 'haskell-hashtables')
+provides=('gtk2hs-buildtools')
+conflicts=('gtk2hs-buildtools')
+replaces=('gtk2hs-buildtools')
+source=("http://hackage.haskell.org/packages/archive/gtk2hs-buildtools/$pkgver/gtk2hs-buildtools-$pkgver.tar.gz")
+md5sums=('b7f60c6d323afa7770cf29b3002ab432')
+
+build() {
+ cd "${srcdir}/gtk2hs-buildtools-${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}/gtk2hs-buildtools-${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/gtk2hs-buildtools"
+ runhaskell Setup copy --destdir="${pkgdir}"
+}
More information about the arch-commits
mailing list