Pkgfile (411B)
1 # Description: ninja-compatible build tool written in C 2 # URL: https://sr.ht/~mcf/samurai/ 3 # Maintainer: Shokara Kou, kou at 13f0 dot net 4 # Depends on: 5 6 name=samurai 7 commit=4cc8f4a3 8 version=git-$commit 9 release=1 10 source=() 11 12 gitcommit=https://git.sr.ht/~mcf/samurai/ 13 14 build() { 15 git clone $gitcommit 16 cd $name 17 git checkout $commit 18 19 make 20 make PREFIX=/usr DESTDIR=$PKG install 21 22 ln -s samu $PKG/usr/bin/ninja 23 }