Skip to content
Snippets Groups Projects
Commit a0795d84 authored by Leo's avatar Leo Committed by Natanael Copa
Browse files

community/libgnome-keyring: modernize

- Fix license
- Remove unnecessary dependencies like gconf-dev and anything in
  depends_dev
- Use modern style
parent 7e7c5445
No related branches found
No related tags found
No related merge requests found
# Contributor: # Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer: # Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=libgnome-keyring pkgname=libgnome-keyring
pkgver=3.12.0 pkgver=3.12.0
pkgrel=1 pkgrel=2
pkgdesc="GNOME keyring" pkgdesc="GNOME keyring"
url="http://www.gnome.org" url="http://www.gnome.org"
arch="all" arch="all"
license="GPL" license="GPL-2.0-or-later LGPL-2.0-or-later"
depends="gnome-keyring" depends="gnome-keyring"
depends_dev="gtk+3.0-dev makedepends="dbus-dev glib-dev libgcrypt-dev intltool gobject-introspection-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"
subpackages="$pkgname-dev $pkgname-lang" subpackages="$pkgname-dev $pkgname-lang"
source="https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz" source="https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz"
builddir="$srcdir/$pkgname-$pkgver"
build() { build() {
cd "$builddir"
./configure \ ./configure \
--build=$CBUILD \ --build=$CBUILD \
--host=$CHOST \ --host=$CHOST \
--prefix=/usr \ --prefix=/usr \
--sysconfdir=/etc --sysconfdir=/etc \
--enable-introspection
make make
} }
check() { check() {
cd "$builddir"
make check make check
} }
package() { package() {
cd "$builddir"
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
make DESTDIR="$pkgdir" install make DESTDIR="$pkgdir" install
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment