From a30363094d002e7a752020d3dca7cd33587aa036 Mon Sep 17 00:00:00 2001 From: John ShaggyTwoDope Jenkins Date: Tue, 8 Sep 2015 22:36:28 -0700 Subject: init commit --- PKGBUILD | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 PKGBUILD (limited to 'PKGBUILD') diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..9265f32 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,25 @@ +# Maintainer: John Jenkins + +_pkgname=clockr +pkgname=clockr-git +pkgver=r2.8348d57 +pkgrel=1 +pkgdesc="simple curses clock written in python" +arch=('any') +url="https://github.com/shaggytwodope/clockr" +license=('MIT') +depends=('python') +makedepends=('git') +conflicts=('clockr') +source=('git://github.com/shaggytwodope/clockr.git') +md5sums=('SKIP') + +pkgver() { + cd $srcdir/$_pkgname + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +package() { + cd "$srcdir/$_pkgname" + install -Dm755 clockr "${pkgdir}/usr/bin/clockr" +} -- cgit v1.2.1