24 lines
602 B
Bash
24 lines
602 B
Bash
# 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
|
|
}
|