diff options
author | Radek Podgorny | 2017-05-17 02:08:32 +0200 |
---|---|---|
committer | Radek Podgorny | 2017-05-17 02:08:32 +0200 |
commit | 873898f0215b0a36573952603471b06aee52c270 (patch) | |
tree | af4d1c8e4182604126c45f2a4384c516407ee5a8 | |
download | aur-873898f0215b0a36573952603471b06aee52c270.tar.gz |
initial commit
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 30 |
2 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..ff075c8dad5b --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = vncsnapshot-git + pkgdesc = VNC snapshots + pkgver = r3.2680fcc + pkgrel = 1 + url = https://github.com/rpodgorny/VNCsnapshot + arch = i686 + arch = x86_64 + license = unknown + provides = vncsnapshot + conflicts = vncsnapshot + source = vncsnapshot::git+https://github.com/rpodgorny/VNCsnapshot + sha256sums = SKIP + +pkgname = vncsnapshot-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..f9e3edc96918 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: Radek Podgorny <radek@podgorny.cz + +pkgname=vncsnapshot-git +pkgver=r3.2680fcc +pkgrel=1 +pkgdesc='VNC snapshots' +arch=('i686' 'x86_64') +url='https://github.com/rpodgorny/VNCsnapshot' +license=('unknown') +provides=('vncsnapshot') +conflicts=('vncsnapshot') +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/ +} |