blob: 0b08c12fb19d22b852ac50b07726f2b095ab3fe9 (
plain)
1 # Description: Objects and methods for reading and writing AppStream metadata
2 # URL: https://people.freedesktop.org/~hughsient/appstream-glib/
3 # Maintainer: Tim Biermann, tbier at posteo dot de
4 # Depends on: gtk3 json-glib keyutils krb5 libsoup libyaml
5 # Optional: docbook-xsl snowball
6
7 name=appstream-glib
8 version=0.7.18
9 release=1
10 source=(https://people.freedesktop.org/~hughsient/appstream-glib/releases/$name-$version.tar.xz)
11
12 build() {
13 [[ -f /usr/lib/libstemmer.so ]] && PKGMK_APPSTREAM_GLIB=' -Dstemmer=true' || PKGMK_APPSTREAM_GLIB=' -Dstemmer=false'
14 meson setup $name-$version build $PKGMK_APPSTREAM_GLIB \
15 -Dprefix=/usr \
16 -Dbuildtype=plain \
17 -Db_ndebug=true \
18 -Drpm=false \
19 -Dgtk-doc=false
20 meson compile -C build
21 DESTDIR=$PKG meson install -C build
22 rm -fr $PKG/usr/share/locale
23 }
|