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

Antonio Rojas arojas at archlinux.org
Wed Sep 27 18:21:46 UTC 2017


    Date: Wednesday, September 27, 2017 @ 18:21:45
  Author: arojas
Revision: 260709

Fix build with DMD 2.076

Modified:
  appstream-generator/trunk/PKGBUILD

----------+
 PKGBUILD |   18 +++++++++++++-----
 1 file changed, 13 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-09-27 17:34:24 UTC (rev 260708)
+++ PKGBUILD	2017-09-27 18:21:45 UTC (rev 260709)
@@ -3,18 +3,26 @@
 
 pkgname=appstream-generator
 pkgver=0.6.6
-pkgrel=1
+pkgrel=2
 pkgdesc="A fast AppStream metadata generator"
 arch=(x86_64)
 url="https://github.com/ximion/appstream-generator"
 license=(GPL3)
-depends=(appstream libarchive librsvg lmdb liblphobos)
-makedepends=(ldc meson ninja mustache-d curl gir-to-d gobject-introspection)
-source=($pkgname-$pkgver.tar.gz::"https://github.com/ximion/appstream-generator/archive/v$pkgver.tar.gz")
-sha256sums=('585b87e425d1891a09ce5dcf698d7c86c2b4a401d510ae0e345df8fff855927b')
+depends=(appstream libarchive librsvg lmdb)
+makedepends=(dmd meson ninja mustache-d curl gir-to-d gobject-introspection)
+source=($pkgname-$pkgver.tar.gz::"https://github.com/ximion/appstream-generator/archive/v$pkgver.tar.gz"
+        https://github.com/ximion/appstream-generator/commit/3afc47a9.patch
+        https://github.com/ximion/appstream-generator/commit/412460dc.patch)
+sha256sums=('585b87e425d1891a09ce5dcf698d7c86c2b4a401d510ae0e345df8fff855927b'
+            '45f22f647e2070a8582edd6baa07978369fb1462b539c9c6603f1a039f98f630'
+            'a16ae880d6afaf587142033513df9b92465cb09ad4acbb15e858b7153275cfe6')
 
 prepare() {
   mkdir -p build
+
+  cd $pkgname-$pkgver
+  patch -p1 -i ../3afc47a9.patch # Fix build with DMD 2.076
+  patch -p1 -i ../412460dc.patch # Fix exceptions when writing archive
 }
 
 build() {



More information about the arch-commits mailing list