diff --git a/srcpkgs/taizen/template b/srcpkgs/taizen/template new file mode 100644 index 00000000000..7b5b71772a8 --- /dev/null +++ b/srcpkgs/taizen/template @@ -0,0 +1,23 @@ +# Template file for 'taizen' +pkgname=taizen +version=0.0.0.20180808 +revision=1 +_githash=39f77b5c1128d710b12244e433677daaf87c085e +wrksrc="${pkgname}-${_githash}" +hostmakedepends="cargo libressl-devel pkg-config ncurses-devel" +short_desc="Browse mediawiki pages from the command line" +maintainer="travankor " +license="MIT" +homepage="https://github.com/NerdyPepper/taizen" +distfiles="${homepage}/archive/${_githash}.tar.gz" +checksum=7de71509bc2b4494af1e103ddb18e0eeafe0bd90c797d6cae343c44f583bfd15 +nocross=yes + +do_build() { + cargo build --release ${makejobs} +} + +do_install() { + vbin target/release/${pkgname} + vlicense LICENSE +}