diff --git a/srcpkgs/ii/template b/srcpkgs/ii/template index 0056bb32b2c..d7714d52e81 100644 --- a/srcpkgs/ii/template +++ b/srcpkgs/ii/template @@ -1,7 +1,7 @@ # Template file for 'ii' pkgname=ii version=1.7 -revision=2 +revision=3 build_style=gnu-makefile make_build_args="INCLUDES=-I. LIBS=" short_desc="Minimalist FIFO IRC client" @@ -11,6 +11,11 @@ homepage="http://tools.suckless.org/ii" distfiles="http://dl.suckless.org/tools/$pkgname-$version.tar.gz" checksum=3a72ac6606d5560b625c062c71f135820e2214fed098e6d624fc40632dc7cc9c -post_install() { - vinstall LICENSE 644 usr/share/licenses/$pkgname +pre_build() { + sed -i 's|^CFLAGS =|CFLAGS +=|g' config.mk + sed -i 's|^LDFLAGS =|LDFLAGS +=|g' config.mk +} + +post_install() { + vlicense LICENSE }