diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2013-04-09 09:37:46 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-04-09 13:20:59 +0000 |
commit | a60cbe3f5df02e6f302813484dd61ebf01dc23d3 (patch) | |
tree | 7122d4a1d1beec758fa509170be7013d6d0e1864 | |
parent | 6a4feadf1f151aa590a8e1a28824acfdd4983713 (diff) | |
download | aports-a60cbe3f5df02e6f302813484dd61ebf01dc23d3.tar.bz2 aports-a60cbe3f5df02e6f302813484dd61ebf01dc23d3.tar.xz |
main/libsecret: new aport
Library for storing and retrieving passwords and other secrets
https://live.gnome.org/Libsecret
-rw-r--r-- | main/libsecret/APKBUILD | 47 |
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" |