aboutsummaryrefslogtreecommitdiffstats
path: root/community/gnome-keyring/APKBUILD
blob: bdf51c88872c92e428f4b0185ef01a4dfc61e9fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=gnome-keyring
pkgver=3.18.3
pkgrel=0
pkgdesc="GNOME keyring"
url="http://www.gnome.org"
arch="all"
license="GPL"
depends=
depends_dev="gtk+3.0-dev
	gcr-dev
	libcap-ng-dev"
makedepends="$depends_dev gtk-doc intltool gobject-introspection-dev"
install=
subpackages="$pkgname-lang $pkgname-doc"
source="ftp://ftp.gnome.org/pub/GNOME/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz
	fix-includes.patch
	"

_builddir="${srcdir}/${pkgname}-${pkgver}"

prepare() {
	local i
	cd "$_builddir"
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
}

build() {
	cd "$_builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		|| return 1
	make || return 1
}

package() {
	cd "$_builddir"

	export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
	make DESTDIR="$pkgdir" install || return 1
}

md5sums="b92e33a9d28998e3e3dfd025d4424cb7  gnome-keyring-3.18.3.tar.xz
e70751be048bf0debabc6d3c5d10658e  fix-includes.patch"
sha256sums="3f670dd61789bdda75b9c9e31e289bf7b1d23ba012433474790081ba7dc0ed98  gnome-keyring-3.18.3.tar.xz
eeab3d71e26585d65f40f443486177cde05d4819f8457e1ab24c7075c389cc6b  fix-includes.patch"
sha512sums="123819218477cd9b617d9cc2c1d10483d9c790bb90edd5b20298a1ba38aeef10dcddf85fcb6b9b92969dd64e53caaaf825b5cbb741e57461050be4973e8c2f78  gnome-keyring-3.18.3.tar.xz
99af8b23c8b53bc1e70f921c872563b779c1ec59db72474b62e6d693f0d82d38b94607c8b9d53e751cf4a44873c91e283bc27d69f37433a37aa40e990caa1249  fix-includes.patch"