[arch-commits] Commit in gnome-contacts/trunk (PKGBUILD gnome-contacts.install)

Jan Steffens heftig at archlinux.org
Sun Mar 11 06:33:31 UTC 2012


    Date: Sunday, March 11, 2012 @ 01:33:31
  Author: heftig
Revision: 152996

3.3.90

Added:
  gnome-contacts/trunk/gnome-contacts.install
Modified:
  gnome-contacts/trunk/PKGBUILD

------------------------+
 PKGBUILD               |   14 +++++++-------
 gnome-contacts.install |   11 +++++++++++
 2 files changed, 18 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-03-11 06:32:53 UTC (rev 152995)
+++ PKGBUILD	2012-03-11 06:33:31 UTC (rev 152996)
@@ -2,7 +2,7 @@
 # Maintainer: Ionut Biru <ibiru at archlinux.org>
 
 pkgname=gnome-contacts
-pkgver=3.2.2
+pkgver=3.3.90
 pkgrel=1
 pkgdesc="Contacts Manager for GNOME"
 arch=(i686 x86_64)
@@ -11,19 +11,19 @@
 groups=(gnome-extra)
 depends=('gtk3' 'folks' 'libnotify' 'gnome-desktop')
 makedepends=('intltool' 'vala')
-install=
-source=(http://download.gnome.org/sources/$pkgname/3.2/$pkgname-$pkgver.tar.xz)
-sha256sums=('9dfd56a40f3b89512a09d9e54c18227ae4bfe9b4cff87a72f7e17f6a35367d88')
+install=$pkgname.install
+source=(http://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz)
+sha256sums=('bc1450a0e4df81a7d88df0827a674c0c203f0a3e57703c053def6529a50be0f6')
 
 build() {
-  cd "$srcdir/$pkgname-$pkgver"
+  cd $pkgname-$pkgver
   ./configure --prefix=/usr
   make
 }
 
 package() {
-  cd "$srcdir/$pkgname-$pkgver"
-  make DESTDIR="$pkgdir/" install
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
 }
 
 # vim:set ts=2 sw=2 et:

Added: gnome-contacts.install
===================================================================
--- gnome-contacts.install	                        (rev 0)
+++ gnome-contacts.install	2012-03-11 06:33:31 UTC (rev 152996)
@@ -0,0 +1,11 @@
+post_install() {
+  glib-compile-schemas usr/share/glib-2.0/schemas
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+  post_install
+}




More information about the arch-commits mailing list