summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 744073d5c9a5c31475b9c1906118fb48f6805041 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Tobias Burdow <kaleidox@comroid.org>

pkgname=clmath-git
pkgver=0.1
pkgrel=1
pkgdesc="Commandline Math Tool and Calculator"
arch=('any')
url="https://github.com/comroid-git/clmath"
license=('Apache License, Version 2.0')
depends=('dotnet-runtime-6.0')
makedepends=('dotnet-sdk-6.0')
source=("git+https://github.com/comroid-git/clmath.git" "git+https://github.com/comroid-git/csapi.git")
md5sums=('SKIP' 'SKIP')
options+=("!strip")

build() {
    cd clmath
    dotnet publish -c Release --use-current-runtime
}

package() {
    install -Dm755 "clmath/clmath/bin/Release/net6.0/linux-x64/publish/clmath" "$pkgdir/usr/bin/clmath"
}