summaryrefslogtreecommitdiff
path: root/nonsystemd/networkmanager-openrc/PKGBUILD
diff options
context:
space:
mode:
authorDavid P <megver83@parabola.nu>2022-07-18 22:40:04 -0400
committerDavid P <megver83@parabola.nu>2022-07-18 22:40:04 -0400
commitc92203b32e1e69c76a3939d4a5d71c0e7254e655 (patch)
tree168222582a549b67e4f500e0894f239cd70712d5 /nonsystemd/networkmanager-openrc/PKGBUILD
parent905728e4e1fdc1db2d09a97e0b94ab7fb59b4369 (diff)
downloadabslibre-c92203b32e1e69c76a3939d4a5d71c0e7254e655.tar.gz
abslibre-c92203b32e1e69c76a3939d4a5d71c0e7254e655.tar.bz2
abslibre-c92203b32e1e69c76a3939d4a5d71c0e7254e655.zip
addpkg: nonsystemd/networkmanager-openrc 20210505-6
Signed-off-by: David P <megver83@parabola.nu>
Diffstat (limited to 'nonsystemd/networkmanager-openrc/PKGBUILD')
-rw-r--r--nonsystemd/networkmanager-openrc/PKGBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/nonsystemd/networkmanager-openrc/PKGBUILD b/nonsystemd/networkmanager-openrc/PKGBUILD
new file mode 100644
index 000000000..be97bce62
--- /dev/null
+++ b/nonsystemd/networkmanager-openrc/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: artoo <artoo@artixlinux.org>
+
+pkgname=networkmanager-openrc
+pkgver=20210505
+pkgrel=6
+pkgdesc="OpenRC networkmanager init script"
+arch=('any')
+url="https://gitea.artixlinux.org/artixlinux/packages-openrc"
+license=('GPL2')
+groups=('openrc-world')
+provides=('init-networkmanager')
+depends=('openrc' 'networkmanager')
+conflicts=('init-networkmanager')
+backup=('etc/conf.d/NetworkManager')
+source=("NetworkManager".{initd,confd}
+ '10-openrc-status')
+sha256sums=('eaf7d210540ed9f4c6b4ba81ddbb30a2aa5ce8b528057f7d64ce3478981f88e4'
+ '4594573f01fe5e04b6dde4525796acf909158591bdcefd662ec23fe0d1c3e1bd'
+ 'd32a21c0683cf7a09370b35b7e3d3b3f28f5d4d242ecde2c866cfb400b94bcbe')
+
+package() {
+ install -Dm755 "${srcdir}"/NetworkManager.initd "${pkgdir}"/etc/init.d/NetworkManager
+ install -Dm644 "${srcdir}"/NetworkManager.confd "${pkgdir}"/etc/conf.d/NetworkManager
+
+ install -Dm755 "${srcdir}"/10-openrc-status "${pkgdir}"/etc/NetworkManager/dispatcher.d/10-openrc-status
+}