Commit b000d423 authored by Chaoting Liu's avatar Chaoting Liu

appstream-glib: import as flatpak dependency

parent 197bc26a
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=appstream-glib
pkgver=0.7.15
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)
_commit=0ab28ff96b74eb72ffe3c3a53026aee82cf31782 # tags/appstream_glib_0_7_15^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() {
chakra-meson $pkgname build \
-D alpm=true \
-D gtk-doc=true \
-D rpm=false
ninja -C build
}
check() {
meson test -C build
}
package() {
DESTDIR="$pkgdir" meson install -C build
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment