From 98bf2ac3fdd6f7bcb6ce45c932fc13c07fecc03f Mon Sep 17 00:00:00 2001 From: root Date: Wed, 25 Apr 2012 00:01:35 +0000 Subject: Wed Apr 25 00:01:35 UTC 2012 --- extra/gnome-contacts/PKGBUILD | 16 ++++++++-------- extra/gnome-contacts/gnome-contacts.install | 11 +++++++++++ 2 files changed, 19 insertions(+), 8 deletions(-) create mode 100644 extra/gnome-contacts/gnome-contacts.install (limited to 'extra/gnome-contacts') diff --git a/extra/gnome-contacts/PKGBUILD b/extra/gnome-contacts/PKGBUILD index ccbdbcb4e..065987150 100644 --- a/extra/gnome-contacts/PKGBUILD +++ b/extra/gnome-contacts/PKGBUILD @@ -1,8 +1,8 @@ -# $Id: PKGBUILD 141004 2011-10-21 08:06:14Z ibiru $ +# $Id: PKGBUILD 156806 2012-04-23 09:06:13Z ibiru $ # Maintainer: Ionut Biru pkgname=gnome-contacts -pkgver=3.2.2 +pkgver=3.4.0 pkgrel=1 pkgdesc="Contacts Manager for GNOME" arch=(i686 x86_64) @@ -11,19 +11,19 @@ license=('GPL2') 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=('06d4d8fc22d72f67296ed98d35e3ee40f26d8344bcbd14affff4a720047ccd97') 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: diff --git a/extra/gnome-contacts/gnome-contacts.install b/extra/gnome-contacts/gnome-contacts.install new file mode 100644 index 000000000..326aa98a2 --- /dev/null +++ b/extra/gnome-contacts/gnome-contacts.install @@ -0,0 +1,11 @@ +post_install() { + glib-compile-schemas usr/share/glib-2.0/schemas +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} -- cgit v1.2.3-54-g00ecf