diff --git a/srcpkgs/smu-git/template b/srcpkgs/smu-git/template new file mode 100644 index 00000000000..fc1a35e2eea --- /dev/null +++ b/srcpkgs/smu-git/template @@ -0,0 +1,29 @@ +# Template file for 'smu-git' +pkgname=smu-git +version=20131221 +revision=1 +short_desc="Simple markup - markdown like syntax" +maintainer="Ypnose " +license="MIT" +homepage="https://github.com/Gottox/smu/" + +do_fetch() { + local url="git://github.com/Gottox/smu" + msg_normal "Fetching source from $url ...\n" + git clone ${url} ${pkgname}-${version} +} + +do_build() { + make CC=$CC INCS="-I." LIBS= ${makejobs} +} + +do_install() { + make PREFIX=/usr DESTDIR=$DESTDIR install + vinstall LICENSE 644 usr/share/licenses/smu +} + +smu-git_package() { + pkg_install() { + vmove usr + } +}