diff options
author | FabioLolix | 2022-06-11 17:31:46 +0200 |
---|---|---|
committer | FabioLolix | 2022-06-11 17:31:46 +0200 |
commit | f770f48f14fc489342dd94712cdb8d9ceca99f4d (patch) | |
tree | 3d17a5475ea1fdd7aa19d04df6af66f421345ad2 | |
parent | 04c20cce909eeb6f11ff63df894b1571f0624078 (diff) | |
download | aur-f770f48f14fc489342dd94712cdb8d9ceca99f4d.tar.gz |
revision
-rw-r--r-- | .SRCINFO | 28 | ||||
-rw-r--r-- | PKGBUILD | 52 |
2 files changed, 33 insertions, 47 deletions
@@ -1,31 +1,25 @@ -# Generated by mksrcinfo v8 -# Sun Nov 6 19:22:38 UTC 2016 pkgbase = appstream-glib-git - pkgdesc = Provides GObjects and helper methods to make it easy to read and write AppStream metadata (git version) - pkgver = 0.6.4.r26.gb6d6c23 + pkgdesc = Objects and methods for reading and writing AppStream metadata + pkgver = 0.7.18.r40.gb6cb98e pkgrel = 1 - url = http://people.freedesktop.org/~hughsient/appstream-glib/ - arch = i686 + url = https://people.freedesktop.org/~hughsient/appstream-glib/ arch = x86_64 license = LGPL - makedepends = intltool - makedepends = git - makedepends = gtk-doc makedepends = gobject-introspection - makedepends = autoconf-archive + makedepends = gtk-doc + makedepends = git + makedepends = gperf + makedepends = meson depends = gtk3 depends = libyaml depends = pacman depends = gcab - depends = libstemmer depends = libsoup - provides = appdata-tools - provides = appstream-glib=0.6.4.r26.gb6d6c23 - conflicts = appdata-tools + depends = libstemmer + provides = appstream-glib + provides = libappstream-glib.so conflicts = appstream-glib - replaces = appdata-tools source = git+https://github.com/hughsie/appstream-glib.git - md5sums = SKIP + sha256sums = SKIP pkgname = appstream-glib-git - @@ -1,46 +1,38 @@ -# $Id$ -# Maintainer: Mirco Tischler <mt-ml@gmx.de> +# Maintainer: Fabio 'Lolix' Loli <fabio.loli@disroot.org> -> https://github.com/FabioLolix +# Contributor: Mirco Tischler <mt-ml@gmx.de> # Contributor: Jan de Groot <jgc@archlinux.org> -_pkgname=appstream-glib -pkgname=${_pkgname}-git -pkgver=0.6.4.r26.gb6d6c23 +pkgname=appstream-glib-git +pkgver=0.7.18.r40.gb6cb98e pkgrel=1 -pkgdesc="Provides GObjects and helper methods to make it easy to read and write AppStream metadata (git version)" -arch=('i686' 'x86_64') -url="http://people.freedesktop.org/~hughsient/appstream-glib/" -license=('LGPL') -depends=('gtk3' 'libyaml' 'pacman' 'gcab' 'libstemmer' 'libsoup') -makedepends=('intltool' 'git' 'gtk-doc' 'gobject-introspection' 'autoconf-archive') -provides=('appdata-tools' "appstream-glib=${pkgver}") -conflicts=('appdata-tools' 'appstream-glib') -replaces=('appdata-tools') -source=('git+https://github.com/hughsie/appstream-glib.git') -md5sums=('SKIP') +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=(appstream-glib libappstream-glib.so) +conflicts=(appstream-glib) +source=("git+https://github.com/hughsie/appstream-glib.git") +sha256sums=('SKIP') pkgver() { - cd "$_pkgname" - + cd "appstream-glib" git describe --always| sed 's|^appstream_glib_||;s|\([^-].\)-|\1-r|;s|[-_]|\.|g' } build() { - cd "$_pkgname" - ./autogen.sh --prefix=/usr \ - --enable-alpm \ - --enable-stemmer - #https://bugzilla.gnome.org/show_bug.cgi?id=655517 - sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool - - make + arch-meson appstream-glib build \ + -D alpm=true \ + -D gtk-doc=true \ + -D rpm=false + meson compile -C build } check() { - cd "$_pkgname" - make -k check || : + meson test -C build --print-errorlogs || true } package() { - cd "$_pkgname" - make DESTDIR="$pkgdir" install + DESTDIR="$pkgdir" meson install -C build } |