[arch-commits] Commit in haskell-gtk/repos/community-staging-x86_64 (2 files)
Felix Yan
felixonmars at archlinux.org
Mon May 27 16:34:28 UTC 2019
Date: Monday, May 27, 2019 @ 16:34:27
Author: felixonmars
Revision: 471645
archrelease: copy trunk to community-staging-x86_64
Added:
haskell-gtk/repos/community-staging-x86_64/PKGBUILD
(from rev 471644, haskell-gtk/trunk/PKGBUILD)
Deleted:
haskell-gtk/repos/community-staging-x86_64/PKGBUILD
----------+
PKGBUILD | 74 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 37 insertions(+), 37 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-05-27 16:34:15 UTC (rev 471644)
+++ PKGBUILD 2019-05-27 16:34:27 UTC (rev 471645)
@@ -1,37 +0,0 @@
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-
-pkgname=haskell-gtk
-pkgver=0.15.1
-pkgrel=16
-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')
-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=('98e825865c65fc49d573144328b40b397e7491dcfc8e7bc8b128f2665d60b670a54255c4170fc7ada3f8891c54418a5d852fd5cb74be48068eb8f862b80aa201')
-
-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-staging-x86_64/PKGBUILD (from rev 471644, haskell-gtk/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-05-27 16:34:27 UTC (rev 471645)
@@ -0,0 +1,37 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+
+pkgname=haskell-gtk
+pkgver=0.15.1
+pkgrel=17
+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')
+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=('98e825865c65fc49d573144328b40b397e7491dcfc8e7bc8b128f2665d60b670a54255c4170fc7ada3f8891c54418a5d852fd5cb74be48068eb8f862b80aa201')
+
+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"
+}
More information about the arch-commits
mailing list