updated on Tue Jan 10 16:09:17 UTC 2012
[aur-mirror.git] / vino-avahi / PKGBUILD
blobdb20b743d2f44a6dcea36e5e58e72d1393b18701
1 # $Id: PKGBUILD 74343 2010-03-30 20:02:59Z ibiru $
2 # Maintainer: W. Kyle <kyle_white@hotmail.com>
4 pkgname=vino-avahi
5 pkgver=2.28.2
6 pkgrel=1
7 pkgdesc="a VNC server for the GNOME desktop, with avahi (bonjour/mdns) broadcasting enabled"
8 arch=('i686' 'x86_64')
9 license=('GPL')
10 depends=('libnotify>=0.4.5' 'libxtst' 'libunique>=1.1.2' 'libsm' 'gconf>=2.28.1' 'libsoup>=2.30.0' 'telepathy-glib>=0.10.1' 'gtk2>=2.20')
11 makedepends=('pkgconfig' 'intltool' 'networkmanager' 'libgnome-keyring>=2.29.4')
12 conflicts=('vino')
13 url="http://www.gnome.org"
14 options=(!emptydirs)
15 install=vino-avahi.install
16 source=(http://ftp.gnome.org/pub/gnome/sources/vino/2.28/vino-${pkgver}.tar.bz2)
17 sha256sums=('f2a0b7c77fe58f3918b202a9f0f4ae3295518ac43eeceade0875b096038a72e0')
19 build() {
20   cd "${srcdir}/vino-${pkgver}"
21   ./configure --prefix=/usr --sysconfdir=/etc \
22       --libexecdir=/usr/lib/vino --enable-avahi \
23       --localstatedir=/var || return 1
24   make || return 1
25   make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install || return 1
26   
27   install -m755 -d "${pkgdir}/usr/share/gconf/schemas"
28   gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/vino.schemas" --domain vino ${pkgdir}/etc/gconf/schemas/*.schemas || return 1
29   rm -f ${pkgdir}/etc/gconf/schemas/*.schemas