Skip to content

Instantly share code, notes, and snippets.

@kode54
Created July 8, 2014 23:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kode54/e862093f30e0a3a27bcb to your computer and use it in GitHub Desktop.
Save kode54/e862093f30e0a3a27bcb to your computer and use it in GitHub Desktop.
Updated Arch Linux PKGBUILD for multivnc-git
# Contributor: Max Devaine <maxdevaine@gmail.com>
# Contributor: Christopher Snowhill <chris@kode54.net>
pkgbase=multivnc-git
pkgname=$pkgbase
pkgver=1.6.4.r4.g18c96f6
pkgrel=1
pkgname='multivnc'
pkgdesc='MultiVNC is a cross-platform Multicast-enabled VNC viewer using wxWidgets and libvncclient'
arch=(i686 x86_64)
url='http://github.com/bk138/multivnc'
license=('GPL')
makedepends=('git')
conflicts=('multivnc')
provides=('multivnc')
source=("$pkgname"::'git+https://github.com/bk138/multivnc.git')
md5sums=('SKIP')
pkgver() {
cd "$srcdir/$pkgname"
git describe --long --tags | sed -r 's/AndroidMultiVNC-//;s/([^-]*-g)/r\1/;s/-/./g'
}
build() {
cd "$srcdir/$pkgname"
autoreconf -i
./configure --prefix=/usr
make || return 1
}
package() {
cd "$srcdir/$pkgname"
make DESTDIR="$pkgdir" install
}
#category: network
# vim:set ts=2 sw=2 et:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment