void-packages/srcpkgs/libxfce4ui/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

33 lines
1 KiB
Bash

# Template file for 'libxfce4ui'
pkgname=libxfce4ui
version=4.12.1
revision=1
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="xfce4-dev-tools pkg-config intltool glib-devel gettext-devel"
makedepends="gtk+-devel libxfce4util-devel xfconf-devel dbus-glib-devel
libxml2-devel startup-notification-devel libSM-devel"
conf_files="/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml"
short_desc="Replacement of the old libxfcegui4 library"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2, LGPL-2.1"
homepage="http://xfce.org"
distfiles="http://archive.xfce.org/src/xfce/${pkgname}/${version%.*}/${pkgname}-${version}.tar.bz2"
checksum=3d619811bfbe7478bb984c16543d980cadd08586365a7bc25e59e3ca6384ff43
pre_configure() {
mkdir m4
NOCONFIGURE=1 xdt-autogen
}
libxfce4ui-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove usr/share/gtk-doc
}
}