summaryrefslogtreecommitdiff
path: root/extra/gtk-vnc/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/gtk-vnc/PKGBUILD')
-rw-r--r--extra/gtk-vnc/PKGBUILD18
1 files changed, 9 insertions, 9 deletions
diff --git a/extra/gtk-vnc/PKGBUILD b/extra/gtk-vnc/PKGBUILD
index a793618de..d31668f9b 100644
--- a/extra/gtk-vnc/PKGBUILD
+++ b/extra/gtk-vnc/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 142786 2011-11-15 06:28:23Z eric $
-# Maintainer:
+# $Id: PKGBUILD 156872 2012-04-23 09:08:01Z ibiru $
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
# Contributor: Jan de Groot <jgc@archlinux.org>
# Contributor: Allan McRae <mcrae_allan@hotmail.com>
# Contributor: lp76 <l.peduto@gmail.com>
pkgname=gtk-vnc
-pkgver=0.4.4
+pkgver=0.5.0
pkgrel=1
pkgdesc="A VNC viewer widget for GTK"
arch=('i686' 'x86_64')
@@ -16,13 +16,14 @@ optdepends=('gtk2: GTK2 widget')
makedepends=('intltool' 'pygtk' 'pygobject2-devel' 'gtk-doc' 'gtk2' 'vala' 'gobject-introspection')
options=('!libtool')
source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz)
-sha256sums=('c93fdb53c78b52a1cfa067c1a0be0b93d4adfc17ccea1215f20eeab2818308b7')
+sha256sums=('1de65d8ffa8c25a61a8e8c4b7e5963d4a826f4fcf7120d66ed027f5f70cc8f81')
build() {
- cd "$srcdir"
- cp -a $pkgname-$pkgver gtk3-build
+ rm -rf gtk2-build gtk3-build
+ cp -a $pkgname-$pkgver gtk2-build
+ mv $pkgname-$pkgver gtk3-build
- ( cd $pkgname-$pkgver
+ ( cd gtk2-build
PYTHON=/usr/bin/python2 ./configure --prefix=/usr \
--with-python --disable-static --with-gtk=2.0
make )
@@ -34,7 +35,6 @@ build() {
}
package() {
- cd "${srcdir}"
- make -C $pkgname-$pkgver -j1 DESTDIR="${pkgdir}" install
+ make -C gtk2-build -j1 DESTDIR="${pkgdir}" install
make -C gtk3-build -j1 DESTDIR="${pkgdir}" install
}