diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -1,7 +1,7 @@ # Maintainer: Adam Goldsmith <contact@adamgoldsmith.name> pkgname=opencamlib-git -pkgver=1 +pkgver=11.10.64.g89c21a2 pkgrel=1 pkgdesc="Multi-Purpose CNC Toolpath Library" arch=('i686' 'x86_64') @@ -14,6 +14,11 @@ conflicts=('opencamlib') source=("git+https://github.com/aewallin/opencamlib.git" 'CMakeLists.txt.patch') md5sums=('SKIP' 'c76fcdacce09047308509caf50a8cd5a') +pkgver() { + cd opencamlib + git describe --tags | sed 's/-/./g' +} + prepare() { cd "$srcdir/opencamlib/src" patch < $srcdir/CMakeLists.txt.patch |