25 lines
703 B
Bash
25 lines
703 B
Bash
# Template file for 'sic'
|
|
pkgname=sic
|
|
version=1.2
|
|
revision=5
|
|
build_style=gnu-makefile
|
|
make_build_args="INCS=-I. LIBS="
|
|
short_desc="Simple irc client"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="MIT"
|
|
homepage="http://tools.suckless.org/${pkgname}"
|
|
distfiles="http://dl.suckless.org/tools/${pkgname}-${version}.tar.gz"
|
|
checksum=ac07f905995e13ba2c43912d7a035fbbe78a628d7ba1c256f4ca1372fb565185
|
|
replaces="sic-git>=0"
|
|
|
|
pre_build() {
|
|
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
|
|
}
|