diff options
author | Dylon Edwards | 2018-04-29 15:07:43 -0700 |
---|---|---|
committer | Dylon Edwards | 2018-04-29 15:07:43 -0700 |
commit | 4a6bd4f34c029e83e3bda6a2c360f2ec0765ba5f (patch) | |
tree | 7b722e61dbfaa8dbbb2cc6a70d40cf38a26e017c /PKGBUILD | |
parent | f2315991758b170b8d6065b51ce1efca19411ec5 (diff) | |
download | aur-4a6bd4f34c029e83e3bda6a2c360f2ec0765ba5f.tar.gz |
Fixes pkgver to be in the expected format
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -3,9 +3,9 @@ pkgbase=open3d pkgname=( {,python-}open3d ) -pkgver=v0.1.2.r3.fb969e1 -pkgrel=2 -epoch=1 +pkgver=0.1.2 +pkgrel=1 +epoch=2 pkgdesc="A Modern Library for 3D Data Processing" arch=('x86_64') url="http://www.open-3d.org" @@ -28,6 +28,7 @@ makedepends=( cmake gawk make + sed ) changelog="${pkgbase}.changelog" source=("${pkgbase}::git+http://code.open-3d.org") @@ -36,8 +37,7 @@ md5sums=(SKIP) function pkgver() { cd "${pkgbase}" # grab the latest tag - git describe --tags --long \ - | sed 's/\([^-]*-\)g/r\1/;s/-/./g' + git describe --tags --abbrev=0 | sed -e 's/^v\?//' } function prepare() { |