Date: Monday, May 28, 2018 @ 06:11:42
  Author: eworm
Revision: 325059

archrelease: copy trunk to staging-x86_64

Added:
  appstream-glib/repos/staging-x86_64/
  appstream-glib/repos/staging-x86_64/PKGBUILD
    (from rev 325058, appstream-glib/trunk/PKGBUILD)

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

Copied: appstream-glib/repos/staging-x86_64/PKGBUILD (from rev 325058, 
appstream-glib/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD                             (rev 0)
+++ staging-x86_64/PKGBUILD     2018-05-28 06:11:42 UTC (rev 325059)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Jan de Groot <j...@archlinux.org>
+
+pkgname=appstream-glib
+pkgver=0.7.7
+pkgrel=1
+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 autoconf-archive git gperf meson)
+provides=(appdata-tools)
+conflicts=(appdata-tools)
+replaces=(appdata-tools)
+_commit=0ff41ace8c070f3aade7b6e4a56a692df3c8b10f  # tags/appstream_glib_0_7_7^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() {
+  mkdir build
+  cd $pkgname
+}
+
+build() {
+  cd build
+  arch-meson ../$pkgname \
+    -Dalpm=true \
+    -Dgtk-doc=true \
+    -Drpm=false
+  ninja
+}
+
+check() {
+  cd build
+  meson test
+}
+
+package() {
+  cd build
+  DESTDIR="$pkgdir" ninja install
+}

Reply via email to