summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4b7777f922ef1f67c89a2497b83ea4163acc70b1 (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
# Maintainer: Z. D. Smith <zd at zdsmith dot com>
pkgname=ec
pkgver=0.5.3
pkgrel=2
pkgdesc='A desk calculator with vectors and quotations'
arch=('x86_64')
url='https://git.sr.ht/~subsetpark/ec'
makedepends=('janet' 'pkg-config' 'libedit')
license=('BSD3')
provides=('ec')

source=("${url}/archive/v${pkgver}.tar.gz")

sha256sums=('536ecde6adcf7bf289eb16b2c40285b7e0c578ea94a26067a80b79c3bd4efa2e')

build() {
	cd "$srcdir/$pkgname-v$pkgver"
        jpm -l load-lockfile
        jpm -l build
}

package() {
	cd "$srcdir/$pkgname-v$pkgver"
        install -Dm755 "build/$pkgname" "${pkgdir}/usr/bin/$pkgname"
}