summaryrefslogtreecommitdiff
path: root/repo/libsecret/libsecret.xibuild
blob: e62dcd7ec892b5d38433448a60807b00737ad852 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh

NAME="libsecret"
DESC="Library for storing and retrieving passwords and other secrets"

MAKEDEPS="glib intltool libxslt docbook-xsl libgcrypt gobject-introspection vala meson"

PKG_VER=0.20.4
SOURCE="https://download.gnome.org/sources/libsecret/${PKG_VER%.*}/libsecret-$PKG_VER.tar.xz"

build() {
	meson --prefix=/usr \
		--default-library=both \
		-Dgtk_doc=false \
		output
	meson compile ${JOBS:+-j ${JOBS}} -C output
}

package() {
	DESTDIR="$PKG_DEST" meson install --no-rebuild -C output
}