void-packages/srcpkgs/libgksu/template

36 lines
1.1 KiB
Text
Raw Normal View History

2014-12-03 15:26:33 +00:00
# Template file for 'libgksu'
pkgname=libgksu
version=2.0.12
revision=1
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"
2014-12-03 19:15:32 +00:00
makedepends="gtk+-devel GConf-devel libgnome-keyring-devel libgtop-devel startup-notification-devel"
short_desc="A gksu authorization library"
2014-12-03 15:26:33 +00:00
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
}
2014-12-03 15:26:33 +00:00
libgksu-devel_package() {
2014-12-03 19:15:32 +00:00
depends="${sourcepkg}>=${version}_${revision} glib-devel startup-notification-devel libgnome-keyring-devel GConf-devel"
2014-12-03 15:26:33 +00:00
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove usr/share/gtk-doc
}
}