diff options
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 } - |