void-packages/srcpkgs/ubase-git/template
2014-05-08 11:24:15 +02:00

27 lines
594 B
Plaintext

# Template file for 'ubase-git'
pkgname=ubase-git
version=20140508
revision=1
build_style=gnu-makefile
short_desc="Suckless linux base utils"
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
license="MIT"
homepage="http://tools.suckless.org/ubase"
conflicts="base-system-busybox>=0 coreutils>=0 util-linux>=0"
do_fetch() {
local url="git://git.suckless.org/ubase"
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}
}