diff options
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 6 insertions, 6 deletions
@@ -1,7 +1,7 @@ pkgbase = autoenv-git pkgdesc = Directory based enviroments - pkgver = 1.0.0.r102.c4bc3f5 - pkgrel = 2 + pkgver = 0.2.0.r187.7eb70ec + pkgrel = 1 url = https://github.com/kennethreitz/autoenv install = autoenv.install arch = any @@ -10,7 +10,7 @@ pkgbase = autoenv-git depends = bash optdepends = zsh: if you prefer zsh over bash conflicts = autoenv - source = git+https://github.com/kennethreitz/autoenv.git + source = autoenv-git::git+https://github.com/kennethreitz/autoenv.git sha256sums = SKIP pkgname = autoenv-git @@ -7,7 +7,7 @@ pkgdesc='Directory based enviroments' arch=('any') url='https://github.com/kennethreitz/autoenv' license=('custom') -source=('git+https://github.com/kennethreitz/autoenv.git') +source=("$pkgname"::'git+https://github.com/kennethreitz/autoenv.git') sha256sums=('SKIP') depends=('bash') optdepends=('zsh: if you prefer zsh over bash') @@ -16,9 +16,9 @@ makedepends=('git') conflicts=('autoenv') pkgver() { - cd autoenv + cd "$pkgname" set -o pipefail - git describe --long | sed -r 's/([^-]*-g)/r\1/;s/-/./g' || + # git describe --tags --long | sed -r 's/([^-]*-g)/r\1/;s/-/./g' || # If there is a setup.py then pull the version tag from the file if [ -f "setup.py" ]; then |