void-packages/srcpkgs/sbase-git/template

28 lines
633 B
Text
Raw Normal View History

2014-04-23 17:40:28 +00:00
# Template file for 'sbase-git'
pkgname=sbase-git
2014-05-31 09:59:13 +00:00
version=20140531
2014-05-31 11:22:13 +00:00
revision=2
2014-04-23 17:40:28 +00:00
build_style=gnu-makefile
short_desc="Suckless unix tools"
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
license="MIT"
homepage="http://tools.suckless.org/sbase"
conflicts="coreutils>=0 base-system-busybox>=0"
2014-05-31 11:22:13 +00:00
provides="sbase-${version}_${revision}"
replaces="sbase>=0"
2014-04-23 17:40:28 +00:00
do_fetch() {
local url="git://git.suckless.org/sbase"
msg_normal "Fetching source from $url ...\n"
git clone ${url} ${pkgname}-${version}
}
pre_build() {
LD=$CC
}
post_install() {
vinstall LICENSE 644 usr/share/licenses/${pkgname}
vinstall README 644 usr/share/doc/${pkgname}
}