diff options
-rw-r--r-- | PKGBUILD | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -16,7 +16,7 @@ source=($pkgname::git://github.com/gitless-vcs/gitless.git) md5sums=('SKIP') # since the sources aren't static pkgver() { - cd "$srcdir/${pkgname%}" + cd "$srcdir/${pkgname%}" # The examples below are not absolute and need to be adapted to each repo. The # primary goal is to generate version numbers that will increase according to @@ -24,10 +24,10 @@ pkgver() { # VERSION='VER_NUM.rREV_NUM.HASH', or a relevant subset in case VER_NUM or HASH # are not available, is recommended. - printf "%s" "$(git describe --long | cut -d'-' -f2,3 | sed 's/-/./')" + printf "%s" "$(git describe --long | cut -d'-' -f2,3 | sed 's/-/./')" } package() { - cd "$srcdir/${pkgname%}" - python setup.py install --root=${pkgdir} --optimize=2 + cd "$srcdir/${pkgname%}" + python setup.py install --root=${pkgdir} --optimize=2 } |