summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1735a05f8c3351d2cafe2be6c9bdf3dcd57e8c1d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Maintainer: Radek Podgorny <radek@podgorny.cz

pkgname=vncsnapshot-git
pkgver=r8.26a2ff5
pkgrel=1
pkgdesc='VNC snapshots'
arch=('i686' 'x86_64')
url='https://github.com/rpodgorny/VNCsnapshot'
license=('unknown')
provides=('vncsnapshot')
conflicts=('vncsnapshot')
depends=('libjpeg-turbo')
source=(${pkgname%-git}::git+https://github.com/rpodgorny/VNCsnapshot)
sha256sums=('SKIP')
#options=('!makeflags')

pkgver() {
  cd ${pkgname%-git}
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
  cd ${pkgname%-git}
  make
}

package() {
  cd ${pkgname%-git}
  install -d $pkgdir/usr/bin
  cp vncsnapshot $pkgdir/usr/bin/
}