mirror of
https://github.com/edu4rdshl/powerman.git
synced 2026-07-17 23:24:53 +00:00
20 lines
662 B
Bash
20 lines
662 B
Bash
# Maintainer: Eduard Toloza <tolosaeduard@gmail.com>
|
|
|
|
pkgname=powerman
|
|
pkgver=0.1.0
|
|
pkgrel=1
|
|
pkgdesc='Power Management framework for Linux written in Rust..'
|
|
arch=('x86_64')
|
|
url='https://gitlab.com/edu4rdshl/powerman'
|
|
license=('GPL3')
|
|
source=("https://gitlab.com/edu4rdshl/${pkgname}/-/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz")
|
|
sha512sums=('SKIP')
|
|
|
|
package() {
|
|
cd "${pkgname}-${pkgver}"
|
|
install -dm 755 "${pkgdir}/usr/lib/systemd/system/"
|
|
|
|
install -Dm 755 bin/"${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
|
|
install -Dm 755 README.md "${pkgdir}/usr/share/doc/${pkgname}/README"
|
|
cp "${pkgname}".{service,timer} "${pkgdir}/usr/lib/systemd/system/"
|
|
}
|