From 7ef8f09122d491a73bd4fbfdbc7b8b7fc6b49fb9 Mon Sep 17 00:00:00 2001 From: John ShaggyTwoDope Jenkins Date: Tue, 8 Sep 2015 22:41:11 -0700 Subject: fix screw up --- .SRCINFO | 18 ++++++++---------- PKGBUILD | 22 +++++++--------------- 2 files changed, 15 insertions(+), 25 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 1c3c941..eabac2c 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,17 +1,15 @@ # 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 +# Wed Sep 9 05:41:02 UTC 2015 +pkgbase = clockr + pkgdesc = simple curses clock wirtten in python + pkgver = 0.1 pkgrel = 1 - url = https://github.com/shaggytwodope/clockr + url = https://github.com/jarun/google-cli arch = any license = MIT - makedepends = git depends = python - conflicts = clockr - source = git://github.com/shaggytwodope/clockr.git - md5sums = SKIP + source = https://github.com/shaggytwodope/clockr/archive/v0.1.tar.gz + md5sums = 01e83df419e6a18c95d06dd73c8ef811 -pkgname = clockr-git +pkgname = clockr diff --git a/PKGBUILD b/PKGBUILD index 9265f32..e27c36c 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,25 +1,17 @@ # Maintainer: John Jenkins -_pkgname=clockr -pkgname=clockr-git -pkgver=r2.8348d57 +pkgname=clockr +pkgver=0.1 pkgrel=1 -pkgdesc="simple curses clock written in python" +pkgdesc="simple curses clock wirtten in python" arch=('any') -url="https://github.com/shaggytwodope/clockr" +url="https://github.com/jarun/google-cli" 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)" -} +source=("https://github.com/shaggytwodope/clockr/archive/v$pkgver.tar.gz") +md5sums=('01e83df419e6a18c95d06dd73c8ef811') package() { - cd "$srcdir/$_pkgname" + cd "$srcdir/$pkgname-$pkgver" install -Dm755 clockr "${pkgdir}/usr/bin/clockr" } -- cgit v1.2.1