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-phone-manager |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'extra/gnome-phone-manager')
-rw-r--r-- | extra/gnome-phone-manager/PKGBUILD | 28 | ||||
-rw-r--r-- | extra/gnome-phone-manager/gnome-phone-manager.install | 17 |
2 files changed, 45 insertions, 0 deletions
diff --git a/extra/gnome-phone-manager/PKGBUILD b/extra/gnome-phone-manager/PKGBUILD new file mode 100644 index 000000000..ac4f8d245 --- /dev/null +++ b/extra/gnome-phone-manager/PKGBUILD @@ -0,0 +1,28 @@ +# $Id: PKGBUILD 91582 2010-09-27 13:16:18Z ibiru $ +# Maintainer: Roman Kyrylych <roman@archlinux.org> + +pkgname=gnome-phone-manager +pkgver=0.65 +pkgrel=3 +pkgdesc="Control your mobile phone from your GNOME 2 desktop." +arch=('i686' 'x86_64') +url="http://live.gnome.org/PhoneManager" +license=('GPL') +depends=('evolution-data-server>=2.31.92' 'gnokii>=0.6.29' 'gnome-bluetooth>=2.31.90' 'gnome-icon-theme>=2.30.3' 'gtkspell' 'libcanberra>=0.25' 'libglade') +makedepends=('intltool') +options=('!emptydirs') +install=gnome-phone-manager.install +source=(http://ftp.gnome.org/pub/GNOME/sources/gnome-phone-manager/0.65/${pkgname}-${pkgver}.tar.bz2) +sha256sums=('7fd6854702446133511650e0a24698a71bf4096a11546a25b453d5dd74890e96') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure --prefix=/usr --sysconfdir=/etc \ + --localstatedir=/var + make + make DESTDIR="${pkgdir}" 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/extra/gnome-phone-manager/gnome-phone-manager.install b/extra/gnome-phone-manager/gnome-phone-manager.install new file mode 100644 index 000000000..91212fa2e --- /dev/null +++ b/extra/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} +} |