From c7cb603f86b4d4fb6567e3faa15b916a306f7004 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 3 Apr 2012 00:01:35 +0000 Subject: Tue Apr 3 00:01:35 UTC 2012 --- testing/gcr/PKGBUILD | 33 +++++++++++++++++++++++++++++++++ testing/gcr/gcr.install | 14 ++++++++++++++ 2 files changed, 47 insertions(+) create mode 100644 testing/gcr/PKGBUILD create mode 100644 testing/gcr/gcr.install (limited to 'testing/gcr') diff --git a/testing/gcr/PKGBUILD b/testing/gcr/PKGBUILD new file mode 100644 index 000000000..58191df8d --- /dev/null +++ b/testing/gcr/PKGBUILD @@ -0,0 +1,33 @@ +# $Id: PKGBUILD 155072 2012-04-01 11:32:07Z heftig $ +# Maintainer: Ionut Biru + +pkgname=gcr +pkgver=3.4.0 +pkgrel=1 +pkgdesc="A library for bits of crypto UI and parsing" +arch=(i686 x86_64) +url="http://www.gnome.org" +license=('GPL2') +depends=('dconf' 'desktop-file-utils' 'gtk3' 'hicolor-icon-theme' 'libgcrypt') +makedepends=('intltool' 'gobject-introspection') +options=(!libtool) +install=gcr.install +source=(http://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz) +sha256sums=('6cb92178a04b5ea335102b43027420c200fe6a053e5e2009ffae91914a268106') + +build() { + cd "$pkgname-$pkgver" + ./configure --prefix=/usr \ + --libexec=/usr/lib/gcr \ + --disable-static \ + --disable-update-mime \ + --disable-schemas-compile + make +} + +package() { + cd "$pkgname-$pkgver" + make DESTDIR="$pkgdir" install +} + +# vim:set ts=2 sw=2 et: diff --git a/testing/gcr/gcr.install b/testing/gcr/gcr.install new file mode 100644 index 000000000..8677671c4 --- /dev/null +++ b/testing/gcr/gcr.install @@ -0,0 +1,14 @@ +post_install () { + glib-compile-schemas /usr/share/glib-2.0/schemas + gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor + update-mime-database /usr/share/mime &> /dev/null + update-desktop-database -q +} + +post_upgrade () { + post_install +} + +post_remove() { + post_install +} -- cgit v1.2.3-54-g00ecf