# Maintainer: David P. <megver83@parabola.nu>
# Maintainer (artix): Rafli Akmal <rafliakmaltejakusuma@gmail.com>
# Contributor: artoo <artoo@artixlinux.org>
# Contributor: Oscar Campos <damnwidget@artixlinux.org>

pkgname=tlp-openrc
pkgver=20210505
pkgrel=1
pkgdesc="OpenRC tlp init script"
arch=('any')
url="https://gitea.artixlinux.org/packagesT/tlp-openrc"
license=('GPL2')
groups=('openrc-galaxy')
provides=('init-tlp')
conflicts=('init-tlp')
source=('tlp.initd')
sha256sums=('4fc771f1ce9423b1f5facc006845d3ab5cbce3bfdf1aa0737b2ed8e7d6f8c3ac')

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