[arch-commits] Commit in gtkd/repos/community-x86_64 (PKGBUILD PKGBUILD)

Filipe Laíns ffy00 at archlinux.org
Fri Jun 7 11:13:18 UTC 2019


    Date: Friday, June 7, 2019 @ 11:13:18
  Author: ffy00
Revision: 478155

archrelease: copy trunk to community-x86_64

Added:
  gtkd/repos/community-x86_64/PKGBUILD
    (from rev 478154, gtkd/trunk/PKGBUILD)
Deleted:
  gtkd/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   95 +++++++++++++++++++++++++++++++++++--------------------------
 1 file changed, 56 insertions(+), 39 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-06-07 11:13:03 UTC (rev 478154)
+++ PKGBUILD	2019-06-07 11:13:18 UTC (rev 478155)
@@ -1,39 +0,0 @@
-# Maintainer: Dan Printzell <arch at vild.io>
-# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
-# Contributor: Severen Redwood <severen at shrike.me>
-# Contributor: Robert Welin <robert.welin at gmail.com>
-# Contributorr: dsboger <https://github.com/dsboger>
-
-pkgname=gtkd
-pkgver=3.8.5
-pkgrel=3
-pkgdesc='D bindings for GTK+ and related libraries.'
-arch=('x86_64')
-url='https://gtkd.org'
-license=('LGPL')
-depends=('liblphobos' 'gtk3')
-makedepends=('ldc')
-optdepends=('pango' 'atk' 'gdk-pixbuf2' 'gtksourceview3' 'gstreamer' 'vte3' 'libpeas')
-source=("https://github.com/gtkd-developers/GtkD/archive/v$pkgver.tar.gz")
-sha512sums=('b75f8cb46de371a1f0ea344f0471b89667f84581e318daa30333a4646c132fe5431e58b9d31a2cfc789ddfc50d0cf9dc8d8a7e349823392c15a2eae5cecc88d1')
-
-build() {
-    cd GtkD-$pkgver
-
-    make \
-    	DC='ldc' \
-    	LDFLAGS="-L=\"$LDFLAGS\"" \
-    	libdir='lib/' \
-    	shared-{gtkd,gtkdgl,sv,gstreamer,vte,peas}
-}
-
-package() {
-    cd GtkD-$pkgver
-
-    make \
-    	prefix='/usr' \
-    	libdir='lib/' \
-    	DESTDIR="$pkgdir" \
-    	install-{shared,headers}-{gtkd,gtkdgl,gtkdsv,gstreamer,vte,peas}
-}
-

Copied: gtkd/repos/community-x86_64/PKGBUILD (from rev 478154, gtkd/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-06-07 11:13:18 UTC (rev 478155)
@@ -0,0 +1,56 @@
+# Maintainer: Dan Printzell <arch at vild.io>
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+# Contributor: Severen Redwood <severen at shrike.me>
+# Contributor: Robert Welin <robert.welin at gmail.com>
+# Contributorr: dsboger <https://github.com/dsboger>
+
+pkgname=gtkd
+pkgver=3.9.0
+pkgrel=1
+pkgdesc='D bindings for GTK+ and related libraries.'
+arch=('x86_64')
+url='https://gtkd.org'
+license=('LGPL')
+depends=('liblphobos' 'gtk3')
+makedepends=('ldc')
+optdepends=('pango' 'atk' 'gdk-pixbuf2' 'gtksourceview3' 'gstreamer' 'vte3' 'libpeas')
+source=("https://github.com/gtkd-developers/GtkD/archive/v$pkgver.tar.gz"
+        'https://github.com/FFY00/GtkD/commit/5a3aabfc7e253eef7ce727a47c3ea0801776a472.patch')
+sha512sums=('ea83322933958fa62883bc5f9d9c37fca78c369f6567b4fd62bd39d5d41b7caaab186752a836904b70c1dd70370d683bf35ae3e9201cac12410356ad4c020b90'
+            '6de0e734362f12036c54373b096806ef3aca073ec76c1e6d8245a4642a32a4c6ac4eb5a477055a15064176b61636069e74f2b83c968a87cfc3bcabbc943886c3')
+
+prepare() {
+    cd GtkD-$pkgver
+
+    # https://github.com/gtkd-developers/GtkD/pull/273
+    # makefile: fix install path for pkconfig files
+    patch -p1 < ../5a3aabfc7e253eef7ce727a47c3ea0801776a472.patch
+}
+
+build() {
+    cd GtkD-$pkgver
+
+    make \
+    	DC='ldc' \
+    	LDFLAGS="-L=\"$LDFLAGS\"" \
+    	libdir='lib/' \
+        shared-{gtkd,gtkdgl,sv,gstreamer,vte,peas}
+}
+
+# Not working right now
+#check() {
+#    cd GtkD-$pkgver
+#
+#    make test
+#}
+
+package() {
+    cd GtkD-$pkgver
+
+    make \
+    	prefix='/usr' \
+    	libdir='lib/' \
+    	DESTDIR="$pkgdir" \
+    	install-{shared,headers}-{gtkd,gtkdgl,gtkdsv,gstreamer,vte,peas}
+}
+



More information about the arch-commits mailing list