diff options
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 7 |
2 files changed, 7 insertions, 2 deletions
@@ -1,6 +1,6 @@ pkgbase = python-pyclipper-git pkgdesc = Cython wrapper for the C++ translation of the Angus Johnsons Clipper library - pkgver = 1.3.0.post4.r0.ge349e2b + pkgver = 1.3.0.post5.r3.g410553d pkgrel = 1 url = https://github.com/fonttools/pyclipper arch = any @@ -1,7 +1,7 @@ # Maintainer: taotieren <admin@taotieren.com> pkgname=python-pyclipper-git -pkgver=1.3.0.post4.r0.ge349e2b +pkgver=1.3.0.post5.r3.g410553d pkgrel=1 pkgdesc='Cython wrapper for the C++ translation of the Angus Johnsons Clipper library' url='https://github.com/fonttools/pyclipper' @@ -23,6 +23,11 @@ pkgver() { git describe --long --tags | sed 's/^v//g;s/\([^-]*-g\)/r\1/;s/-/./g' } +prepare() +{ + git -C "${srcdir}/${pkgname}" clean -dfx +} + build() { cd "$pkgname" python setup.py build_ext --inplace |