ff9543e79f
It fails for all architectures and seems to be wrong. Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
39 lines
1.1 KiB
Bash
39 lines
1.1 KiB
Bash
# Template file for 'bamf'
|
|
pkgname=bamf
|
|
version=0.5.3
|
|
revision=2
|
|
build_style=gnu-configure
|
|
hostmakedepends="glib-devel gtk-doc pkg-config python-lxml libxslt-python libxml2-python
|
|
vala-devel $(vopt_if gir gobject-introspection)"
|
|
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"
|
|
checksum=340d7b5a463afcd33135ae73a7e4cf6a93a4daaf6f72b70abc09dc66d18a3b14
|
|
CFLAGS="-Wno-cpp -Wno-deprecated-declarations"
|
|
|
|
build_options="gir"
|
|
if [ -z "$CROSS_BUILD" ]; then
|
|
build_options_default="gir"
|
|
fi
|
|
|
|
pre_configure() {
|
|
sed -i configure -e 's;if !($PYTHON -c "import libxslt, libxml2" 2> /dev/null);if false;'
|
|
}
|
|
|
|
bamf-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove usr/lib/*.so
|
|
vmove usr/share/gtk-doc
|
|
if [ "$build_option_gir" ]; then
|
|
vmove usr/share/gir-1.0
|
|
vmove usr/share/vala
|
|
fi
|
|
}
|
|
}
|