diff options
Diffstat (limited to 'pcr/udev-openrc/PKGBUILD')
-rw-r--r-- | pcr/udev-openrc/PKGBUILD | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/pcr/udev-openrc/PKGBUILD b/pcr/udev-openrc/PKGBUILD index 6a978c3a3..6a471c2b9 100644 --- a/pcr/udev-openrc/PKGBUILD +++ b/pcr/udev-openrc/PKGBUILD @@ -5,36 +5,36 @@ _url="http://dev.gentoo.org/~williamh/dist" _pkgname=udev-init-scripts pkgname=udev-openrc -pkgver=31 -pkgrel=1.parabola1 +pkgver=32 +pkgrel=1 pkgdesc="OpenRC udev startup scripts" arch=('any') url="https://github.com/manjaro/packages-openrc" license=('GPL2') -groups=('base-openrc' 'openrc-base' 'openrc-desktop') +groups=('openrc-base' 'openrc-desktop') depends=('openrc' 'udev') conflicts=('systemd-sysvcompat') source=("${_url}/${_pkgname}-${pkgver}.tar.gz" - "kmod-static-nodes.initd") -sha256sums=('f8113922f0e062527268da6cc0d8168e64c61e353f6e84292fc64d7c6e4bffae' + "kmod-static-nodes.initd") +sha256sums=('d5ae437291ae140194f67fec2c9a6ceeda39708433840e7b4b0361cc5ae53eaa' '3ecbe7761b92a123a5a3d395ec3d9e090b0dfba7910a5987b4a2298c20a7e571') package(){ - cd "${srcdir}/${_pkgname}-${pkgver}" - make DESTDIR="${pkgdir}" install - for f in ${pkgdir}/etc/init.d/*;do - sed -e "s|#!/sbin/openrc-run|#!/usr/bin/openrc-run|" \ - -e "s|/bin/udevadm|/usr/bin/udevadm|g" \ - -e "s|/sbin/udevd|/usr/bin/udevd|g" \ - -i "$f" - done - install -d "${pkgdir}/etc/runlevels/sysinit" + cd "${srcdir}/${_pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install + for f in ${pkgdir}/etc/init.d/*;do + sed -e "s|#!/sbin/openrc-run|#!/usr/bin/openrc-run|" \ + -e "s|/bin/udevadm|/usr/bin/udevadm|g" \ + -e "s|/sbin/udevd|/usr/bin/udevd|g" \ + -i "$f" + done + 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" + 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 + # 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" + ln -sf "/etc/init.d/kmod-static-nodes" "${pkgdir}/etc/runlevels/sysinit/kmod-static-nodes" } |