void-packages/srcpkgs/gcr/template
2014-02-19 15:35:16 +01:00

36 lines
1.2 KiB
Text

# Template file for 'gcr'
pkgname=gcr
version=3.10.1
revision=2
build_style=gnu-configure
configure_args="--enable-introspection --disable-update-mime
--disable-update-icon-cache --disable-schemas-compile"
hostmakedepends="which pkg-config intltool gnome-doc-utils
gobject-introspection libtasn1-tools gnupg perl-XML-Parser"
makedepends="gtk+3-devel p11-kit-devel libgcrypt-devel vala-devel"
depends="hicolor-icon-theme desktop-file-utils"
replaces="gnome-keyring<3.3.92"
short_desc="GNOME crypto package"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2, LGPL-2.1"
homepage="http://www.gnome.org"
distfiles="${GNOME_SITE}/gcr/${version%.*}/gcr-${version}.tar.xz"
checksum=006f4f5a54be00418346f28eac2b53f3e640e9c6aa389808cf846f861438645b
post_install() {
vinstall ${FILESDIR}/10-gcr-memlock.conf 644 etc/security/limits.d
}
gcr-devel_package() {
depends="libglib-devel p11-kit-devel gtk+3-devel gcr>=${version}_${revision}"
short_desc+=" - development files"
replaces="gnome-keyring-devel<3.3.92"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/share/gtk-doc
vmove usr/share/gir-1.0
vmove usr/share/vala
vmove "usr/lib/*.so"
}
}