diff options
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 12 |
2 files changed, 9 insertions, 7 deletions
@@ -1,6 +1,6 @@ pkgbase = task-maker-rust-git - pkgdesc = The new cmsMake - pkgver = r520.a1dd6a2b + pkgdesc = Tool for building tasks for informatics competitions, with support for cache, distributed computations and more + pkgver = r698.e162f1be pkgrel = 1 url = https://github.com/edomora97/task-maker-rust arch = i686 @@ -1,9 +1,9 @@ # Maintainer: Edoardo Morassutto <edoardo.morassutto@gmail.com> pkgname=task-maker-rust-git -pkgver=r520.a1dd6a2b +pkgver=r698.e162f1be pkgrel=1 -pkgdesc="The new cmsMake" +pkgdesc="Tool for building tasks for informatics competitions, with support for cache, distributed computations and more" arch=('i686' 'x86_64' 'armv7h' 'aarch64') url="https://github.com/edomora97/task-maker-rust" license=('MPL2') @@ -23,8 +23,8 @@ pkgver() { build() { cd "$srcdir/task-maker-rust" - TM_DATA_DIR=/usr/share/task-maker-rust cargo build --release --bin task-maker - cargo run --release --bin task-maker-tools gen-autocompletion + TM_DATA_DIR=/usr/share/task-maker-rust cargo build --release --bins + target/release/task-maker-tools gen-autocompletion } package() { @@ -39,8 +39,10 @@ package() { install -Dm644 "target/autocompletion/task-maker-rust.bash" "$pkgdir/usr/share/bash-completion/completions/task-maker-rust" install -Dm644 "target/autocompletion/_task-maker-rust" "$pkgdir/usr/share/zsh/site-functions/_task-maker-rust" install -Dm644 "target/autocompletion/task-maker-rust.fish" "$pkgdir/usr/share/fish/completions/task-maker-rust.fish" + install -Dm644 "target/autocompletion/task-maker-tools.bash" "$pkgdir/usr/share/bash-completion/completions/task-maker-tools" + install -Dm644 "target/autocompletion/_task-maker-tools" "$pkgdir/usr/share/zsh/site-functions/_task-maker-tools" + install -Dm644 "target/autocompletion/task-maker-tools.fish" "$pkgdir/usr/share/fish/completions/task-maker-tools.fish" # vim syntax highlight install -Dm644 "tools/vim/ftdetect/cases_gen.vim" "$pkgdir/usr/share/vim/vimfiles/ftdetect/cases_gen.vim" install -Dm644 "tools/vim/syntax/cases_gen.vim" "$pkgdir/usr/share/vim/vimfiles/syntax/cases_gen.vim" } - |