2012-03-21 10:57:10 +01:00
|
|
|
# Template file for 'gcr'
|
|
|
|
pkgname=gcr
|
2013-10-17 09:35:02 +02:00
|
|
|
version=3.10.1
|
2013-04-17 21:11:15 +02:00
|
|
|
revision=1
|
2012-03-21 10:57:10 +01:00
|
|
|
build_style=gnu-configure
|
2013-09-26 15:19:45 +02:00
|
|
|
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"
|
2012-03-21 10:57:10 +01:00
|
|
|
short_desc="GNOME crypto package"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
license="GPL-2, LGPL-2.1"
|
2012-09-25 15:48:13 +02:00
|
|
|
homepage="http://www.gnome.org"
|
2013-09-26 15:19:45 +02:00
|
|
|
distfiles="${GNOME_SITE}/gcr/${version%.*}/gcr-${version}.tar.xz"
|
2013-10-17 09:35:02 +02:00
|
|
|
checksum=006f4f5a54be00418346f28eac2b53f3e640e9c6aa389808cf846f861438645b
|
2012-03-21 10:57:10 +01:00
|
|
|
long_desc="
|
|
|
|
GCR is a library for displaying certificates, and crypto UI, accessing
|
|
|
|
key stores. It also provides the viewer for crypto files on the GNOME
|
|
|
|
desktop.
|
|
|
|
|
|
|
|
GCK is a library for accessing PKCS#11 modules like smart cards, in a
|
|
|
|
(G)object oriented way."
|
|
|
|
|
2012-11-14 16:13:41 +01:00
|
|
|
post_install() {
|
|
|
|
vinstall ${FILESDIR}/10-gcr-memlock.conf 644 etc/security/limits.d
|
|
|
|
}
|
2013-04-12 13:13:49 +02:00
|
|
|
|
|
|
|
gcr-devel_package() {
|
2013-04-17 21:11:15 +02:00
|
|
|
depends="libglib-devel p11-kit-devel gtk+3-devel gcr-${version}_${revision}"
|
2013-05-05 03:35:03 +02:00
|
|
|
short_desc+=" - development files"
|
2013-04-12 13:13:49 +02:00
|
|
|
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
|
2013-09-26 15:19:45 +02:00
|
|
|
vmove usr/share/vala
|
|
|
|
vmove "usr/lib/*.so"
|
2013-04-12 13:13:49 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
gcr_package() {
|
|
|
|
replaces="gnome-keyring<3.3.92"
|
|
|
|
depends="hicolor-icon-theme desktop-file-utils"
|
|
|
|
pkg_install() {
|
2013-05-05 03:35:03 +02:00
|
|
|
vmove all
|
2013-04-12 13:13:49 +02:00
|
|
|
}
|
|
|
|
}
|