summaryrefslogtreecommitdiff
path: root/user/libsecret/APKBUILD
blob: 4fc79e95b31874efcca8764d1afdcbea5975f50f (plain) (blame)
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
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=libsecret
pkgver=0.18.7
pkgrel=0
pkgdesc="Library for storing and retrieving passphrases"
url="https://wiki.gnome.org/Projects/Libsecret"
arch="all"
options="!check"  # Test suites require DBus-Python.
license="LGPL-2.1+ AND LGPL-2.0+"
depends=""
makedepends="docbook-xsl glib-dev gobject-introspection-dev libgcrypt-dev
	libxslt"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="https://ftp.acc.umu.se/pub/gnome/sources/libsecret/0.18/libsecret-$pkgver.tar.xz"

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check() {
	cd "$builddir"
	make check
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="a8890ec52dcfba585fd665ee89e81f4a1d6a04b67bcf4f3422f27973a4ef6fc1281bf54e92160d39dd696ae08a633bab5fe25c1124baf32eb5b414e98ddfa084  libsecret-0.18.7.tar.xz"