update
This commit is contained in:
1 parent
fa1fdae905
commit
0259b5a406
6 files changed
+24
-19
No files matched your search
@@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
name='openrc'
|
||||
release='6'
|
||||
version='0.56'
|
||||
release='7'
|
||||
version='0.60.1'
|
||||
url='https://github.com/OpenRC/openrc'
|
||||
description='The OpenRC init system'
|
||||
email='aliriza.keskin@pardus.org.tr'
|
||||
@@ -16,7 +16,7 @@ source=("https://github.com/OpenRC/openrc/archive/refs/tags/$version.zip"
|
||||
"extras/disable-secondary-gpu.sh")
|
||||
depends=()
|
||||
makedepends=()
|
||||
sha256sums=('f7eb8631f4cb64d063271667cd25e26fddfcad47ad39f0a10e9c6d6731bfb4a9'
|
||||
sha256sums=('98a974b18c6e4029e7575f8e12c728a8a3acfd8b9447eaa4aeaa9d3a837140cf'
|
||||
'SKIP'
|
||||
'SKIP'
|
||||
'SKIP'
|
||||
@@ -34,6 +34,8 @@ cd $name-$version
|
||||
prepare(){
|
||||
# hidepid=2 by default
|
||||
sed -i "s/ proc \/proc/,hidepid=2,gid=31&/g" sh/init.sh.Linux.in
|
||||
# remove user service
|
||||
sed -i "/subdir('openrc-user')/d" src/meson.build
|
||||
}
|
||||
|
||||
setup(){
|
||||
@@ -84,5 +86,8 @@ package(){
|
||||
mkdir -p $DESTDIR/lib/systemd/
|
||||
mv $DESTDIR/sbin/openrc-init $DESTDIR/lib/systemd/systemd
|
||||
ln -s ../lib/systemd/systemd $DESTDIR/sbin/openrc-init
|
||||
# remove user service stuff
|
||||
rm -f $DESTDIR/etc/init.d/user
|
||||
rm -f $DESTDIR/libexec/rc/sh/openrc-user.sh
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user