diff options
author | Johannes Löthberg <johannes@kyriasis.com> | 2015-04-29 16:32:53 +0200 |
---|---|---|
committer | Johannes Löthberg <johannes@kyriasis.com> | 2015-06-01 16:03:46 +0200 |
commit | 116ca20ae786adcf092f2120b269805179de02b7 (patch) | |
tree | a4e1ee8091f8e48a5999ad9fcd56ac11af81200c /PKGBUILD | |
download | pkgbuilds-116ca20ae786adcf092f2120b269805179de02b7.tar.xz |
import ptpst-git
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..8da9f5a --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,29 @@ +pkgname=ptpst-git +pkgver=0.r37.36e1852 +pkgrel=1 + +pkgdesc='A small tool to interact with pb deployments' +url="https://github.com/HalosGhost/ptpst" +arch=('i686' 'x86_64') +license=('GPL2') + +depends=('curl') +makedepends=('git' 'tup' 'clang') + +source=(git+https://github.com/HalosGhost/ptpst.git) +sha256sums=('SKIP') + +pkgver () { + cd ptpst + printf '0.r%s.%s' "$(git rev-list --count HEAD)" "$(git log -1 --pretty=format:%h)" +} + +build () { + cd ptpst + tup upd +} + +package () { + cd ptpst + install -Dm755 src/ptpst "$pkgdir"/usr/bin/ptpst +} |