# Maintainer: David P. <megver83@parabola.nu>
# Maintainer (artix): artoo <artoo@artixlinux.org>

pkgname=gpm-openrc
pkgver=20210505
pkgrel=2
pkgdesc="OpenRC gpm init script"
arch=('any')
url="https://gitea.artixlinux.org/packagesG/gpm-openrc"
license=('GPL2')
groups=('openrc-system')
provides=('init-gpm')
conflicts=('init-gpm')
backup=('etc/conf.d/gpm')
source=("gpm.confd"
        "gpm.initd")
sha256sums=('73e7483fdc4b12ab4225a4cb13bbe7da71b07b9e69b17e3a6a4c63cb5e2287c8'
            'b0a698c19a699b66375b39ad10e59a1e565c67b4c2dbf281f571d185654cf711')

package() {
    depends=('openrc' 'gpm')
    install -Dm755 "${srcdir}"/gpm.initd "${pkgdir}"/etc/init.d/gpm
    install -Dm755 "${srcdir}"/gpm.confd "${pkgdir}"/etc/conf.d/gpm
}
