Date: Saturday, July 27, 2019 @ 05:55:03 Author: felixonmars Revision: 493025
archrelease: copy trunk to community-staging-x86_64 Added: haskell-gtk2hs-buildtools/repos/community-staging-x86_64/PKGBUILD (from rev 493024, haskell-gtk2hs-buildtools/trunk/PKGBUILD) Deleted: haskell-gtk2hs-buildtools/repos/community-staging-x86_64/PKGBUILD ----------+ PKGBUILD | 74 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 37 insertions(+), 37 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-07-27 05:54:50 UTC (rev 493024) +++ PKGBUILD 2019-07-27 05:55:03 UTC (rev 493025) @@ -1,37 +0,0 @@ -# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com> - -pkgname=haskell-gtk2hs-buildtools -pkgver=0.13.5.0 -pkgrel=24 -pkgdesc="Tools to build the Gtk2Hs suite of User Interface libraries." -url="https://hackage.haskell.org/package/gtk2hs-buildtools" -license=('GPL2') -arch=('x86_64') -depends=('ghc-libs' 'haskell-random' 'haskell-hashtables') -makedepends=('alex' 'happy' 'ghc') -provides=('gtk2hs-buildtools') -conflicts=('gtk2hs-buildtools') -replaces=('gtk2hs-buildtools') -source=("https://hackage.haskell.org/packages/archive/gtk2hs-buildtools/${pkgver}/gtk2hs-buildtools-${pkgver}.tar.gz") -sha512sums=('8affee1469d9eeb72c07ac2b99ac9100450ad9f089c2d44a35dd9ef16b351d26a2fa62d305aba13c88f389684600ed1454a2118a0e736d12e7ff9c70d5be68ee') - -build() { - cd "${srcdir}/gtk2hs-buildtools-${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}/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 - runhaskell Setup copy --destdir="$pkgdir" -} Copied: haskell-gtk2hs-buildtools/repos/community-staging-x86_64/PKGBUILD (from rev 493024, haskell-gtk2hs-buildtools/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-07-27 05:55:03 UTC (rev 493025) @@ -0,0 +1,37 @@ +# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com> + +pkgname=haskell-gtk2hs-buildtools +pkgver=0.13.5.0 +pkgrel=25 +pkgdesc="Tools to build the Gtk2Hs suite of User Interface libraries." +url="https://hackage.haskell.org/package/gtk2hs-buildtools" +license=('GPL2') +arch=('x86_64') +depends=('ghc-libs' 'haskell-random' 'haskell-hashtables') +makedepends=('alex' 'happy' 'ghc') +provides=('gtk2hs-buildtools') +conflicts=('gtk2hs-buildtools') +replaces=('gtk2hs-buildtools') +source=("https://hackage.haskell.org/packages/archive/gtk2hs-buildtools/${pkgver}/gtk2hs-buildtools-${pkgver}.tar.gz") +sha512sums=('8affee1469d9eeb72c07ac2b99ac9100450ad9f089c2d44a35dd9ef16b351d26a2fa62d305aba13c88f389684600ed1454a2118a0e736d12e7ff9c70d5be68ee') + +build() { + cd "${srcdir}/gtk2hs-buildtools-${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}/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 + runhaskell Setup copy --destdir="$pkgdir" +}