summaryrefslogtreecommitdiff
path: root/pcr/eudev-openrc/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/eudev-openrc/PKGBUILD')
-rw-r--r--pcr/eudev-openrc/PKGBUILD22
1 files changed, 8 insertions, 14 deletions
diff --git a/pcr/eudev-openrc/PKGBUILD b/pcr/eudev-openrc/PKGBUILD
index 0cf02fe38..af6f1c16c 100644
--- a/pcr/eudev-openrc/PKGBUILD
+++ b/pcr/eudev-openrc/PKGBUILD
@@ -1,4 +1,4 @@
-# Maintainer (Artix): artoo <artoo@manjaro.org>
+# Maintainer (Artix): artoo <artoo@cromnix.org>
# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
_url="http://dev.gentoo.org/~williamh/dist"
@@ -9,34 +9,28 @@ _sed_args+=(-e 's|#!/sbin/openrc-run|#!/usr/bin/openrc-run|g')
pkgname=eudev-openrc
pkgver=32
-pkgrel=4
+pkgrel=4.1
pkgdesc="OpenRC eudev startup scripts"
arch=('any')
-url="https://github.com/manjaro/packages-openrc"
+url="https://github.com/cromnix/artix"
license=('GPL2')
groups=('openrc-base')
provides=('udev-openrc')
depends=('openrc' 'eudev')
-conflicts=('systemd-sysvcompat' 'udev-openrc')
+conflicts=('systemd-sysvcompat' 'kmod-openrc' 'udev-openrc')
replaces=('udev-openrc')
-source=("${_url}/${_pkgname}-${pkgver}.tar.gz"
- "kmod-static-nodes.initd")
-sha256sums=('d5ae437291ae140194f67fec2c9a6ceeda39708433840e7b4b0361cc5ae53eaa'
- '3ecbe7761b92a123a5a3d395ec3d9e090b0dfba7910a5987b4a2298c20a7e571')
+source=("${_url}/${_pkgname}-${pkgver}.tar.gz")
+sha256sums=('d5ae437291ae140194f67fec2c9a6ceeda39708433840e7b4b0361cc5ae53eaa')
package(){
cd "${srcdir}/${_pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
+
for f in ${pkgdir}/etc/init.d/*;do
sed ${_sed_args[@]} -i "$f"
done
- install -d "${pkgdir}/etc/runlevels/sysinit"
+ install -d "${pkgdir}/etc/runlevels/sysinit"
ln -sf "/etc/init.d/udev" "${pkgdir}/etc/runlevels/sysinit/udev"
ln -sf "/etc/init.d/udev-trigger" "${pkgdir}/etc/runlevels/sysinit/udev-trigger"
-
- # kmod-static-nodes
- install -Dm755 ${srcdir}/kmod-static-nodes.initd ${pkgdir}/etc/init.d/kmod-static-nodes
-
- ln -sf "/etc/init.d/kmod-static-nodes" "${pkgdir}/etc/runlevels/sysinit/kmod-static-nodes"
}