summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 86c73ba0df9c9ffc298c5ae80fcc1e162270c7d3 (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
# Maintainer: aksr <aksr at t-com dot me>
pkgname=fbvnc-git
pkgver=0.r42.ffa6928
pkgrel=1
pkgdesc="A small framebuffer vnc viewer."
arch=('i686' 'x86_64')
url="https://github.com/aligrudi/fbvnc"
license=('ISC')
makedepends=('git')
source=("$pkgname::git+$url")
md5sums=('SKIP')

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

build() {
	cd $srcdir/$pkgname
	make
}

package() {
	cd $srcdir/$pkgname
	install -Dm755 fbvnc $pkgdir/usr/bin/fbvnc
}