2014-04-22 22:55:23 +02:00
|
|
|
# Template file for 'ubase-git'
|
|
|
|
pkgname=ubase-git
|
2014-07-07 19:32:33 +02:00
|
|
|
version=20140707
|
2014-04-22 22:55:23 +02:00
|
|
|
revision=1
|
|
|
|
build_style=gnu-makefile
|
2014-07-27 16:05:16 +02:00
|
|
|
hostmakedepends="git"
|
2014-04-22 22:55:23 +02:00
|
|
|
short_desc="Suckless linux base utils"
|
|
|
|
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
|
|
|
|
license="MIT"
|
|
|
|
homepage="http://tools.suckless.org/ubase"
|
2014-05-31 13:29:19 +02:00
|
|
|
provides="ubase-${version}_${revision}"
|
|
|
|
replaces="ubase>=0"
|
2014-04-22 22:55:23 +02:00
|
|
|
|
2014-04-23 09:22:41 +02:00
|
|
|
conflicts="base-system-busybox>=0 coreutils>=0 util-linux>=0"
|
|
|
|
|
2014-04-22 22:55:23 +02:00
|
|
|
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() {
|
2014-07-05 19:12:22 +02:00
|
|
|
vinstall LICENSE 644 usr/share/licenses/ubase
|
|
|
|
vinstall README 644 usr/share/doc/ubase
|
2014-04-22 22:55:23 +02:00
|
|
|
}
|