diff options
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 5 |
2 files changed, 5 insertions, 2 deletions
@@ -1,7 +1,7 @@ pkgbase = curv-git pkgdesc = a language for making art using mathematics pkgver = 0.3.r43.g7d922f3 - pkgrel = 2 + pkgrel = 3 url = https://github.com/doug-moen/curv arch = x86_64 license = Apache @@ -3,7 +3,7 @@ _pkgname=curv pkgname="$_pkgname-git" pkgver=0.3.r43.g7d922f3 -pkgrel=2 +pkgrel=3 pkgdesc="a language for making art using mathematics" url="https://github.com/doug-moen/curv" arch=('x86_64') @@ -26,6 +26,9 @@ prepare() { git submodule update --init patch -Np1 -i "${srcdir}/remove_lang_file.patch" + echo '#define CURV_VERSION "'`git describe --tags --always --dirty`'"' >,v + if cmp -s ,v libcurv/version.h; then rm ,v; else mv ,v libcurv/version.h; fi + mkdir -p release cd release cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="${pkgdir}"/usr .. |