From 0abb1942e8be584d56a1b35b2d1911cbe9f5bbd1 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 29 Sep 2011 23:14:32 +0000 Subject: Thu Sep 29 23:14:32 UTC 2011 --- testing/gnome-phone-manager/PKGBUILD | 32 ++++++++++++++++++++++ .../gnome-phone-manager.install | 17 ++++++++++++ 2 files changed, 49 insertions(+) create mode 100644 testing/gnome-phone-manager/PKGBUILD create mode 100644 testing/gnome-phone-manager/gnome-phone-manager.install (limited to 'testing/gnome-phone-manager') diff --git a/testing/gnome-phone-manager/PKGBUILD b/testing/gnome-phone-manager/PKGBUILD new file mode 100644 index 000000000..e55133299 --- /dev/null +++ b/testing/gnome-phone-manager/PKGBUILD @@ -0,0 +1,32 @@ +# $Id: PKGBUILD 138930 2011-09-28 19:30:39Z ibiru $ +# Maintainer: Roman Kyrylych + +pkgname=gnome-phone-manager +pkgver=0.67 +pkgrel=1 +pkgdesc="Control your mobile phone from your GNOME desktop." +arch=('i686' 'x86_64') +url="http://live.gnome.org/PhoneManager" +license=('GPL') +depends=('evolution-data-server' 'gnokii' 'gnome-bluetooth' 'gnome-icon-theme' 'libcanberra') +makedepends=('intltool' 'gnome-common') +options=('!emptydirs' '!libtool') +install=gnome-phone-manager.install +source=(http://ftp.gnome.org/pub/GNOME/sources/gnome-phone-manager/${pkgver}/${pkgname}-${pkgver}.tar.xz) +sha256sums=('bb21c57b8bbe0481bccb373765f9d42f260f6005f2d9c55878bfc511a5541caf') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure --prefix=/usr --sysconfdir=/etc \ + --localstatedir=/var --disable-static + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 install + + install -m755 -d "${pkgdir}/usr/share/gconf/schemas" + gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" --domain gnome-phone-manager ${pkgdir}/etc/gconf/schemas/*.schemas + rm -f ${pkgdir}/etc/gconf/schemas/*.schemas +} diff --git a/testing/gnome-phone-manager/gnome-phone-manager.install b/testing/gnome-phone-manager/gnome-phone-manager.install new file mode 100644 index 000000000..91212fa2e --- /dev/null +++ b/testing/gnome-phone-manager/gnome-phone-manager.install @@ -0,0 +1,17 @@ +pkgname=gnome-phone-manager + +post_install() { + usr/sbin/gconfpkg --install ${pkgname} +} + +pre_upgrade() { + pre_remove $1 +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + usr/sbin/gconfpkg --uninstall ${pkgname} +} -- cgit v1.2.3-54-g00ecf