From a0795d84d38cd958cfc05a8d41d30975a5778a02 Mon Sep 17 00:00:00 2001 From: Leo Date: Sun, 28 Apr 2019 15:13:07 -0300 Subject: community/libgnome-keyring: modernize - Fix license - Remove unnecessary dependencies like gconf-dev and anything in depends_dev - Use modern style --- community/libgnome-keyring/APKBUILD | 36 +++++++----------------------------- 1 file changed, 7 insertions(+), 29 deletions(-) (limited to 'community/libgnome-keyring') diff --git a/community/libgnome-keyring/APKBUILD b/community/libgnome-keyring/APKBUILD index 6a53aec31e..110cb2e6e2 100644 --- a/community/libgnome-keyring/APKBUILD +++ b/community/libgnome-keyring/APKBUILD @@ -1,54 +1,32 @@ -# Contributor: -# Maintainer: +# Contributor: Leo +# Maintainer: Rasmus Thomsen pkgname=libgnome-keyring pkgver=3.12.0 -pkgrel=1 +pkgrel=2 pkgdesc="GNOME keyring" url="http://www.gnome.org" arch="all" -license="GPL" +license="GPL-2.0-or-later LGPL-2.0-or-later" depends="gnome-keyring" -depends_dev="gtk+3.0-dev - gconf-dev - libx11-dev - gnome-doc-utils - libgnome-dev - libwnck-dev - - libgcrypt-dev - libtasn1-dev - - libxcursor-dev - libxcomposite-dev - libxi-dev - libxau-dev - libxdmcp-dev - libxext-dev - libxcb-dev" -makedepends="$depends_dev intltool gobject-introspection-dev" +makedepends="dbus-dev glib-dev libgcrypt-dev intltool gobject-introspection-dev" subpackages="$pkgname-dev $pkgname-lang" source="https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz" -builddir="$srcdir/$pkgname-$pkgver" - build() { - cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ - --sysconfdir=/etc + --sysconfdir=/etc \ + --enable-introspection make } check() { - cd "$builddir" make check } package() { - cd "$builddir" - export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 make DESTDIR="$pkgdir" install } -- cgit v1.2.3