From 125e2b96af001d38791aa8f3668a98e1e13f6004 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Sun, 25 Oct 2015 23:59:43 +0100 Subject: [PATCH] New package: skroll-0.6 Closes #2779 --- srcpkgs/skroll/patches/fix-makefile.patch | 15 +++++++++++++++ srcpkgs/skroll/template | 16 ++++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 srcpkgs/skroll/patches/fix-makefile.patch create mode 100644 srcpkgs/skroll/template 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 +}