summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8e00615014e410a9ad1c7c8abe1ab351dbae46a4 (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
28
29
30
31
32
33
34
35
# Maintainer: Armin Preiml <apreiml@strohwolke.at>
pkgname=haredo
pkgver=1.0.5
pkgrel=1
license=("custom:WTFPL")
pkgdesc="A simple and unix-idiomatic build automator."
makedepends=(
	"hare"
)

arch=("x86_64" "aarch64")
url="https://git.sr.ht/~autumnull/haredo"
source=("https://git.sr.ht/~autumnull/haredo/archive/$pkgver.tar.gz")

provides=("haredo")
conflicts=("haredo")

build() {
	cd "$srcdir/$pkgname-$pkgver"
	./bootstrap.sh
}

check() {
	cd "$srcdir/$pkgname-$pkgver"
	./bin/haredo test
}

package() {
	cd "$srcdir/$pkgname-$pkgver"

	install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
	PREFIX="$pkgdir/usr" ./bootstrap.sh install
}

sha256sums=('b3f7e7d6f0fd6b275b3ca1c80e37eac93c51351707ec9d29ae36399380008086')