[arch-commits] Commit in gtkd/trunk (PKGBUILD)

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


    Date: Friday, June 7, 2019 @ 11:13:03
  Author: ffy00
Revision: 478154

upgpkg: gtkd 3.9.0-1

Modified:
  gtkd/trunk/PKGBUILD

----------+
 PKGBUILD |   27 ++++++++++++++++++++++-----
 1 file changed, 22 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-06-07 10:44:32 UTC (rev 478153)
+++ PKGBUILD	2019-06-07 11:13:03 UTC (rev 478154)
@@ -5,8 +5,8 @@
 # Contributorr: dsboger <https://github.com/dsboger>
 
 pkgname=gtkd
-pkgver=3.8.5
-pkgrel=3
+pkgver=3.9.0
+pkgrel=1
 pkgdesc='D bindings for GTK+ and related libraries.'
 arch=('x86_64')
 url='https://gtkd.org'
@@ -14,9 +14,19 @@
 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')
+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
 
@@ -24,9 +34,16 @@
     	DC='ldc' \
     	LDFLAGS="-L=\"$LDFLAGS\"" \
     	libdir='lib/' \
-    	shared-{gtkd,gtkdgl,sv,gstreamer,vte,peas}
+        shared-{gtkd,gtkdgl,sv,gstreamer,vte,peas}
 }
 
+# Not working right now
+#check() {
+#    cd GtkD-$pkgver
+#
+#    make test
+#}
+
 package() {
     cd GtkD-$pkgver
 



More information about the arch-commits mailing list