summaryrefslogtreecommitdiff
path: root/user/libsecret/APKBUILD
blob: 23846af809524235aceabdbbc4664af753002c6e (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
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=libsecret
pkgver=0.20.3
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 vala-dev"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="https://ftp.acc.umu.se/pub/gnome/sources/libsecret/${pkgver%.*}/libsecret-$pkgver.tar.xz"

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

check() {
	make check
}

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

sha512sums="020e1954e0965f33ee15f35e1f439b6c1650322a9112078f7a3e265cee83ad99d217ae3b363fbadc06c5cb0941f7e544d91da72e5be1c6b96992c071e6170c22  libsecret-0.20.3.tar.xz"