aboutsummaryrefslogtreecommitdiffstats
path: root/main/eudev
diff options
context:
space:
mode:
Diffstat (limited to 'main/eudev')
-rw-r--r--main/eudev/APKBUILD13
1 files changed, 10 insertions, 3 deletions
diff --git a/main/eudev/APKBUILD b/main/eudev/APKBUILD
index f9634d2415..3ba73c5a73 100644
--- a/main/eudev/APKBUILD
+++ b/main/eudev/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=eudev
pkgver=3.1.2
-pkgrel=5
+pkgrel=6
pkgdesc="OpenRC compatible fork of systemd-udev"
url="https://wiki.gentoo.org/wiki/Project:Eudev"
arch="all"
@@ -12,12 +12,13 @@ replaces="udev"
makedepends="$depends_dev gperf glib-dev linux-headers kmod-dev
gobject-introspection-dev"
install=""
-subpackages="$pkgname-dev $pkgname-doc $pkgname-libgudev $pkgname-libs"
+subpackages="$pkgname-dev $pkgname-doc $pkgname-libgudev $pkgname-libs
+ $pkgname-netifnames"
source="http://dev.gentoo.org/~blueness/eudev/eudev-$pkgver.tar.gz
udev-postmount.initd
setup-udev
"
-
+
_builddir="$srcdir"/eudev-$pkgver
prepare() {
@@ -96,6 +97,12 @@ libgudev() {
"$subpkgdir"/usr/lib/
}
+netifnames() {
+ pkgdesc="udev rules for systemd-style interface names"
+ mkdir -p "$subpkgdir"/lib/udev/rules.d
+ mv "$pkgdir"/lib/udev/rules.d/80-net-name-slot.rules \
+ "$subpkgdir"/lib/udev/rules.d/
+}
md5sums="07ab33fe310d250f06fc28f010e3fde2 eudev-3.1.2.tar.gz
17ca36a764f5e8a89454344cde828740 udev-postmount.initd