From a4ecc5a6bc12756a999fca171e7ef751162bb70d Mon Sep 17 00:00:00 2001 From: maxice8 Date: Tue, 28 Nov 2017 04:20:18 -0200 Subject: [PATCH] New package: samurai-0.2. Closes #9596. Signed-off-by: Enno Boland --- srcpkgs/samurai/template | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 srcpkgs/samurai/template diff --git a/srcpkgs/samurai/template b/srcpkgs/samurai/template new file mode 100644 index 00000000000..ca76365fc90 --- /dev/null +++ b/srcpkgs/samurai/template @@ -0,0 +1,19 @@ +# Template file for 'samurai' +pkgname=samurai +version=0.2 +revision=1 +build_style=gnu-makefile +short_desc="Ninja-compatible build tool written in C" +maintainer="maxice8 " +license="MIT, Apache-2.0" +homepage="https://github.com/michaelforney/samurai" +distfiles="https://github.com/michaelforney/samurai/archive/${version}.tar.gz" +checksum=cc1dd8e9f7df4309c341d209e4b41a2a16cb7f4609c672a55413ec675fae5284 + +pre_install() { + sed -i 's|/usr/local|/usr|g' Makefile +} + +post_install() { + vlicense LICENSE +}