void-packages/srcpkgs/samurai/template

20 lines
524 B
Bash

# Template file for 'samurai'
pkgname=samurai
version=0.6
revision=1
build_style=gnu-makefile
short_desc="Ninja-compatible build tool written in C"
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
license="MIT, Apache-2.0"
homepage="https://github.com/michaelforney/samurai"
distfiles="https://github.com/michaelforney/samurai/archive/${version}.tar.gz"
checksum=b1ead55ec7b319e08e1c66924c55c2af467f32a250cb86827b7a4496b6a8822f
pre_install() {
vsed -i 's|/usr/local|/usr|g' Makefile
}
post_install() {
vlicense LICENSE
}