[arch-commits] Commit in telepathy-haze/trunk (PKGBUILD telepathy-haze.install)

Ionut Biru ibiru at archlinux.org
Tue Jun 22 09:10:39 UTC 2010


    Date: Tuesday, June 22, 2010 @ 05:10:39
  Author: ibiru
Revision: 83621

upgpkg: telepathy-haze 0.3.5-1
update to 0.3.5

Added:
  telepathy-haze/trunk/telepathy-haze.install
Modified:
  telepathy-haze/trunk/PKGBUILD

------------------------+
 PKGBUILD               |   22 +++++++++++-----------
 telepathy-haze.install |   13 +++++++++++++
 2 files changed, 24 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-06-22 09:10:12 UTC (rev 83620)
+++ PKGBUILD	2010-06-22 09:10:39 UTC (rev 83621)
@@ -2,25 +2,25 @@
 # Maintainer: Ionut Biru <ibiru at archlinux.org>
 # Contributor: Timm Preetz <timm at preetz.us>
 pkgname=telepathy-haze
-pkgver=0.3.4
-pkgrel=2
+pkgver=0.3.5
+pkgrel=1
 pkgdesc="A telepathy-backend to use libpurple (Pidgin) protocols."
 arch=('i686' 'x86_64')
 url="http://telepathy.freedesktop.org"
 license=('GPL')
-depends=('telepathy-glib>=0.10.5' 'libpurple>=2.7.0')
+depends=('telepathy-glib' 'libpurple')
 makedepends=('libxslt')
+install=telepathy-haze.install
 groups=('telepathy')
-source=(http://telepathy.freedesktop.org/releases/$pkgname/$pkgname-$pkgver.tar.gz)
-md5sums=('100b022f14165c2097f530139a02693b')
+source=(http://telepathy.freedesktop.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.gz)
+md5sums=('9c652f07c15d5a06ba2b6166b46b256b')
 
 build() {
-  cd "$srcdir/$pkgname-$pkgver"
-  ./configure --prefix=/usr \
-  	--libexecdir=/usr/lib/telepathy || return 1
-  make || return 1
-  make DESTDIR="$pkgdir" install || return 1
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  ./configure --prefix=/usr --libexecdir=/usr/lib/telepathy
+  make
+  make DESTDIR="${pkgdir}" install
 
   #remove manager, upstream suggested and it would be removed in the near future
-  rm -rf "$pkgdir/usr/share/telepathy/managers"
+  rm -rf "${pkgdir}/usr/share/telepathy/managers"
 }

Added: telepathy-haze.install
===================================================================
--- telepathy-haze.install	                        (rev 0)
+++ telepathy-haze.install	2010-06-22 09:10:39 UTC (rev 83621)
@@ -0,0 +1,13 @@
+post_install() {
+  killall -HUP dbus-daemon 2>&1
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+post_remove() {
+  post_install $1
+}
+
+# vim:set ts=2 sw=2 et:




More information about the arch-commits mailing list