aboutsummaryrefslogtreecommitdiffstats
path: root/main/udev-init-scripts/APKBUILD
blob: 7153c34837724940c0c79f88eefbce6ed81668e8 (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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=udev-init-scripts
pkgver=30
pkgrel=5
pkgdesc="udev startup scripts for openrc"
url="https://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/sys-fs/udev-init-scripts/"
arch="noarch"
license="GPLv2"
depends=""
depends_dev=""
makedepends="$depends_dev"
replaces="udev"
install="$pkgname.post-install $pkgname.post-upgrade"
subpackages=""
source="http://dev.gentoo.org/~williamh/dist/udev-init-scripts-$pkgver.tar.gz
	provide-dev.patch
	modloop.patch
	"

_builddir="$srcdir"/udev-init-scripts-$pkgver
prepare() {
	local i
	cd "$_builddir"
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
}

build() {
	cd "$_builddir"
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
}

md5sums="2425702e7706b720866e9fc1cc4f9f34  udev-init-scripts-30.tar.gz
ba90bb9684bf85ed1a14ecb34cf11d84  provide-dev.patch
634e45fa76f14f1e9e3f9654063e37f4  modloop.patch"
sha256sums="4de998d68e28f8ce4c1d4c9955aec0fa4cfe84673cbf3bfe1be71a1e9918693f  udev-init-scripts-30.tar.gz
41e8593ad6a4c96944880678129595282e56dbf44c8c9cad6d3a00418b786bd4  provide-dev.patch
f987792b18204a5c6ccc13e7a2001231e6ea0e791524bec09e6192e190c9a415  modloop.patch"
sha512sums="bf9ec69d9fb9edbe37f3dec8e1d5c828ea63591382de33818297ec5e37490c2dd709a8e32251fba36a816952c98af49172c7c09f3252712ddc51820205c4efdd  udev-init-scripts-30.tar.gz
9bdbba347c361caae2f41b4617bebd1b97d70be35874b2153488bbddc00a65206741714200a94806e94df470f7e0dbcc1113e2d9194aec9fe32f96357d6465aa  provide-dev.patch
6320a73a4938ce09a61742b41bfecc26a3eb6e88fe52ca0983a0f7c2bdbc83264b4870bd9812a4cdda730b39da2a2ec9a3ad9391fde9a337054402e073b16e6a  modloop.patch"