aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/libsecret/APKBUILD47
1 files changed, 47 insertions, 0 deletions
diff --git a/main/libsecret/APKBUILD b/main/libsecret/APKBUILD
new file mode 100644
index 0000000000..c355f41408
--- /dev/null
+++ b/main/libsecret/APKBUILD
@@ -0,0 +1,47 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=libsecret
+pkgver=0.15
+pkgrel=0
+pkgdesc="Library for storing and retrieving passwords and other secrets"
+url="https://live.gnome.org/Libsecret"
+arch="all"
+license="LGPLv2+"
+depends=""
+depends_dev="glib-dev"
+makedepends="$depends_dev intltool libxslt-dev docbook-xsl libgcrypt-dev
+ gobject-introspection-dev"
+install=""
+subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
+source="http://download.gnome.org/sources/libsecret/$pkgver/libsecret-$pkgver.tar.xz"
+
+_builddir="$srcdir"/libsecret-$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 --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --localstatedir=/var \
+ || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ rm -f "$pkgdir"/usr/lib/*.la
+}
+
+md5sums="51093b922823a7bdb5d7e951a9f2337f libsecret-0.15.tar.xz"
+sha256sums="33e728b843efbe099483376ff5a3469260ee4b6ce035c7730909ac3793cb0fb8 libsecret-0.15.tar.xz"
+sha512sums="d89f3b52c5300306b92b222a56c976e5c42f761c2a8691b0dbac9f533853a54f6dd91f9f22f577e336c77e9771dd3cb098963dab086759ead2750f2a8fce5dca libsecret-0.15.tar.xz"