void-packages/srcpkgs/sic/template

26 lines
705 B
Bash
Raw Normal View History

# Template file for 'sic'
pkgname=sic
version=1.2
2015-06-14 10:27:36 +00:00
revision=4
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"
2015-06-14 10:27:36 +00:00
replaces="sic-git>=0"
pre_build() {
2015-06-14 10:21:56 +00:00
sed -i '10i #include <sys/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
}