diff --git a/srcpkgs/skroll/patches/fix-makefile.patch b/srcpkgs/skroll/patches/fix-makefile.patch new file mode 100644 index 00000000000..dccab88544a --- /dev/null +++ b/srcpkgs/skroll/patches/fix-makefile.patch @@ -0,0 +1,15 @@ +Enable configurable CC and LD. + +--- Makefile 2015-03-16 11:50:36.000000000 +0100 ++++ Makefile 2015-10-25 23:55:25.205767890 +0100 +@@ -1,8 +1,8 @@ + PREFIX:=/usr + MANPREFIX:=${PREFIX}/share/man + +-CC = cc +-LD= ${CC} ++CC ?= cc ++LD ?= ${CC} + RM = rm + GZ = gzip + CFLAGS = -Wall -pedantic diff --git a/srcpkgs/skroll/template b/srcpkgs/skroll/template new file mode 100644 index 00000000000..2b4a6266b93 --- /dev/null +++ b/srcpkgs/skroll/template @@ -0,0 +1,16 @@ +# Template file for 'skroll' +pkgname=skroll +version=0.6 +revision=1 +build_style=gnu-makefile +make_build_args="LD=\${CXX}" +short_desc="Scroll text to stdout" +maintainer="Diogo Leal " +license="WTFPL" +homepage="http://git.z3bra.org/cgit.cgi/skroll/" +distfiles="http://repo.voidlinux.de/distfiles/skroll-${version}/skroll-${version}.tar.bz2" +checksum=32221fef51f6814a7bf3cf4207b8a2466624544a2fd1e5b110ee2af3580d2959 + +post_install() { + vlicense LICENSE +}