2013-08-28 17:45:43 +00:00
|
|
|
# Template file for 'sic-git'
|
|
|
|
pkgname=sic-git
|
|
|
|
version=20130828
|
|
|
|
revision=1
|
2013-08-28 17:47:46 +00:00
|
|
|
short_desc="Simple irc client"
|
2013-08-28 17:45:43 +00:00
|
|
|
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
|
|
|
|
license="MIT"
|
|
|
|
homepage="http://tools.suckless.org/sic"
|
|
|
|
|
|
|
|
do_fetch() {
|
|
|
|
local url="git://git.suckless.org/sic"
|
|
|
|
msg_normal "Fetching source from $url ...\n"
|
|
|
|
git clone ${url} ${pkgname}-${version}
|
|
|
|
}
|
|
|
|
|
2013-08-28 18:37:55 +00:00
|
|
|
do_build() {
|
2013-08-28 18:46:59 +00:00
|
|
|
make CC=$CC INCS="-I." LIBS= ${makejobs}
|
2013-08-28 18:37:55 +00:00
|
|
|
}
|
|
|
|
|
2013-08-28 17:45:43 +00:00
|
|
|
do_install() {
|
|
|
|
make PREFIX=/usr DESTDIR=$DESTDIR install
|
|
|
|
vinstall LICENSE 644 usr/share/licenses/sic
|
|
|
|
vinstall README 644 usr/share/doc/sic
|
|
|
|
}
|
|
|
|
|
|
|
|
sic-git_package() {
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|