# Contributor: Valery Kartel <valery.kartel@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=udev-init-scripts
pkgver=32
pkgrel=1
pkgdesc="udev startup scripts for openrc"
url="https://gitweb.gentoo.org/repo/gentoo.git/tree/sys-fs/udev-init-scripts"
arch="noarch"
license="GPL-2.0"
replaces=udev
install="$pkgname.post-install $pkgname.post-upgrade"
options="!check"
source="http://dev.gentoo.org/~williamh/dist/$pkgname-$pkgver.tar.gz
	$pkgname.patch
	"
builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
	make
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

md5sums="a8098437126a0ecdc23f83e923de3644  udev-init-scripts-32.tar.gz
4b1c73084af01bea918dc246e7d691e4  udev-init-scripts.patch"
sha256sums="d5ae437291ae140194f67fec2c9a6ceeda39708433840e7b4b0361cc5ae53eaa  udev-init-scripts-32.tar.gz
22fe7953e49b8c3d4619dc1644746ef634949ccc6ddb8959c74458b4daf1b3e2  udev-init-scripts.patch"
sha512sums="da6291ae5c2aa1e8e41656fbe2ed6700e46360809119c0f8a26bf6c3f23f05c861b2c2943b55e47140462049474725e96105e68b204f3d931050409f34d19699  udev-init-scripts-32.tar.gz
8f4ca4b0c7e2e51ff2e88ea724b55fe3178e5a72dfa8f0624aef5946f95f1b690f517be913bf295462866faa0085dbfac2d024982514a9d1d976ab8b79d29e06  udev-init-scripts.patch"
