From 71fcf0b4b490e8d497f146eddfc0e9f3ed4b1592 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Thu, 12 Jul 2018 05:16:23 -0400 Subject: pcr/{eudev-openrc,udev-init-scripts}: Clean up - Update all URLs to point to Gentoo, because that's where we're getting it from, not Artix. - Rename eudev-openrc to udev-init-scripts, because that's what Gentoo upstream calls it, and we follow upstream as much as possible. - groups=(base-openrc), not groups=(openrc-base) - depend on 'udev>=217', which is provided by both eudev and systemd-udev - Don't bother fixing /sbin/ paths in the init scripts; it's a symlink and it will work. - Don't conflict with systemd-sysvcompat... that's SOOOOO not our job - Bump pkgrel 4.3->5 - --- pcr/udev-init-scripts/PKGBUILD | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 pcr/udev-init-scripts/PKGBUILD (limited to 'pcr/udev-init-scripts') diff --git a/pcr/udev-init-scripts/PKGBUILD b/pcr/udev-init-scripts/PKGBUILD new file mode 100644 index 000000000..7840d12da --- /dev/null +++ b/pcr/udev-init-scripts/PKGBUILD @@ -0,0 +1,35 @@ +# Maintainer: Omar Vega Ramos +# Contributor: Luke Shumaker + +# Upstream information +pkgname=udev-init-scripts +pkgver=32 +pkgdesc="udev startup scripts for OpenRC" +url="https://gitweb.gentoo.org/proj/${pkgname}.git" +# Gentoo's package script: https://gitweb.gentoo.org/repo/gentoo.git/tree/sys-fs/udev-init-scripts +source=("http://dev.gentoo.org/~williamh/dist/${pkgname}-${pkgver}.tar.gz") +sha256sums=('d5ae437291ae140194f67fec2c9a6ceeda39708433840e7b4b0361cc5ae53eaa') +depends=('openrc' 'udev>=217') +license=('GPL2') + +# Package information +pkgrel=5 +arch=('any') +groups=('base-openrc') +# Depend on any $X-openrc packages that exist for the dependencies of +# eudev and systemd-udev +depends+=('kmod-openrc') + +# Historical compatibility +provides+=('udev-openrc' 'eudev-openrc') +conflicts+=('udev-openrc' 'eudev-openrc') +replaces+=('udev-openrc' 'eudev-openrc') + +package(){ + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install + + 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" +} -- cgit v1.2.3