void-packages/srcpkgs/libgksu/template
Juan RP 1c5f4690e6 xbps-src: always require current srcpkgs version in build dependencies.
That means that version comparators are not supported anymore in
hostmakedepends and makedepends.

This will ensure that a pkg is always built with the same build dependencies
everywhere, if the srcpkgs tree is uptodate.
2015-03-27 10:59:58 +01:00

35 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
}
}