summaryrefslogtreecommitdiff
path: root/system/mdevd/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'system/mdevd/APKBUILD')
-rw-r--r--system/mdevd/APKBUILD15
1 files changed, 3 insertions, 12 deletions
diff --git a/system/mdevd/APKBUILD b/system/mdevd/APKBUILD
index e9ea9cf21..94e05d5d0 100644
--- a/system/mdevd/APKBUILD
+++ b/system/mdevd/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Laurent Bercot <ska-adelie@skarnet.org>
pkgname=mdevd
pkgver=0.1.6.3
-pkgrel=0
+pkgrel=1
pkgdesc="A small uevent manager daemon"
url="https://skarnet.org/software/mdevd/"
arch="all"
@@ -20,23 +20,14 @@ build() {
package() {
make DESTDIR="$pkgdir" install
- mkdir -p -m 0755 "$pkgdir/etc/init.d"
+ mkdir -p -m 0755 "$pkgdir/etc/init.d" "$pkgdir/usr/share/doc"
cp -f "$srcdir/mdev.conf" "$pkgdir/etc/"
chmod 0644 "$pkgdir/etc/mdev.conf"
cp -f "$srcdir/mdevd.initd" "$pkgdir/etc/init.d/mdevd"
chmod 0755 "$pkgdir/etc/init.d/mdevd"
+ cp -a "$builddir/doc" "$pkgdir/usr/share/doc/$pkgname"
}
-
-doc() {
- pkgdesc="$pkgdesc (documentation)"
- depends=
- install_if="docs $pkgname=$pkgver-r$pkgrel"
- mkdir -p "$subpkgdir/usr/share/doc"
- cp -a "$builddir/doc" "$subpkgdir/usr/share/doc/$pkgname"
-}
-
-
openrc() {
rldir="$subpkgdir"/etc/runlevels/sysinit
svcdir="$subpkgdir/etc/s6-linux-init/current/run-image/service/mdevd"