Appropriately rename my PKGBUILD directory

This commit is contained in:
Lucien Cartier-Tilet 2021-12-17 16:24:41 +01:00
parent 78fba911e7
commit b8c0445d9c
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA
6 changed files with 12 additions and 13 deletions

View File

@ -59,7 +59,7 @@ if [[ $CLI == "YES" ]] ; then
else
pkgname="emacs-phundrak-git"
fi
pkgver=28.0.60.150971
pkgver=28.0.90.151075
pkgrel=1
pkgdesc="GNU Emacs. Development master branch with Phundraks tweaks."
arch=('x86_64')

View File

@ -1,25 +1,20 @@
# Maintainer: Lucien Cartier-Tilet <lucien@phundrak.com>
pkgname=pumopm-git
pkgver=0.1.1.r1.g4fd33bf
pkgname=pumopm-bin
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"
license=('GPL3')
depends=()
makedepends=('rustup' 'git')
makedepends=('rustup')
options=('strip' 'zipman')
source=("$pkgname::git+https://labs.phundrak.com/phundrak/pumopm.git#branch=develop")
sha512sums=('SKIP')
conflicts=('pumopm' 'pumopm-bin')
source=("${pkgname%-bin}::https://labs.phundrak.com/phundrak/pumopm/archive/$pkgver.tar.gz")
# If Phundraks Gitea takes too long to answer, or if it is down, use the
# Github mirror
# source=("$pkgname}::git+https://github.com/Phundrak/pumopm.git#branch=develop")
pkgver() {
cd "$pkgname"
git describe --tags --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
# source=("${pkgname%-bin}::https://github.com/Phundrak/pumopm/archive/$pkgver.tar.gz")
md5sums=('347a95efacdbf9f8ab3b2da6a7eff6cc')
conflicts=('pumopm' 'pumopm-git')
build() {
cd "$pkgname"
@ -34,9 +29,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"
}