diff options
author | John ShaggyTwoDope Jenkins <twodopeshaggy@gmail.com> | 2015-09-08 22:36:28 -0700 |
---|---|---|
committer | John ShaggyTwoDope Jenkins <twodopeshaggy@gmail.com> | 2015-09-08 22:36:28 -0700 |
commit | a30363094d002e7a752020d3dca7cd33587aa036 (patch) | |
tree | 6552fa270407a50f957ffdb4ba9ba2b14eef3da7 | |
download | clockr-a30363094d002e7a752020d3dca7cd33587aa036.tar.xz clockr-a30363094d002e7a752020d3dca7cd33587aa036.zip |
init commit
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 25 |
2 files changed, 42 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000..1c3c941 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +# Generated by mksrcinfo v7 +# Wed Sep 9 05:36:11 UTC 2015 +pkgbase = clockr-git + pkgdesc = simple curses clock written in python + pkgver = r2.8348d57 + pkgrel = 1 + url = https://github.com/shaggytwodope/clockr + arch = any + license = MIT + makedepends = git + depends = python + conflicts = clockr + source = git://github.com/shaggytwodope/clockr.git + md5sums = SKIP + +pkgname = clockr-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..9265f32 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,25 @@ +# Maintainer: John Jenkins <twodopeshaggy@gmail.com> + +_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" +} |