void-packages/srcpkgs/lel/template

24 lines
582 B
Bash
Raw Normal View History

# Template file for 'lel'
pkgname=lel
version=0.2
revision=1
build_style=gnu-makefile
makedepends="libX11-devel"
depends="farbfeld"
short_desc="Farbfeld image viewer"
maintainer="Rubén Santos <kojicomics@cocaine.ninja>"
license="MIT/X Consortium"
homepage="https://git.2f30.org/lel"
distfiles="https://dl.2f30.org/releases/lel-${version}.tar.gz"
checksum=337b69b1c2b6db0d74d36d432df52538d653f7023ca696cc4dc89b50491e17be
pre_build() {
sed -i config.mk \
-e 's|^CFLAGS *=|override CFLAGS +=|g' \
-e 's|^LDFLAGS *=|override LDFLAGS +=|g'
}
post_install() {
vlicense LICENSE
}