mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 20:36:40 +02:00
testing/samurai: new aport
This commit is contained in:
parent
436bdaee51
commit
b5b0f991ac
30
testing/samurai/APKBUILD
Normal file
30
testing/samurai/APKBUILD
Normal file
@ -0,0 +1,30 @@
|
||||
# Contributor: Drew DeVault <sir@cmpwn.com>
|
||||
# Maintainer: Drew DeVault <sir@cmpwn.com>
|
||||
pkgname=samurai
|
||||
pkgver=0.4
|
||||
pkgrel=0
|
||||
pkgdesc="ninja-compatible build tool written in C"
|
||||
url="https://github.com/michaelforney/samurai"
|
||||
arch="all"
|
||||
license="Apache-2.0"
|
||||
subpackages="$pkgname-doc"
|
||||
source="$pkgname-$pkgver.tar.gz::https://github.com/michaelforney/$pkgname/archive/$pkgver.tar.gz"
|
||||
builddir="$srcdir/$pkgname-$pkgver"
|
||||
|
||||
build() {
|
||||
cd "$builddir"
|
||||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "$builddir"
|
||||
rm *.o
|
||||
./samu
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$builddir"
|
||||
make install PREFIX="/usr" DESTDIR="$pkgdir"
|
||||
}
|
||||
|
||||
sha512sums="dd851f7f12315aa28157e88e6a07a14aa8636d331ee5712dd31f80eb484be445ba78c8f234ab2d63326b5e3b5407195052598fda15409056a438d94926265496 samurai-0.4.tar.gz"
|
||||
Loading…
x
Reference in New Issue
Block a user