OpenRC: fix branding def, bumprev.
This commit is contained in:
parent
cca3d89c66
commit
3010150032
1 changed files with 5 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'OpenRC'
|
||||
pkgname=OpenRC
|
||||
version=0.6.1
|
||||
revision=2
|
||||
revision=4
|
||||
wrksrc=openrc-${version}
|
||||
distfiles="http://roy.marples.name/downloads/openrc/openrc-$version.tar.bz2"
|
||||
build_style=custom-install
|
||||
|
@ -29,6 +29,8 @@ Add_dependency full psmisc
|
|||
Add_dependency full sysvinit
|
||||
Add_dependency build diffutils
|
||||
|
||||
_branding="XBPS GNU/Linux"
|
||||
|
||||
do_build()
|
||||
{
|
||||
# Use cmp(1) from diffutils.
|
||||
|
@ -42,12 +44,12 @@ do_build()
|
|||
sed -i -e "s|/usr/share|/lib/kbd|g" ${wrksrc}/${f}
|
||||
done
|
||||
|
||||
make ${makejobs} BRANDING="XBPS GNU/Linux"
|
||||
make ${makejobs} BRANDING="${_branding}"
|
||||
}
|
||||
|
||||
do_install()
|
||||
{
|
||||
make DESTDIR=${DESTDIR} install
|
||||
make DESTDIR=${DESTDIR} BRANDING="${_branding}" install
|
||||
|
||||
install -D -m755 ${wrksrc}/support/sysvinit/inittab \
|
||||
${DESTDIR}/etc/inittab
|
||||
|
|
Loading…
Reference in a new issue