summaryrefslogtreecommitdiff
path: root/nonsystemd/gpm-openrc/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'nonsystemd/gpm-openrc/PKGBUILD')
-rw-r--r--nonsystemd/gpm-openrc/PKGBUILD23
1 files changed, 23 insertions, 0 deletions
diff --git a/nonsystemd/gpm-openrc/PKGBUILD b/nonsystemd/gpm-openrc/PKGBUILD
new file mode 100644
index 000000000..55f848763
--- /dev/null
+++ b/nonsystemd/gpm-openrc/PKGBUILD
@@ -0,0 +1,23 @@
+# Maintainer: artoo <artoo@artixlinux.org>
+
+pkgname=gpm-openrc
+pkgver=20210505
+pkgrel=2
+pkgdesc="OpenRC gpm init script"
+arch=('any')
+url="https://gitea.artixlinux.org/artixlinux/packages-openrc"
+license=('GPL2')
+groups=('openrc-system')
+provides=('init-gpm')
+depends=('openrc' 'gpm')
+conflicts=('init-gpm')
+backup=('etc/conf.d/gpm')
+source=("gpm.confd"
+ "gpm.initd")
+sha256sums=('73e7483fdc4b12ab4225a4cb13bbe7da71b07b9e69b17e3a6a4c63cb5e2287c8'
+ 'b0a698c19a699b66375b39ad10e59a1e565c67b4c2dbf281f571d185654cf711')
+
+package() {
+ install -Dm755 "${srcdir}"/gpm.initd "${pkgdir}"/etc/init.d/gpm
+ install -Dm755 "${srcdir}"/gpm.confd "${pkgdir}"/etc/conf.d/gpm
+}