void-packages/srcpkgs/sic/template

26 lines
697 B
Bash
Raw Normal View History

# Template file for 'sic'
pkgname=sic
version=1.2
2015-06-14 10:20:05 +00:00
revision=2
build_style=gnu-makefile
make_build_args="INCS=-I. LIBS="
short_desc="Simple irc client"
maintainer="Ypnose <ypnoseATvoidlinuxDOTeu>"
license="MIT"
homepage="http://tools.suckless.org/${pkgname}"
distfiles="http://dl.suckless.org/tools/${pkgname}-${version}.tar.gz"
checksum="ac07f905995e13ba2c43912d7a035fbbe78a628d7ba1c256f4ca1372fb565185"
replaces="sic>=0"
pre_build() {
2015-06-14 10:20:05 +00:00
sed -i '10i #include <select.h>' sic.c
sed -i 's|^CPPFLAGS *=|override CPPFLAGS +=|g' config.mk
sed -i 's|^CFLAGS *=|override CFLAGS +=|g' config.mk
sed -i 's|^LDFLAGS *=|override LDFLAGS +=|g' config.mk
}
post_install() {
vlicense LICENSE
vdoc README
}