18 lines
436 B
Plaintext
18 lines
436 B
Plaintext
# description : Ninja-compatible build tool written in C
|
|
# homepage : https://github.com/michaelforney/samurai
|
|
|
|
name=samurai-git
|
|
version=20240223
|
|
release=1
|
|
commit=189023533035ecc30848ba8dffc25c9139928f89
|
|
source="$name-$version-$commit.tar.gz::https://github.com/michaelforney/samurai/archive/${commit}.tar.gz"
|
|
|
|
build() {
|
|
cd ${name%-*}-$commit
|
|
|
|
make
|
|
make PREFIX=/usr DESTDIR=$PKG install
|
|
|
|
ln -s /usr/bin/samu $PKG/usr/bin/ninja
|
|
}
|