[arch-commits] Commit in appstream-generator/repos (2 files)

Evangelos Foutras foutrelis at gemini.archlinux.org
Sun Oct 24 02:19:33 UTC 2021


    Date: Sunday, October 24, 2021 @ 02:19:33
  Author: foutrelis
Revision: 1033034

archrelease: copy trunk to community-testing-x86_64

Added:
  appstream-generator/repos/community-testing-x86_64/
  appstream-generator/repos/community-testing-x86_64/PKGBUILD
    (from rev 1033033, appstream-generator/trunk/PKGBUILD)

----------+
 PKGBUILD |   28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

Copied: appstream-generator/repos/community-testing-x86_64/PKGBUILD (from rev 1033033, appstream-generator/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2021-10-24 02:19:33 UTC (rev 1033034)
@@ -0,0 +1,28 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=appstream-generator
+pkgver=0.8.5
+pkgrel=4
+pkgdesc='A fast AppStream metadata generator'
+arch=(x86_64)
+url='https://github.com/ximion/appstream-generator'
+license=(GPL3)
+depends=(appstream libarchive librsvg optipng glibd)
+makedepends=(ldc meson ninja mustache-d curl gir-to-d gobject-introspection docbook-xsl)
+source=(https://github.com/ximion/appstream-generator/archive/v$pkgver/$pkgname-$pkgver.tar.gz
+        https://github.com/ximion/appstream-generator/commit/4283ed5d.patch)
+sha256sums=('857f78329b716481731f6b8a298fa65e3d35dbf3a36825b14bb9673254ea5cfd'
+            'e0639970c889a8877be1ee73de9e33020f7e4cd99383d8e39d0f5341ebe18eca')
+
+prepare() {
+  patch -d $pkgname-$pkgver -p1 < 4283ed5d.patch # Fix missing icons in exported data
+}
+
+build() {
+  meson build $pkgname-$pkgver -Ddownload-js=false --prefix=/usr
+  ninja -C build
+}
+
+package() {
+  DESTDIR="$pkgdir" ninja install -C build
+}



More information about the arch-commits mailing list