aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-04-28 15:13:07 -0300
committerNatanael Copa <ncopa@alpinelinux.org>2019-04-30 09:58:37 +0000
commita0795d84d38cd958cfc05a8d41d30975a5778a02 (patch)
tree3ad2b42d10a682acecb6cfbb2902e2e78abeb9e2
parent7e7c54453a0214907e194f5b4137c223e2e303a6 (diff)
downloadaports-a0795d84d38cd958cfc05a8d41d30975a5778a02.tar.gz
aports-a0795d84d38cd958cfc05a8d41d30975a5778a02.tar.bz2
aports-a0795d84d38cd958cfc05a8d41d30975a5778a02.tar.xz
community/libgnome-keyring: modernize
- Fix license - Remove unnecessary dependencies like gconf-dev and anything in depends_dev - Use modern style
-rw-r--r--community/libgnome-keyring/APKBUILD36
1 files changed, 7 insertions, 29 deletions
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 <thinkabit.ukim@gmail.com>
+# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
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
}