diff options
Diffstat (limited to 'testing/gnome-pilot')
-rw-r--r-- | testing/gnome-pilot/PKGBUILD | 35 | ||||
-rw-r--r-- | testing/gnome-pilot/gnome-pilot.install | 17 |
2 files changed, 52 insertions, 0 deletions
diff --git a/testing/gnome-pilot/PKGBUILD b/testing/gnome-pilot/PKGBUILD new file mode 100644 index 000000000..5a3614314 --- /dev/null +++ b/testing/gnome-pilot/PKGBUILD @@ -0,0 +1,35 @@ +# $Id: PKGBUILD 138932 2011-09-28 19:30:42Z ibiru $ +# Jan de Groot <jgc@archlinux.org> + +pkgname=gnome-pilot +pkgver=2.91.93 +pkgrel=1 +pkgdesc="Pilot Support for Gnome" +arch=(i686 x86_64) +license=('GPL') +depends=('pilot-link' 'evolution-data-server') +makedepends=('intltool' 'gob2' 'gnome-doc-utils' 'gnome-panel') +optdepends=('gnome-panel') +options=('!libtool' '!emptydirs') +url="http://www.gnome.org" +install=gnome-pilot.install +source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz) +sha256sums=('56fbb1c54621dcda9cde4c7ac0754d5d9d68ae2ae1eb63acffb00817e4a8dd21') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure --prefix=/usr --sysconfdir=/etc \ + --libexecdir=/usr/lib/gnome-pilot \ + --localstatedir=/var --disable-static \ + --without-hal + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install + + install -m755 -d "${pkgdir}/usr/share/gconf/schemas" + gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" ${pkgdir}/etc/gconf/schemas/*.schemas + rm -f ${pkgdir}/etc/gconf/schemas/*.schemas +} diff --git a/testing/gnome-pilot/gnome-pilot.install b/testing/gnome-pilot/gnome-pilot.install new file mode 100644 index 000000000..616daa0e4 --- /dev/null +++ b/testing/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} +} |