New package: lolcat-c-0.0.2017.12.20

This commit is contained in:
John 2018-06-08 12:24:15 +02:00 committed by maxice8
parent 71b85492f4
commit 7874262d91
1 changed files with 23 additions and 0 deletions

23
srcpkgs/lolcat-c/template Normal file
View File

@ -0,0 +1,23 @@
# Template file for 'lolcat-c'
pkgname=lolcat-c
version=0.0.2017.12.20
revision=1
_commit=e298c102bd51ae67fbae09df5dfc00cba16a2231
wrksrc="lolcat-${_commit}"
build_style=gnu-makefile
make_build_target="lolcat"
short_desc="High-performance implementation of lolcat"
maintainer="John <johnz@posteo.net>"
license="WTFPL"
homepage="https://github.com/jaseg/lolcat"
distfiles="${homepage}/archive/${_commit}.tar.gz"
checksum=7d86ab471bb14d5d472517de53fad7c8b06e8454b88be77ffb135bed2b783b9b
pre_build() {
export CFLAGS="${CFLAGS/O2/O0}"
sed -i -e 's/gcc/$(CC)/g' Makefile
}
do_install() {
vbin lolcat
}