aboutsummaryrefslogblamecommitdiffstats
path: root/testing/samurai/APKBUILD
blob: f3c225a6fc261db2e30766b659745b3633cbc825 (plain) (tree)
1
2
3
4
5
6
7
8
9


                                           
          
        



                                                  
                                  
                          
                                                                                                   






                                   




                                                    
                                                                                                                                                                 
# Contributor: Drew DeVault <sir@cmpwn.com>
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=samurai
pkgver=0.6
pkgrel=1
pkgdesc="ninja-compatible build tool written in C"
url="https://github.com/michaelforney/samurai"
arch="all"
license="Apache-2.0"
options="!check"  # No test suite.
subpackages="$pkgname-doc"
source="https://github.com/michaelforney/samurai/releases/download/$pkgver/$pkgname-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
	make
}

package() {
	cd "$builddir"
	make install PREFIX="/usr" DESTDIR="$pkgdir"
}

sha512sums="c111a20b1f85877b1ed68b1e40f8972e15dba3a7e58380103352fa975170598f7ecd591ca173e270ba6039026967d4bb5a5d2f80a963c64b39d36160a85574b4  samurai-0.6.tar.gz"