35 lines
1.0 KiB
Bash
35 lines
1.0 KiB
Bash
# Template file for 'appstream-glib'
|
|
pkgname=appstream-glib
|
|
version=0.6.13
|
|
revision=2
|
|
build_style=gnu-configure
|
|
hostmakedepends="pkg-config intltool gobject-introspection automake gperf gcab"
|
|
# 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 gdk-pixbuf-devel"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.a"
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|