24 lines
818 B
Plaintext
24 lines
818 B
Plaintext
# Description: Objects and methods for reading and writing AppStream metadata
|
|
# URL: https://people.freedesktop.org/~hughsient/appstream-glib/
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
|
# Depends on: gtk3 json-glib keyutils krb5 libsoup libyaml
|
|
# Optional: docbook-xsl snowball
|
|
|
|
name=appstream-glib
|
|
version=0.7.18
|
|
release=1
|
|
source=(https://people.freedesktop.org/~hughsient/appstream-glib/releases/$name-$version.tar.xz)
|
|
|
|
build() {
|
|
[[ -f /usr/lib/libstemmer.so ]] && PKGMK_APPSTREAM_GLIB=' -Dstemmer=true' || PKGMK_APPSTREAM_GLIB=' -Dstemmer=false'
|
|
meson setup $name-$version build $PKGMK_APPSTREAM_GLIB \
|
|
-Dprefix=/usr \
|
|
-Dbuildtype=plain \
|
|
-Db_ndebug=true \
|
|
-Drpm=false \
|
|
-Dgtk-doc=false
|
|
meson compile -C build
|
|
DESTDIR=$PKG meson install -C build
|
|
rm -fr $PKG/usr/share/locale
|
|
}
|