void-packages/srcpkgs/ii/template

23 lines
607 B
Bash

# Template file for 'ii'
pkgname=ii
version=1.8
revision=4
build_style=gnu-makefile
make_build_args="INCLUDES=-I. LIBS="
short_desc="Minimalist FIFO 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=b9d9e1eae25e63071960e921af8b217ab1abe64210bd290994aca178a8dc68d2
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
}