diff --git a/srcpkgs/OpenRC/template b/srcpkgs/OpenRC/template index 046cbb9f2c..0ec0c5ee9a 100644 --- a/srcpkgs/OpenRC/template +++ b/srcpkgs/OpenRC/template @@ -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