2013-08-28 19:45:43 +02:00
|
|
|
# Template file for 'sic-git'
|
|
|
|
pkgname=sic-git
|
2014-08-03 14:54:58 +02:00
|
|
|
version=20140803
|
2013-08-28 19:45:43 +02:00
|
|
|
revision=1
|
2013-12-30 18:23:02 +01:00
|
|
|
build_style=gnu-makefile
|
2014-07-27 16:05:16 +02:00
|
|
|
hostmakedepends="git"
|
2013-12-30 18:23:02 +01:00
|
|
|
make_build_args="INCS=-I. LIBS="
|
2013-08-28 19:47:46 +02:00
|
|
|
short_desc="Simple irc client"
|
2013-08-28 19:45:43 +02:00
|
|
|
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
|
|
|
|
license="MIT"
|
|
|
|
homepage="http://tools.suckless.org/sic"
|
2014-05-31 13:23:47 +02:00
|
|
|
provides="sic-${version}_${revision}"
|
|
|
|
replaces="sic>=0"
|
2013-08-28 19:45:43 +02:00
|
|
|
|
|
|
|
do_fetch() {
|
|
|
|
local url="git://git.suckless.org/sic"
|
|
|
|
msg_normal "Fetching source from $url ...\n"
|
|
|
|
git clone ${url} ${pkgname}-${version}
|
|
|
|
}
|
|
|
|
|
2014-08-03 14:54:58 +02:00
|
|
|
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
|
|
|
|
}
|
|
|
|
|
2013-12-30 18:23:02 +01:00
|
|
|
post_install() {
|
2013-08-28 19:45:43 +02:00
|
|
|
vinstall LICENSE 644 usr/share/licenses/sic
|
|
|
|
vinstall README 644 usr/share/doc/sic
|
|
|
|
}
|