Date: Wednesday, November 29, 2017 @ 17:12:45 Author: felixonmars Revision: 270733
archrelease: copy trunk to community-testing-x86_64 Added: haskell-gtk/repos/community-testing-x86_64/PKGBUILD (from rev 270732, haskell-gtk/trunk/PKGBUILD) Deleted: haskell-gtk/repos/community-testing-x86_64/PKGBUILD ----------+ PKGBUILD | 80 ++++++++++++++++++++++++++++--------------------------------- 1 file changed, 38 insertions(+), 42 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2017-11-29 17:12:21 UTC (rev 270732) +++ PKGBUILD 2017-11-29 17:12:45 UTC (rev 270733) @@ -1,42 +0,0 @@ -# $Id$ -# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com> - -pkgname=haskell-gtk -pkgver=0.14.6 -pkgrel=7 -pkgdesc="Binding to the gtk library for Gtk2Hs." -url="https://hackage.haskell.org/package/gtk3" -license=('LGPL2.1') -arch=('x86_64') -depends=('ghc-libs' 'gtk3' "haskell-pango" 'haskell-mtl' 'haskell-text') -makedepends=('ghc' 'haskell-gtk2hs-buildtools') -provides=('gtk2hs-gtk') -replaces=('gtk2hs-gtk') -conflicts=('gtk2hs-gtk') -source=("https://github.com/gtk2hs/gtk2hs/archive/843d83548bd076975f1869e6768768b5ed24b268.tar.gz") -sha512sums=('610a080ddf8ad8511176a7fd5ed5457aa26b5ce48539b7eb46563d86db1ffab6501f8b4deac4152f7d9cea84093de34e1bd1bb9467f558f1c202026337e1c708') - -prepare() { - mv gtk2hs-843d83548bd076975f1869e6768768b5ed24b268/gtk gtk3-$pkgver -} - -build() { - cd "${srcdir}/gtk3-${pkgver}" - - runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ - --prefix=/usr --docdir="/usr/share/doc/${pkgname}" --datasubdir="$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}/gtk3-${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}" -} Copied: haskell-gtk/repos/community-testing-x86_64/PKGBUILD (from rev 270732, haskell-gtk/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2017-11-29 17:12:45 UTC (rev 270733) @@ -0,0 +1,38 @@ +# $Id$ +# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com> + +pkgname=haskell-gtk +pkgver=0.14.8 +pkgrel=1 +pkgdesc="Binding to the gtk library for Gtk2Hs." +url="https://hackage.haskell.org/package/gtk3" +license=('LGPL2.1') +arch=('x86_64') +depends=('ghc-libs' 'gtk3' 'haskell-pango' 'haskell-mtl' 'haskell-text') +makedepends=('ghc' 'haskell-gtk2hs-buildtools') +provides=('gtk2hs-gtk') +replaces=('gtk2hs-gtk') +conflicts=('gtk2hs-gtk') +source=("https://hackage.haskell.org/packages/archive/gtk3/${pkgver}/gtk3-${pkgver}.tar.gz") +sha512sums=('df2b7dca3184580cc6c0c6facb5db56b32714ffae5858583ec67006e2e69d3202e6537430a696558ad181cd68939cd31de0ad6ddeca42061c1a5461df0f75d68') + +build() { + cd "${srcdir}/gtk3-${pkgver}" + + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ + --prefix=/usr --docdir="/usr/share/doc/${pkgname}" --datasubdir="$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}/gtk3-${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}" +}