OpenRC: improve /run creation.

This commit is contained in:
Juan RP
2011-05-04 13:11:19 +02:00
parent ba2205d461
commit 548b8f1224
2 changed files with 20 additions and 41 deletions

View File

@@ -1,7 +1,7 @@
# Template file for 'OpenRC'
pkgname=OpenRC
version=20110211
revision=4
revision=5
wrksrc=openrc-${version}
distfiles="http://xbps.nopcode.org/distfiles/openrc-$version.tar.bz2"
build_style=custom-install
@@ -45,9 +45,6 @@ _branding="XBPS GNU/Linux"
do_build()
{
# Use cmp(1) from diffutils.
export PATH="/usr/bin:$PATH"
# Install the "locale" service
cp ${FILESDIR}/locale.rc ${wrksrc}/init.d/locale.in
@@ -79,4 +76,5 @@ do_install()
chmod 755 ${DESTDIR}/lib/lib*
chmod 755 ${DESTDIR}/usr/lib/lib*
rmdir ${DESTDIR}/lib/rc/init.d
}