29 lines
925 B
Bash
29 lines
925 B
Bash
# Template file for 'numbat'
|
|
pkgname=numbat
|
|
version=1.14.0
|
|
revision=1
|
|
build_style=cargo
|
|
make_install_args="--path numbat-cli"
|
|
short_desc="Statically typed programming language for scientific computations"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="Apache-2.0 OR MIT"
|
|
homepage="https://numbat.dev"
|
|
changelog="https://github.com/sharkdp/numbat/releases"
|
|
distfiles="https://github.com/sharkdp/numbat/archive/refs/tags/v${version}.tar.gz"
|
|
checksum=297c4ce1eca68a5f523a537b6d4a7334907f0cd4fbcf2162d1467d6d090c1445
|
|
|
|
post_install() {
|
|
vlicense LICENSE-MIT
|
|
vdoc README.md
|
|
|
|
vmkdir usr/share/numbat
|
|
vcopy numbat/modules usr/share/numbat
|
|
|
|
vinstall assets/numbat.desktop 644 usr/share/applications
|
|
vinstall assets/numbat.svg 644 usr/share/icons/hicolor/scalable/apps
|
|
for s in 16 22 24 32 48 64 128 256 512; do
|
|
vinstall "assets/numbat-${s}x${s}.png" 644 \
|
|
"usr/share/icons/hicolor/${s}x${s}/apps" numbat.png
|
|
done
|
|
}
|