From c7cb603f86b4d4fb6567e3faa15b916a306f7004 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 3 Apr 2012 00:01:35 +0000 Subject: Tue Apr 3 00:01:35 UTC 2012 --- .../contacts/0001-Fix-Makefile-whitespace.patch | 19 ++++++++++++ community-testing/contacts/PKGBUILD | 34 ++++++++++++++++++++++ community-testing/contacts/contacts.install | 24 +++++++++++++++ 3 files changed, 77 insertions(+) create mode 100644 community-testing/contacts/0001-Fix-Makefile-whitespace.patch create mode 100644 community-testing/contacts/PKGBUILD create mode 100644 community-testing/contacts/contacts.install (limited to 'community-testing/contacts') diff --git a/community-testing/contacts/0001-Fix-Makefile-whitespace.patch b/community-testing/contacts/0001-Fix-Makefile-whitespace.patch new file mode 100644 index 000000000..3c6e3b5f9 --- /dev/null +++ b/community-testing/contacts/0001-Fix-Makefile-whitespace.patch @@ -0,0 +1,19 @@ +From d69e65a87e58059fb7876987b4369d932ac35e17 Mon Sep 17 00:00:00 2001 +From: Joshua Lock +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 +--- +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-testing/contacts/PKGBUILD b/community-testing/contacts/PKGBUILD new file mode 100644 index 000000000..a2fb71ad6 --- /dev/null +++ b/community-testing/contacts/PKGBUILD @@ -0,0 +1,34 @@ +# $Id: PKGBUILD 68782 2012-04-01 22:05:25Z bgyorgy $ +# Maintainer: Balló György + +pkgname=contacts +pkgver=0.12 +pkgrel=6 +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-testing/contacts/contacts.install b/community-testing/contacts/contacts.install new file mode 100644 index 000000000..f52f6a097 --- /dev/null +++ b/community-testing/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 +} -- cgit v1.2.3-54-g00ecf