diff --git a/srcpkgs/tty-clock-git/template b/srcpkgs/tty-clock-git/template new file mode 100644 index 00000000000..f422c0e2aae --- /dev/null +++ b/srcpkgs/tty-clock-git/template @@ -0,0 +1,26 @@ +# Template file for 'tty-clock-git' +pkgname=tty-clock-git +version=20130821 +revision=1 +build_style=gnu-makefile +makedepends="ncurses-devel" +hostmakedepends="pkg-config" +short_desc="Analog clock in ncurses" +maintainer="Ypnose " +license="GPL" +homepage="https://github.com/xorg62/tty-clock" + +nofetch=yes +noextract=yes + +do_fetch() { + local url="git://github.com/xorg62/tty-clock" + msg_normal "Fetching source from $url ...\n" + git clone ${url} ${pkgname}-${version} +} + +tty-clock-git_package() { + pkg_install() { + vmove usr + } +}