34 lines
941 B
Bash
34 lines
941 B
Bash
|
# Template file for 'bamf'
|
||
|
pkgname=bamf
|
||
|
version=0.5.1
|
||
|
revision=1
|
||
|
build_style=gnu-configure
|
||
|
hostmakedepends="gtk-doc pkg-config python-lxml libxslt-python libxml2-python
|
||
|
$(vopt_if gir 'gobject-introspection vala-devel')"
|
||
|
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=fb65e6d0d7330f06626e43b0f3828bdeb5678d69133396e770a8781b9988fd16
|
||
|
|
||
|
build_options="gir"
|
||
|
if [ -z "$CROSS_BUILD" ]; then
|
||
|
build_options_default+="gir"
|
||
|
fi
|
||
|
|
||
|
bamf-devel_package() {
|
||
|
short_desc+=" - development files"
|
||
|
depends="bamf"
|
||
|
pkg_install() {
|
||
|
vmove usr/include
|
||
|
vmove usr/lib/pkgconfig
|
||
|
vmove usr/share/gtk-doc
|
||
|
if [ "$build_option_gir" ]; then
|
||
|
vmove usr/share/gir-1.0
|
||
|
fi
|
||
|
vmove usr/share/vala
|
||
|
}
|
||
|
}
|