summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a8393a5a5d7af0ef07d9fa7a3cfcab408100ba6f (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: Z. D. Smith <zd at zdsmith dot com>
pkgname=erasmus
pkgver=0.1.1
pkgrel=2
pkgdesc='Minimal zettelkasten-inspired note-taking'
arch=('x86_64')
url='https://git.sr.ht/~subsetpark/erasmus'
makedepends=('zig')
license=('BSD3')

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

sha256sums=('5e9000dc9d67d5cd91c4eeb9794cfe7bdbb5d81af3be97fd349cf9c9918c64a9')

build() {
	cd "$srcdir/$pkgname-v$pkgver"
        zig build -Drelease-fast=true -fstage1
}

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