void-packages/srcpkgs/bamf/template

36 lines
1.0 KiB
Bash
Raw Normal View History

2015-07-20 06:47:14 +02:00
# Template file for 'bamf'
pkgname=bamf
2016-08-27 01:44:47 +02:00
version=0.5.3
revision=1
2015-07-20 06:47:14 +02:00
build_style=gnu-configure
2015-07-20 23:22:54 +02:00
hostmakedepends="glib-devel gtk-doc pkg-config python-lxml libxslt-python libxml2-python
vala-devel $(vopt_if gir gobject-introspection)"
2015-07-20 06:47:14 +02:00
makedepends="glib-devel libgtop-devel libwnck-devel"
short_desc="Application matching framework"
maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
license="LGPL-3"
homepage="https://launchpad.net/bamf"
distfiles="https://launchpad.net/bamf/${version%.*}/$version/+download/$pkgname-$version.tar.gz"
2016-08-27 01:44:47 +02:00
checksum=340d7b5a463afcd33135ae73a7e4cf6a93a4daaf6f72b70abc09dc66d18a3b14
2016-12-07 09:58:38 +01:00
CFLAGS="-Wno-cpp -Wno-deprecated-declarations"
2015-07-20 06:47:14 +02:00
build_options="gir"
if [ -z "$CROSS_BUILD" ]; then
2016-08-27 01:44:47 +02:00
build_options_default="gir"
2015-07-20 06:47:14 +02:00
fi
bamf-devel_package() {
short_desc+=" - development files"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
2015-07-20 06:47:14 +02:00
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/*.so
2015-07-20 06:47:14 +02:00
vmove usr/share/gtk-doc
if [ "$build_option_gir" ]; then
vmove usr/share/gir-1.0
2015-07-20 23:22:54 +02:00
vmove usr/share/vala
2015-07-20 06:47:14 +02:00
fi
}
}