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/vino |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'extra/vino')
-rw-r--r-- | extra/vino/PKGBUILD | 33 | ||||
-rw-r--r-- | extra/vino/vino.install | 17 |
2 files changed, 50 insertions, 0 deletions
diff --git a/extra/vino/PKGBUILD b/extra/vino/PKGBUILD new file mode 100644 index 000000000..7298ca857 --- /dev/null +++ b/extra/vino/PKGBUILD @@ -0,0 +1,33 @@ +# $Id: PKGBUILD 112935 2011-03-07 19:28:46Z ibiru $ +# Maintainer: Jan de Groot <jgc@archlinux.org> + +pkgname=vino +pkgver=2.32.1 +pkgrel=1 +pkgdesc="a VNC server for the GNOME desktop" +arch=('i686' 'x86_64') +license=('GPL') +depends=('libnotify>=0.7.1' 'libxtst' 'libunique>=1.1.6' 'libsm' 'gconf>=2.32.0' 'libsoup>=2.32.1' 'telepathy-glib>=0.12.4' 'gtk2>=2.22.1' + 'libgnome-keyring>=2.32' 'avahi>=0.6.27') +makedepends=('intltool' 'networkmanager') +groups=('gnome-extra') +url="http://www.gnome.org" +options=(!emptydirs) +install=vino.install +source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/2.32/${pkgname}-${pkgver}.tar.bz2) +sha256sums=('8ec3cb84216323660d6301e02f5853f928789c20be68ded538dd849eafac4087') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure --prefix=/usr --sysconfdir=/etc \ + --libexecdir=/usr/lib/vino \ + --localstatedir=/var \ + --enable-gnome-keyring \ + --enable-avahi + make + 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" --domain vino ${pkgdir}/etc/gconf/schemas/*.schemas + rm -f ${pkgdir}/etc/gconf/schemas/*.schemas +} diff --git a/extra/vino/vino.install b/extra/vino/vino.install new file mode 100644 index 000000000..3bc7d3917 --- /dev/null +++ b/extra/vino/vino.install @@ -0,0 +1,17 @@ +pkgname=vino + +post_install() { + usr/sbin/gconfpkg --install ${pkgname} +} + +pre_upgrade() { + pre_remove $1 +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + usr/sbin/gconfpkg --uninstall ${pkgname} +} |