void-packages/srcpkgs/ii/template

23 lines
606 B
Bash

# Template file for 'ii'
pkgname=ii
version=1.7
revision=4
build_style=gnu-makefile
make_build_args="INCLUDES=-I. LIBS="
short_desc="Minimalist FIFO IRC client"
maintainer='Juan RP <xtraeme@voidlinux.eu>'
license="MIT"
homepage="http://tools.suckless.org/${pkgname}"
distfiles="http://dl.suckless.org/tools/${pkgname}-${version}.tar.gz"
checksum=3a72ac6606d5560b625c062c71f135820e2214fed098e6d624fc40632dc7cc9c
pre_build() {
sed -i 's| -O0||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
}