summaryrefslogtreecommitdiff
path: root/gnome-unstable/gcr
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-03-08 00:01:27 +0000
committerroot <root@rshg054.dnsready.net>2012-03-08 00:01:27 +0000
commit718c8e57ef26498cff228de3de92bf5c8a3f6343 (patch)
treebff46acd12c91eafe51a7feebb7f840e9834cc0e /gnome-unstable/gcr
parent5a680f7689b01b4b7a0bfade1a6c1f659f8cbed4 (diff)
Thu Mar 8 00:01:27 UTC 2012
Diffstat (limited to 'gnome-unstable/gcr')
-rw-r--r--gnome-unstable/gcr/PKGBUILD33
-rw-r--r--gnome-unstable/gcr/gcr.install14
2 files changed, 47 insertions, 0 deletions
diff --git a/gnome-unstable/gcr/PKGBUILD b/gnome-unstable/gcr/PKGBUILD
new file mode 100644
index 000000000..307992366
--- /dev/null
+++ b/gnome-unstable/gcr/PKGBUILD
@@ -0,0 +1,33 @@
+# $Id: PKGBUILD 152423 2012-03-06 19:08:24Z ibiru $
+# Maintainer: Ionut Biru <ibiru@archlinux.org>
+
+pkgname=gcr
+pkgver=3.3.90
+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=('d827f1447af270f9e35319502b1001883283758db26b17395b3b6a6063c82301')
+
+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/gnome-unstable/gcr/gcr.install b/gnome-unstable/gcr/gcr.install
new file mode 100644
index 000000000..8677671c4
--- /dev/null
+++ b/gnome-unstable/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
+}