aboutsummaryrefslogtreecommitdiffstats
path: root/main/udev-init-scripts/APKBUILD
blob: f36cf2901317e7513c6e08ab2c3d976896288395 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=udev-init-scripts
pkgver=30
pkgrel=4
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
	"

_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
	rm -f "$pkgdir"/usr/lib/*.la
}

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