summaryrefslogblamecommitdiff
path: root/user/samurai/APKBUILD
blob: e9de6bfd420d5c0bde883ea348191f38cbec7a12 (plain) (tree)
1
2
3
4

                                                         
          





















                                                                                                  
                                                                                                                                                                 
# Contributor: Kiyoshi Aman <adelie@aerdan.vulpine.house>
# Maintainer: Kiyoshi Aman <adelie@aerdan.vulpine.house>
pkgname=samurai
pkgver=1.1
pkgrel=0
pkgdesc="Pure-C drop-in replacement for ninja"
url="https://github.com/michaelforney/samurai"
arch="all"
options="!check" # no test suite and upstream build-tests against Chromium anyhow
license="Apache-2.0 OR ISC"
depends=""
makedepends=""
provides="ninja"
replaces="ninja"
subpackages="$pkgname-doc"
source="https://github.com/michaelforney/samurai/releases/download/$pkgver/samurai-$pkgver.tar.gz"

build() {
	make
}

package() {
	make PREFIX=/usr DESTDIR="$pkgdir" install
	cd "$pkgdir/usr/bin"
	ln -s samu ninja
}

sha512sums="b27302c34d736f483909e57c8b162609eaa4c86571c1167b71a5564b521cc3af2861307a16bb6dca55e80952088989e9526b103160d2ea054d15f4ed85b1cedb  samurai-1.1.tar.gz"