blob: 1173f633b72db3cd0fe1c32baa57fac759e6d039 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
# Contributor: Luke Shumaker <lukeshu@parabola.nu>
# Upstream information
pkgname=udev-init-scripts
pkgver=32
pkgdesc="udev startup scripts for OpenRC"
url="https://gitweb.gentoo.org/proj/udev-gentoo-scripts.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"
}
|