diff options
author | root <root@rshg054.dnsready.net> | 2012-03-27 00:01:20 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-03-27 00:01:20 +0000 |
commit | c8729cab8302ab82e01135a22fb9fa9704f1559b (patch) | |
tree | f272d52815dcaf543aaf60177bdfc7d28e22e201 /community/contacts | |
parent | cf507a0dbf5ee8258e49256049b420ac8e191387 (diff) |
Tue Mar 27 00:01:20 UTC 2012
Diffstat (limited to 'community/contacts')
-rw-r--r-- | community/contacts/0001-Fix-Makefile-whitespace.patch | 19 | ||||
-rw-r--r-- | community/contacts/PKGBUILD | 34 | ||||
-rw-r--r-- | community/contacts/contacts.install | 24 |
3 files changed, 77 insertions, 0 deletions
diff --git a/community/contacts/0001-Fix-Makefile-whitespace.patch b/community/contacts/0001-Fix-Makefile-whitespace.patch new file mode 100644 index 000000000..3c6e3b5f9 --- /dev/null +++ b/community/contacts/0001-Fix-Makefile-whitespace.patch @@ -0,0 +1,19 @@ +From d69e65a87e58059fb7876987b4369d932ac35e17 Mon Sep 17 00:00:00 2001 +From: Joshua Lock <josh@linux.intel.com> +Date: Wed, 15 Dec 2010 14:06:44 +0000 +Subject: Fix Makefile whitespace for the new improved strict make 3.82 + +Signed-off-by: Joshua Lock <josh@linux.intel.com> +--- +diff --git a/Makefile.am b/Makefile.am +index 7c36d37..0a24f3d 100644 +--- a/Makefile.am ++++ b/Makefile.am +@@ -11,4 +11,4 @@ DISTCLEANFILES = $(INTLTOOL_BUILT) + MAINTAINERCLEANFILES = aclocal.m4 compile config.guess config.sub configure depcomp $(INTLTOOL_BUILT:=.in) install-sh ltmain.sh mkinstalldirs Makefile.in missing + + snapshot: +- $(MAKE) dist distdir=$(PACKAGE)-snap`date +"%Y%m%d"` ++ $(MAKE) dist distdir=$(PACKAGE)-snap`date +"%Y%m%d"` +-- +cgit v0.9.0.2 diff --git a/community/contacts/PKGBUILD b/community/contacts/PKGBUILD new file mode 100644 index 000000000..901bdae52 --- /dev/null +++ b/community/contacts/PKGBUILD @@ -0,0 +1,34 @@ +# $Id: PKGBUILD 68465 2012-03-25 08:49:14Z bgyorgy $ +# Maintainer: Balló György <ballogyor+arch at gmail dot com> + +pkgname=contacts +pkgver=0.12 +pkgrel=5 +pkgdesc="Small, lightweight GTK+ address book app" +arch=('i686' 'x86_64') +url="http://pimlico-project.org/contacts.html" +license=('GPL') +depends=('gtk2' 'evolution-data-server' 'desktop-file-utils' 'xdg-utils') +makedepends=('intltool') +install=$pkgname.install +source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/$pkgver/$pkgname-$pkgver.tar.bz2 + 0001-Fix-Makefile-whitespace.patch) +sha256sums=('0993f34819b92e09ab64e8a90231afc3178a19a4a99cf02c3050f51a44850782' + 'f6e3879c1aacbb62e481d9c1c33679ae12f986a26a96b112ec4d7f5f3358efbf') + +build() { + cd "$srcdir/$pkgname-$pkgver" + patch -Np1 -i "$srcdir/0001-Fix-Makefile-whitespace.patch" + + autoreconf -fi + ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ + --disable-static --disable-schemas-install --disable-gnome-vfs \ + --with-gconf-schema-file-dir=/usr/share/gconf/schemas + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + make DESTDIR="$pkgdir/" install +} diff --git a/community/contacts/contacts.install b/community/contacts/contacts.install new file mode 100644 index 000000000..f52f6a097 --- /dev/null +++ b/community/contacts/contacts.install @@ -0,0 +1,24 @@ +pkgname=contacts + +post_install() { + gconfpkg --install $pkgname + update-desktop-database -q + xdg-icon-resource forceupdate +} + +pre_upgrade() { + pre_remove $1 +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + gconfpkg --uninstall $pkgname +} + +post_remove() { + update-desktop-database -q + xdg-icon-resource forceupdate +} |