From dcc55a1cfa32068d0759c1c8307f6c07c11aec99 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 19 Oct 2012 08:15:39 -0700 Subject: Fri Oct 19 08:15:38 PDT 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..ef21fdbbd --- /dev/null +++ b/testing/gcr/PKGBUILD @@ -0,0 +1,33 @@ +# $Id: PKGBUILD 169249 2012-10-18 19:28:14Z jgc $ +# Maintainer: Ionut Biru + +pkgname=gcr +pkgver=3.6.1 +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=('d95f8b70bdcc371c2712ba166e124114bd99bbde1173c0cbe7a8462f146a9927') + +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