summaryrefslogtreecommitdiff
path: root/samurai/Pkgfile
blob: 5ad6f1b061fcf9958e9a5fd2b34538d2e7a91faa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Description:	ninja-compatible build tool written in C
# URL:		https://sr.ht/~mcf/samurai/
# Maintainer:	Shokara Kou, kou at 13f0 dot net
# Depends on:

name=samurai
commit=4cc8f4a3
version=git-$commit
release=1
source=()

gitcommit=https://git.sr.ht/~mcf/samurai/

build() {
	git clone $gitcommit
	cd $name
	git checkout $commit

	make
	make PREFIX=/usr DESTDIR=$PKG install

	ln -s samu $PKG/usr/bin/ninja
}