30 lines
742 B
Text
30 lines
742 B
Text
# Template file for 'sic-git'
|
|
pkgname=sic-git
|
|
version=20141213
|
|
revision=1
|
|
build_style=gnu-makefile
|
|
hostmakedepends="git"
|
|
make_build_args="INCS=-I. LIBS="
|
|
short_desc="Simple irc client"
|
|
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
|
|
license="MIT"
|
|
homepage="http://tools.suckless.org/sic"
|
|
provides="sic-${version}_${revision}"
|
|
replaces="sic>=0"
|
|
|
|
do_fetch() {
|
|
local url="git://git.suckless.org/sic"
|
|
msg_normal "Fetching source from $url ...\n"
|
|
git clone ${url} ${pkgname}-${version}
|
|
}
|
|
|
|
pre_build() {
|
|
sed -i 's|^CPPFLAGS =|CPPFLAGS +=|g' config.mk
|
|
sed -i 's|^CFLAGS =|CFLAGS +=|g' config.mk
|
|
sed -i 's|^LDFLAGS =|LDFLAGS +=|g' config.mk
|
|
}
|
|
|
|
post_install() {
|
|
vinstall LICENSE 644 usr/share/licenses/sic
|
|
vinstall README 644 usr/share/doc/sic
|
|
}
|