updated on Sat Jan 21 20:03:50 UTC 2012
[aur-mirror.git] / vncsnapshot / PKGBUILD
blob231409c1f26f740688962ed7c2e259c644c91111
1 # Maintainer: TDY <tdy@gmx.com>
3 pkgname=vncsnapshot
4 pkgver=1.2a
5 pkgrel=1
6 pkgdesc="A command line utility for saving VNC server snapshots as JPEG files"
7 arch=('i686' 'x86_64')
8 url="http://sourceforge.net/projects/vncsnapshot/"
9 license=('GPL')
10 depends=('libjpeg' 'zlib>=1.1.4')
11 source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver-src.tar.bz2)
12 md5sums=('6abf3c0c5bbfde70d51fa09edfb717da')
14 build() {
15   cd "$srcdir/$pkgname-$pkgver"
16   sed -i 's#usr/local#usr#' Makefile
17   make || return 1
18   install -Dm755 $pkgname "$pkgdir/usr/bin/$pkgname"
19   install -Dm644 $pkgname.man1 "$pkgdir/usr/share/man/man1/$pkgname.1"