[arch-commits] Commit in appstream-glib/repos (staging-x86_64 staging-x86_64/PKGBUILD)
Bartłomiej Piotrowski
bpiotrowski at archlinux.org
Tue Oct 22 02:09:03 UTC 2019
Date: Tuesday, October 22, 2019 @ 02:09:02
Author: bpiotrowski
Revision: 365285
archrelease: copy trunk to staging-x86_64
Added:
appstream-glib/repos/staging-x86_64/
appstream-glib/repos/staging-x86_64/PKGBUILD
(from rev 365284, appstream-glib/trunk/PKGBUILD)
----------+
PKGBUILD | 42 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
Copied: appstream-glib/repos/staging-x86_64/PKGBUILD (from rev 365284, appstream-glib/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2019-10-22 02:09:02 UTC (rev 365285)
@@ -0,0 +1,42 @@
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=appstream-glib
+pkgver=0.7.16
+pkgrel=2
+pkgdesc="Objects and methods for reading and writing AppStream metadata"
+url="https://people.freedesktop.org/~hughsient/appstream-glib/"
+arch=(x86_64)
+license=(LGPL)
+depends=(gtk3 libyaml pacman gcab libsoup libstemmer)
+makedepends=(gobject-introspection gtk-doc git gperf meson)
+provides=(appdata-tools)
+conflicts=(appdata-tools)
+replaces=(appdata-tools)
+_commit=230e2da082d9754858330c3e262a9d44f816def1 # tags/appstream_glib_0_7_16^0
+source=("git+https://github.com/hughsie/appstream-glib#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's/^appstream_glib_//;s/_/./g;s/-/+/g'
+}
+
+prepare() {
+ cd $pkgname
+}
+
+build() {
+ arch-meson $pkgname build \
+ -D alpm=true \
+ -D gtk-doc=true \
+ -D rpm=false
+ ninja -C build
+}
+
+check() {
+ meson test -C build --print-errorlogs
+}
+
+package() {
+ DESTDIR="$pkgdir" meson install -C build
+}
More information about the arch-commits
mailing list