mirror of
https://github.com/edu4rdshl/powerman.git
synced 2026-07-18 07:34:45 +00:00
18 lines
526 B
Bash
18 lines
526 B
Bash
# Maintainer: Eduard Toloza <tolosaeduard@gmail.com>
|
|
|
|
pkgname=powerman
|
|
pkgver=0.1.3
|
|
pkgrel=1
|
|
pkgdesc='Power Management framework for Linux written in Rust..'
|
|
arch=('x86_64')
|
|
url='https://github.com/edu4rdshl/powerman'
|
|
license=('GPL3')
|
|
source=("https://github.com/Edu4rdSHL/$pkgname/archive/$pkgver.tar.gz")
|
|
sha512sums=('SKIP')
|
|
|
|
package() {
|
|
cd "${pkgname}-${pkgver}"
|
|
|
|
install -Dm 755 bin/"${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
|
|
install -Dm 644 ${pkgname}.service "${pkgdir}/usr/lib/systemd/user/${pkgname}.service"
|
|
}
|