Compare commits
No commits in common. "senpai" and "develop" have entirely different histories.
3
.gitignore
vendored
3
.gitignore
vendored
@ -1 +1,4 @@
|
||||
/target
|
||||
/pkg/
|
||||
/src/pumopm-git/
|
||||
/src/pumopm/
|
||||
|
@ -1,7 +1,7 @@
|
||||
# Maintainer: Lucien Cartier-Tilet <lucien@phundrak.com>
|
||||
pkgname=pumopm-git
|
||||
pkgver=0.1.1.r1.g4fd33bf
|
||||
pkgrel=1
|
||||
pkgname=pumopm
|
||||
pkgver=0.1.1
|
||||
pkgrel=3
|
||||
pkgdesc="A tiny power manager written in Rust"
|
||||
arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h' 'aarch64')
|
||||
url="https://labs.phundrak.com/phundrak/pumopm"
|
||||
@ -9,16 +9,8 @@ license=('GPL3')
|
||||
depends=()
|
||||
makedepends=('rustup' 'git')
|
||||
options=('strip' 'zipman')
|
||||
source=("$pkgname::git+https://labs.phundrak.com/phundrak/pumopm.git")
|
||||
md5sums=('SKIP')
|
||||
# If Phundrak’s Gitea takes too long to answer, or if it is down, use the
|
||||
# Github mirror
|
||||
# source=("$pkgname}::git+https://github.com/Phundrak/pumopm.git")
|
||||
|
||||
pkgver() {
|
||||
cd "$pkgname"
|
||||
git describe --tags --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
|
||||
}
|
||||
source=("$pkgname::https://labs.phundrak.com/phundrak/pumopm/archive/$pkgver.tar.gz")
|
||||
md5sums=('347a95efacdbf9f8ab3b2da6a7eff6cc')
|
||||
|
||||
build() {
|
||||
cd "$pkgname"
|
||||
@ -33,9 +25,13 @@ build() {
|
||||
|
||||
package() {
|
||||
cd "$pkgname"
|
||||
echo EXE
|
||||
install -Dm755 "target/release/pumopm" "$pkgdir/usr/bin/pumopm"
|
||||
echo LICENSE
|
||||
install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/${pkgname}/LICENSE"
|
||||
echo MAN
|
||||
install -Dm644 "pumopm.1" "$pkgdir/usr/share/man/man1/pumopm.1"
|
||||
echo SERVCE
|
||||
install -Dm644 "pumopm.service" "$pkgdir/usr/lib/systemd/system/pumopm.service"
|
||||
}
|
||||
|
3
arch-pkg/.gitignore
vendored
3
arch-pkg/.gitignore
vendored
@ -1,3 +0,0 @@
|
||||
*
|
||||
.gitignore
|
||||
!PKGBUILD
|
@ -3,7 +3,7 @@ Description=A small, simple, no bloat power manager.
|
||||
|
||||
[Service]
|
||||
Type=notify
|
||||
ExecStart=/usr/bin/pumopm
|
||||
ExecStart=/usr/bin/pumo
|
||||
Restart=on-failure
|
||||
|
||||
# Disalow writing to /usr, /bin, /usr/bin... It shouldn’t, but just in case
|
||||
|
Loading…
Reference in New Issue
Block a user