[arch-commits] Commit in (gcr gcr/trunk gcr/trunk/PKGBUILD gcr/trunk/gcr.install)
Ionut Biru
ibiru at archlinux.org
Tue Mar 6 18:57:38 UTC 2012
Date: Tuesday, March 6, 2012 @ 13:57:37
Author: ibiru
Revision: 152420
new package
Added:
gcr/
gcr/trunk/
gcr/trunk/PKGBUILD
gcr/trunk/gcr.install
-------------+
PKGBUILD | 33 +++++++++++++++++++++++++++++++++
gcr.install | 14 ++++++++++++++
2 files changed, 47 insertions(+)
Added: gcr/trunk/PKGBUILD
===================================================================
--- gcr/trunk/PKGBUILD (rev 0)
+++ gcr/trunk/PKGBUILD 2012-03-06 18:57:37 UTC (rev 152420)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Ionut Biru <ibiru at 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:
Property changes on: gcr/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
Added: gcr/trunk/gcr.install
===================================================================
--- gcr/trunk/gcr.install (rev 0)
+++ gcr/trunk/gcr.install 2012-03-06 18:57:37 UTC (rev 152420)
@@ -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
+}
More information about the arch-commits
mailing list