From 116ca20ae786adcf092f2120b269805179de02b7 Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Wed, 29 Apr 2015 16:32:53 +0200 Subject: import ptpst-git --- .SRCINFO | 19 +++++++++++++++++++ PKGBUILD | 29 +++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+) create mode 100644 .SRCINFO create mode 100644 PKGBUILD diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000..3942c96 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,19 @@ +# Generated by makepkg 4.2.1 +# Mon Jun 1 15:00:18 UTC 2015 +pkgbase = ptpst-git + pkgdesc = A small tool to interact with pb deployments + pkgver = 0.r37.36e1852 + pkgrel = 1 + url = https://github.com/HalosGhost/ptpst + arch = i686 + arch = x86_64 + license = GPL2 + makedepends = git + makedepends = tup + makedepends = clang + depends = curl + source = git+https://github.com/HalosGhost/ptpst.git + sha256sums = SKIP + +pkgname = ptpst-git + 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 +} -- cgit v1.2.3-70-g09d2