28 lines
663 B
Plaintext
28 lines
663 B
Plaintext
# Template file for 'sinit-git'
|
||
pkgname=sinit-git
|
||
version=20140427
|
||
revision=1
|
||
build_style=gnu-makefile
|
||
provides="sinit-${version}_${revision}"
|
||
replaces="sinit>=0"
|
||
short_desc="A simple init, initially based on Rich Felker’s minimal init"
|
||
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
|
||
license="MIT"
|
||
homepage="http://tools.suckless.org/sinit/"
|
||
|
||
do_fetch() {
|
||
local url="git://git.suckless.org/sinit"
|
||
msg_normal "Fetching source from $url ...\n"
|
||
git clone ${url} ${pkgname}-${version}
|
||
}
|
||
|
||
pre_build() {
|
||
LD=$CC
|
||
cp ${FILESDIR}/config.h config.h
|
||
}
|
||
|
||
post_install() {
|
||
vinstall LICENSE 644 usr/share/licenses/${pkgname}
|
||
vinstall README 644 usr/share/doc/${pkgname}
|
||
}
|