diff options
author | Étienne Deparis | 2015-06-29 10:00:08 +0200 |
---|---|---|
committer | Étienne Deparis | 2015-06-29 10:00:08 +0200 |
commit | 9bedc1dd0ae7463fa12dcf1d53b0823f47f7fffa (patch) | |
tree | 7f2f54f05b0fa686d174fb68b9d31e3a7b0a4164 | |
parent | 06182b12cfb4d69f75bb835957a577de83fc34c9 (diff) | |
download | aur-9bedc1dd0ae7463fa12dcf1d53b0823f47f7fffa.tar.gz |
New pkgbuild version
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 17 |
2 files changed, 11 insertions, 12 deletions
@@ -1,14 +1,16 @@ # Generated by makepkg 4.2.1 -# Wed Jun 3 14:10:39 UTC 2015 +# Mon Jun 29 07:53:41 UTC 2015 pkgbase = khal-git pkgdesc = Command line CalDav client - pkgver = 0.6.0.r2.g0e7045c + pkgver = 0.5.1.dev53+ng56cb1f0 pkgrel = 1 url = http://lostpackets.de/khal/ install = khal.install arch = any license = MIT makedepends = python-setuptools + makedepends = python-setuptools_scm + makedepends = python-pkginfo makedepends = git makedepends = python-sphinxcontrib-newsfeed depends = python-urwid @@ -3,14 +3,16 @@ pkgname=khal-git _gitname=khal -pkgver=0.6.0.r2.g0e7045c +pkgver=0.5.1.dev53+ng56cb1f0 pkgrel=1 pkgdesc="Command line CalDav client" license=("MIT") url="http://lostpackets.de/khal/" depends=('python-urwid' 'python-xdg' 'vdirsyncer' 'python-dateutil' - 'python-configobj' 'python-tzlocal' 'python-icalendar' 'sqlite') -makedepends=('python-setuptools' 'git' 'python-sphinxcontrib-newsfeed') + 'python-configobj' 'python-tzlocal' 'python-icalendar' + 'sqlite') +makedepends=('python-setuptools' 'python-setuptools_scm' + 'python-pkginfo' 'git' 'python-sphinxcontrib-newsfeed') optdepends=('python-setproctitle: Display a clearer name in your process list') # I keep here python depencies... # python2-click, python2-icalendar come with the python2-vdirsyncer dependancy @@ -30,13 +32,8 @@ arch=('any') options=(!emptydirs) pkgver() { - cd "$srcdir/${_gitname}" - MAJOR=`sed -n "s/MAJOR\s\?=\s\?\(\d*\)/\1/p" version.py` - MINOR=`sed -n "s/MINOR\s\?=\s\?\(\d*\)/\1/p" version.py` - PATCH=`sed -n "s/PATCH\s\?=\s\?\(\d*\)/\1/p" version.py` - GITVER=`git describe --always --dirty --tags | cut -d- -f2- | sed -r 's/([^-]*-g)/r\1/;s/-/./g'` - - echo "${MAJOR}.${MINOR}.${PATCH}.${GITVER}" + cd "$srcdir/${_gitname}/" + python -c 'import setuptools_scm; print(setuptools_scm.get_version())' } build(){ |