Compare commits

..

1 Commits
main ... 0.1.0

Author SHA1 Message Date
ff90c66741
Add REAMDE, LICENSE, PKGBUILD, man page 2021-12-17 18:29:22 +01:00
3 changed files with 6 additions and 5 deletions

2
Cargo.lock generated
View File

@ -276,7 +276,7 @@ dependencies = [
[[package]] [[package]]
name = "pumo-system-info" name = "pumo-system-info"
version = "0.1.1" version = "0.1.0"
dependencies = [ dependencies = [
"ansi_term", "ansi_term",
"clap", "clap",

View File

@ -1,6 +1,6 @@
[package] [package]
name = "pumo-system-info" name = "pumo-system-info"
version = "0.1.1" version = "0.1.0"
authors = ["Lucien Cartier-Tilet <lucien@phundrak.com>"] authors = ["Lucien Cartier-Tilet <lucien@phundrak.com>"]
edition = "2021" edition = "2021"
license = "GPL-3.0-or-later" license = "GPL-3.0-or-later"

View File

@ -1,6 +1,6 @@
# Maintainer: Lucien Cartier-Tilet <lucien@phundrak.com> # Maintainer: Lucien Cartier-Tilet <lucien@phundrak.com>
pkgname=pumo-system-info pkgname=pumo-system-info
pkgver=0.1.0.r0.gff90c66 pkgver=0.1.0
pkgrel=1 pkgrel=1
pkgdesc="A tiny power manager written in Rust" pkgdesc="A tiny power manager written in Rust"
arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h' 'aarch64') arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h' 'aarch64')
@ -30,9 +30,10 @@ build() {
package() { package() {
cd "$pkgname" cd "$pkgname"
install -Dm755 "target/release/${pkgname}" "$pkgdir/usr/bin/${pkgname}" install -Dm755 "target/release/pumopm" "$pkgdir/usr/bin/pumopm"
install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/${pkgname}/LICENSE" install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/${pkgname}/LICENSE"
install -Dm644 "${pkgname}.1" "$pkgdir/usr/share/man/man1/${pkgname}.1" install -Dm644 "pumopm.1" "$pkgdir/usr/share/man/man1/pumopm.1"
install -Dm644 "pumopm.service" "$pkgdir/usr/lib/systemd/system/pumopm.service"
} }
# vim:set ts=2 sw=2 et: # vim:set ts=2 sw=2 et: