PKGBUILDs/extra/gnome-phone-manager/PKGBUILD
2009-10-09 21:23:22 -05:00

28 lines
1.1 KiB
Bash

# $Id: PKGBUILD 35292 2009-04-11 21:39:00Z jgc $
# Maintainer: Roman Kyrylych <roman@archlinux.org>
pkgname=gnome-phone-manager
pkgver=0.60
pkgrel=4
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.26.0' 'gnokii>=0.6.27-5' 'gnome-bluetooth>=0.12.0' 'gstreamer0.10>=0.10.22' 'gnome-icon-theme>=2.26.0' 'gtkspell')
makedepends=('intltool')
options=('!emptydirs')
install=gnome-phone-manager.install
source=(http://ftp.gnome.org/pub/GNOME/sources/gnome-phone-manager/0.60/${pkgname}-${pkgver}.tar.bz2)
md5sums=('f9497833b24c0100dc844853f434a9e2')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr --sysconfdir=/etc \
--localstatedir=/var || return 1
make || return 1
make DESTDIR="${pkgdir}" install || return 1
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 || return 1
rm -f ${pkgdir}/etc/gconf/schemas/*.schemas
}