2017-05-11 00:14:54 +02:00
|
|
|
# Template file for 'appstream-glib'
|
|
|
|
pkgname=appstream-glib
|
|
|
|
version=0.6.13
|
|
|
|
revision=1
|
|
|
|
build_style=gnu-configure
|
2017-05-13 10:13:16 +02:00
|
|
|
hostmakedepends="pkg-config intltool gobject-introspection automake gperf gcab"
|
2017-05-11 00:14:54 +02:00
|
|
|
# XXX: add libstemmer support
|
|
|
|
makedepends="gtk+3-devel libyaml-devel gcab-devel libsoup-devel libarchive-devel
|
|
|
|
json-glib-devel"
|
|
|
|
short_desc="Install and update applications"
|
|
|
|
maintainer="Enno Boland <gottox@voidlinux.eu>"
|
|
|
|
license="GPL-2"
|
|
|
|
homepage="https://people.freedesktop.org/~hughsient/appstream-glib/"
|
|
|
|
distfiles="$homepage/releases/$pkgname-$version.tar.xz"
|
|
|
|
checksum=1a3734b2cdaab55ad63c6e3ee31026fdceb122cecae39f9f7126a0305e8836bf
|
|
|
|
|
|
|
|
pre_build() {
|
|
|
|
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
|
|
|
|
}
|
|
|
|
|
|
|
|
post_install() {
|
|
|
|
rm -r $DESTDIR/usr/share/gtk-doc
|
|
|
|
}
|
|
|
|
|
|
|
|
appstream-glib-devel_package() {
|
|
|
|
depends="${sourcepkg}>=${version}_${revision} libarchive-devel gcab-devel"
|
|
|
|
short_desc+=" - development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove "usr/lib/*.a"
|
|
|
|
vmove "usr/lib/*.so"
|
|
|
|
}
|
|
|
|
}
|