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

23 lines
990 B
Bash

# Template file for 'gconf-editor'
pkgname=gconf-editor
version=3.0.1
revision=2
build_style=gnu-configure
configure_args="--disable-schemas-install --disable-scrollkeeper
--with-gconf-schema-file-dir=/usr/share/gconf/schemas"
hostmakedepends="which pkg-config intltool itstool gnome-doc-utils"
makedepends="libxml2-devel gtk+3-devel gsettings-desktop-schemas-devel
hicolor-icon-theme desktop-file-utils GConf-devel"
depends="gsettings-desktop-schemas>=3.10 hicolor-icon-theme desktop-file-utils"
short_desc="Graphical editor to maintain the Gnome registry"
maintainer="Enno Boland <eb@s01.de>"
homepage="http://www.gnome.org"
license="GPL-2"
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
checksum=3064e84967b4b4216f5c7e065cfec8c52019438a590e9ed81366af2770660944
post_install() {
mv ${DESTDIR}/usr/share/gconf/schemas/*.schemas ${wrksrc}
gconf-merge-schema ${DESTDIR}/usr/share/gconf/schemas/${pkgname}.schemas \
--domain ${pkgname} ${wrksrc}/*.schemas
}