diff --git a/libsecret/PKGBUILD b/libsecret/PKGBUILD new file mode 100644 index 000000000..5d1f99a4b --- /dev/null +++ b/libsecret/PKGBUILD @@ -0,0 +1,35 @@ + +pkgname=libsecret +pkgver=0.18.5+14+g9980655 +pkgrel=1 +pkgdesc="Library for storing and retrieving passwords and other secrets" +arch=(x86_64) +license=(LGPL) +url="https://wiki.gnome.org/Projects/Libsecret" +depends=(glib2) +makedepends=(intltool docbook-xsl gobject-introspection vala git gtk-doc) +_commit=998065599c66055dcffa1ef1ddebb947ccd68248 # master +source=("git+https://git.gnome.org/browse/libsecret#commit=$_commit") +sha256sums=('SKIP') + +pkgver() { + cd $pkgname + git describe --tags | sed 's/-/+/g' +} + +prepare() { + cd $pkgname + NOCONFIGURE=1 ./autogen.sh +} + +build() { + cd $pkgname + ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ + --disable-static --disable-gcrypt --enable-gtk-doc=no + make +} + +package() { + cd $pkgname + make DESTDIR="$pkgdir" install +}