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

Jan Steffens heftig at archlinux.org
Thu Oct 4 22:16:49 UTC 2018


    Date: Thursday, October 4, 2018 @ 22:16:49
  Author: heftig
Revision: 335768

0.7.13-1

Modified:
  appstream-glib/trunk/PKGBUILD

----------+
 PKGBUILD |   22 +++++++++-------------
 1 file changed, 9 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-10-04 22:16:26 UTC (rev 335767)
+++ PKGBUILD	2018-10-04 22:16:49 UTC (rev 335768)
@@ -1,7 +1,7 @@
 # Maintainer: Jan de Groot <jgc at archlinux.org>
 
 pkgname=appstream-glib
-pkgver=0.7.12
+pkgver=0.7.13
 pkgrel=1
 pkgdesc="Objects and methods for reading and writing AppStream metadata"
 url="https://people.freedesktop.org/~hughsient/appstream-glib/"
@@ -12,7 +12,7 @@
 provides=(appdata-tools)
 conflicts=(appdata-tools)
 replaces=(appdata-tools)
-_commit=614ce59c184f7844146eff5513375348c42c1326  # tags/appstream_glib_0_7_12^0
+_commit=d108b8ad471ae3448b2e5049f86b54250b9c3a03  # tags/appstream_glib_0_7_13^0
 source=("git+https://github.com/hughsie/appstream-glib#commit=$_commit")
 sha256sums=('SKIP')
 
@@ -22,25 +22,21 @@
 }
 
 prepare() {
-  mkdir build
   cd $pkgname
 }
 
 build() {
-  cd build
-  arch-meson ../$pkgname \
-    -Dalpm=true \
-    -Dgtk-doc=true \
-    -Drpm=false
-  ninja
+  arch-meson $pkgname build \
+    -D alpm=true \
+    -D gtk-doc=true \
+    -D rpm=false
+  ninja -C build
 }
 
 check() {
-  cd build
-  meson test
+  meson test -C build
 }
 
 package() {
-  cd build
-  DESTDIR="$pkgdir" ninja install
+  DESTDIR="$pkgdir" meson install -C build
 }



More information about the arch-commits mailing list