Skip to content

Instantly share code, notes, and snippets.

@kode54
Created June 20, 2014 01:04
Show Gist options
  • Save kode54/c03b9a9e8b3203f222ee to your computer and use it in GitHub Desktop.
Save kode54/c03b9a9e8b3203f222ee to your computer and use it in GitHub Desktop.
Arch Linux PKGBUILD for multivnc-git
# Contributor: Max Devaine <maxdevaine@gmail.com>
# Contributor: Christopher Snowhill <chris@kode54.net>
pkgname=multivnc-git
pkgver=1.6.4.r3.g8a1bdfe
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')
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
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