diff options
author | Tarn W. Burton | 2022-06-07 10:30:42 -0400 |
---|---|---|
committer | Tarn W. Burton | 2022-06-07 10:30:42 -0400 |
commit | 58bd640b79a40c063fa353f56a7f0faaef7f4861 (patch) | |
tree | cf52294426aee6b31e5c9081fd4a99ce6f419303 /PKGBUILD | |
parent | e4541569bf0ceb7ba6c4fb05219ae789ecb2af82 (diff) | |
download | aur-58bd640b79a40c063fa353f56a7f0faaef7f4861.tar.gz |
Update versioning scheme
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -1,6 +1,6 @@ # Maintainer: Tarn W. Burton <twburton@gmail.com> pkgname=cando-git -pkgver=1.0.0.r214.gfdfb2e6d3 +pkgver=1.0.0_262_g0eb80f93e_gbcbf18c5 pkgrel=1 pkgdesc="Bringing Common Lisp and C++ Together, including Cando" arch=('x86_64') @@ -15,14 +15,19 @@ conflicts=('clasp-cl-git') source=('git+https://github.com/clasp-developers/clasp.git') sha512sums=('SKIP') +prepare() { + cd clasp + ./koga --package-path=$pkgdir --extensions=cando,seqan-clasp --jupyter --bin-path=/usr/bin/ --share-path=/usr/share/clasp/ --lib-path=/usr/lib/clasp/ --jupyter-path=/usr/share/jupyter/ + ./koga --skip-sync --extensions=cando,seqan-clasp --update-version +} + pkgver() { cd clasp - git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g' + sbcl --noinform --non-interactive --eval "(write-string (substitute #\_ #\- (getf (with-open-file (s \"version.sexp\") (read s)) :version)))" } build() { cd clasp - ./koga --package-path=$pkgdir --extensions=cando,seqan-clasp --jupyter --bin-path=/usr/bin/ --share-path=/usr/share/clasp/ --lib-path=/usr/lib/clasp/ --jupyter-path=/usr/share/jupyter/ ninja -C build } @@ -30,4 +35,3 @@ package() { cd clasp ninja -C build install } - |