void-packages/srcpkgs/libgksu/template

36 lines
1.1 KiB
Bash

# Template file for 'libgksu'
pkgname=libgksu
version=2.0.12
revision=2
build_style=gnu-configure
configure_args="--disable-static --disable-schemas-install --with-gconf-schema-file-dir=/usr/share/gconf/schemas"
hostmakedepends="automake libtool pkg-config intltool gtk-doc gettext-devel glib-devel GConf-devel"
makedepends="gtk+-devel GConf-devel libgnome-keyring-devel libgtop-devel startup-notification-devel"
short_desc="A gksu authorization library"
maintainer="Alexey Rochev <equeim@gmail.com>"
homepage="http://www.nongnu.org/gksu/index.html"
license="GPL-2"
distfiles="http://people.debian.org/~kov/gksu/$pkgname-$version.tar.gz"
checksum=22f9cfc3627dcb6774b9aff66c6ea6554f3b34b82bbfa2467b821e67874c3faf
patch_args="-Np1"
pre_configure() {
touch NEWS README
autoreconf -fi
}
post_install() {
rm -rf ${DESTDIR}/usr/share/gconf/schemas
}
libgksu-devel_package() {
depends="${sourcepkg}>=${version}_${revision} glib-devel startup-notification-devel libgnome-keyring-devel GConf-devel"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove usr/share/gtk-doc
}
}