blob: 21405fbf35faca4ff9a0ee6c1d3dd937311b8dd9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# Maintainer: nzbr <aur@nzbr.de>
pkgname=vlogsolv
pkgver=1.2
pkgrel=0
pkgdesc="cli program that calculates value tables for logical expressions"
arch=('x86_64')
url="https://github.com/nzbr/vlogsolv"
license=('ISC')
depends=()
makedepends=('git' 'gcc' 'make' 'vlang')
source=("$pkgname-$pkgver::git+https://github.com/nzbr/vlogsolv.git#tag=$pkgver")
sha512sums=('SKIP')
build() {
cd "$pkgname-$pkgver"
v -o vlogsolv -prod -cc gcc -show_c_cmd -autofree .
}
package() {
cd "$pkgname-$pkgver"
install -Dm755 vlogsolv "$pkgdir/usr/bin/vlogsolv"
install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/vlogsolv/LICENSE"
}
|