aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2019-04-30 08:52:04 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2019-04-30 09:01:27 +0000
commit7d17c90e04304a4c22279de4ed0b3c68cbffd9a5 (patch)
treedc6e003ab81041abda6c63fc15f1122353bb8df8
parent944575e4d8286fb897dcbf96d429efc1a142f6ee (diff)
downloadaports-7d17c90e04304a4c22279de4ed0b3c68cbffd9a5.tar.gz
aports-7d17c90e04304a4c22279de4ed0b3c68cbffd9a5.tar.bz2
aports-7d17c90e04304a4c22279de4ed0b3c68cbffd9a5.tar.xz
main/libsecret: upgrade to 0.18.8, enabled vala bindings, update APKBUILD
-rw-r--r--main/libsecret/APKBUILD40
1 files changed, 16 insertions, 24 deletions
diff --git a/main/libsecret/APKBUILD b/main/libsecret/APKBUILD
index 894d932fb2..0991217ec0 100644
--- a/main/libsecret/APKBUILD
+++ b/main/libsecret/APKBUILD
@@ -1,32 +1,18 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libsecret
-pkgver=0.18.6
+pkgver=0.18.8
pkgrel=0
pkgdesc="Library for storing and retrieving passwords and other secrets"
url="https://live.gnome.org/Libsecret"
arch="all"
license="LGPL-2.0-or-later"
-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"
+makedepends="glib-dev intltool libxslt-dev docbook-xsl libgcrypt-dev
+ gobject-introspection-dev vala"
+subpackages="$pkgname-static $pkgname-dev $pkgname-doc $pkgname-lang"
source="https://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
-}
+builddir="$srcdir"/libsecret-$pkgver
build() {
- cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -35,13 +21,19 @@ build() {
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--localstatedir=/var \
- || return 1
- make || return 1
+ make
}
package() {
- cd "$_builddir"
- make DESTDIR="$pkgdir" install || return 1
+ make DESTDIR="$pkgdir" install
}
-sha512sums="4997519762f1470cfc0a4b3a791362d030af3c9b6ce6f58f8f8073b3a8adeea9b8caacedc884163997081dc39f395f9172330dbb41fed45d6c43ac5809de48e3 libsecret-0.18.6.tar.xz"
+static() {
+ pkgdesc="Static files for $pkgname"
+
+ mkdir -p "$subpkgdir"/usr/lib
+ mv "$pkgdir"/usr/lib/*.a "$subpkgdir"/usr/lib/
+ chmod -x "$subpkgdir"/usr/lib/*.a
+}
+
+sha512sums="9e2ec8d458af6ed078bf3c6d956599f73f2cc7720332c424e9aede1f77f3d969c5122cf7b70899bc07ad96a3a628bf79bc5fffa88274d1ef2bcaaca6719f90d4 libsecret-0.18.8.tar.xz"