diff options
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 22 |
2 files changed, 15 insertions, 25 deletions
@@ -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 @@ -1,25 +1,17 @@ # Maintainer: John Jenkins <twodopeshaggy@gmail.com> -_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" } |