aboutsummaryrefslogtreecommitdiffstats
path: root/community/gnome-keyring/APKBUILD
blob: 0b41d0b28889f1afe0d22ea55b709e38ceee11ce (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.20.0
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="http://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="e09efe8021944dae404736b5a2adb98e  gnome-keyring-3.20.0.tar.xz
e70751be048bf0debabc6d3c5d10658e  fix-includes.patch"
sha256sums="bc17cecd748a0e46e302171d11c3ae3d76bba5258c441fabec3786f418e7ec99  gnome-keyring-3.20.0.tar.xz
eeab3d71e26585d65f40f443486177cde05d4819f8457e1ab24c7075c389cc6b  fix-includes.patch"
sha512sums="f7e6195b4be52edaee3bc3181f006ec31ebd54f8000c98220520f4158f66580b60950e4f55247aefae6aa9320f6589c8a09c1e32853165915ae5ff1b40627c5b  gnome-keyring-3.20.0.tar.xz
99af8b23c8b53bc1e70f921c872563b779c1ec59db72474b62e6d693f0d82d38b94607c8b9d53e751cf4a44873c91e283bc27d69f37433a37aa40e990caa1249  fix-includes.patch"