diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /extra/gnome-pilot |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'extra/gnome-pilot')
-rw-r--r-- | extra/gnome-pilot/PKGBUILD | 35 | ||||
-rw-r--r-- | extra/gnome-pilot/gnome-pilot.install | 17 |
2 files changed, 52 insertions, 0 deletions
diff --git a/extra/gnome-pilot/PKGBUILD b/extra/gnome-pilot/PKGBUILD new file mode 100644 index 000000000..aa400cb3a --- /dev/null +++ b/extra/gnome-pilot/PKGBUILD @@ -0,0 +1,35 @@ +# $Id: PKGBUILD 91505 2010-09-27 09:43:43Z ibiru $ +# Jan de Groot <jgc@archlinux.org> + +pkgname=gnome-pilot +pkgver=2.32.0 +pkgrel=1 +pkgdesc="Pilot Support for Gnome" +arch=(i686 x86_64) +license=('GPL') +depends=('pilot-link>=0.12.5' 'evolution-data-server>=2.31.92') +makedepends=('pkgconfig' 'intltool' 'gob2' 'gnome-doc-utils>=0.20.1' 'gnome-panel-bonobo>=2.31.92') +optdepends=('gnome-panel') +options=('!libtool' '!emptydirs') +url="http://www.gnome.org" +install=gnome-pilot.install +source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/2.32/${pkgname}-${pkgver}.tar.bz2) +sha256sums=('2b62b1c3578f51c9eceaed4cb49c841ae700a172787a8bcdc04768c59cb26bbf') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure --prefix=/usr --sysconfdir=/etc \ + --libexecdir=/usr/lib/gnome-pilot \ + --localstatedir=/var --disable-static \ + --without-hal + make + make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install + + rm -f "${pkgdir}/usr/share/applications/gpilot-applet.desktop" + + install -m755 -d "${pkgdir}/usr/share/gconf/schemas" + gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" ${pkgdir}/etc/gconf/schemas/*.schemas || return 1 + rm -f ${pkgdir}/etc/gconf/schemas/*.schemas + + rm -f "${pkgdir}/usr/lib/gnome-pilot/gpilot-applet" +} diff --git a/extra/gnome-pilot/gnome-pilot.install b/extra/gnome-pilot/gnome-pilot.install new file mode 100644 index 000000000..616daa0e4 --- /dev/null +++ b/extra/gnome-pilot/gnome-pilot.install @@ -0,0 +1,17 @@ +pkgname=gnome-pilot + +post_install() { + usr/sbin/gconfpkg --install ${pkgname} +} + +pre_upgrade() { + pre_remove $1 +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + usr/sbin/gconfpkg --uninstall ${pkgname} +} |