diff options
author | Sertonix <sertonix@posteo.net> | 2024-04-06 01:40:27 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2024-04-08 06:08:20 +0000 |
commit | a28da69bd6195cb1a4c6db7c2bf974f16bb47640 (patch) | |
tree | 9454d1fcf87f3c947238da723a2674b342f2d2b9 | |
parent | e4f6215ff37b7ac78129fcac71bad66abbab53c3 (diff) | |
download | aports-a28da69bd6195cb1a4c6db7c2bf974f16bb47640.zip |
main/openrc: move support files into -doc subpackage
-rw-r--r-- | main/openrc/APKBUILD | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/main/openrc/APKBUILD b/main/openrc/APKBUILD index 1aece5236f3..af29e66468a 100644 --- a/main/openrc/APKBUILD +++ b/main/openrc/APKBUILD @@ -2,7 +2,7 @@ pkgname=openrc pkgver=0.54 _ver=${pkgver/_git*/} -pkgrel=0 +pkgrel=1 pkgdesc="OpenRC manages the services, startup and shutdown of a host" url="https://github.com/OpenRC/openrc" arch="all" @@ -145,14 +145,20 @@ package() { # openrc upstream removed service(8) for whatever reason, put it back ln -s /sbin/rc-service "$pkgdir"/sbin/service + + install -Dm755 "$pkgdir"/usr/share/openrc/support/deptree2dot/deptree2dot \ + -t "$pkgdir"/usr/bin/ + rm -r "$pkgdir"/usr/share/openrc/support/deptree2dot/deptree2dot +} + +doc() { + default_doc + amove usr/share/openrc/support } tools() { depends="perl" - - mkdir -p "$subpkgdir"/usr/bin - mv "$pkgdir"/usr/share/openrc/support/deptree2dot/deptree2dot \ - "$subpkgdir"/usr/bin/ + amove usr/bin/deptree2dot } _agetty_openrc() { |