refactor: moonset-git → moonset (no-suffix tag-build)
Build and publish packages / build-and-publish (push) Successful in 8m39s
Build and publish packages / build-and-publish (push) Successful in 8m39s
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
# ABOUTME: PKGBUILD for Moonset — Wayland session power menu.
|
||||
# ABOUTME: Builds from a versioned git tag.
|
||||
|
||||
# Maintainer: Dominik Kressler
|
||||
|
||||
pkgname=moonset
|
||||
pkgver=0.8.5
|
||||
pkgrel=1
|
||||
pkgdesc="A Wayland session power menu with GTK4 and Layer Shell"
|
||||
arch=('x86_64')
|
||||
url="https://gitea.moonarch.de/nevaforget/moonset"
|
||||
license=('MIT')
|
||||
depends=(
|
||||
'gtk4'
|
||||
'gtk4-layer-shell'
|
||||
)
|
||||
makedepends=(
|
||||
'git'
|
||||
'cargo'
|
||||
'gtk4'
|
||||
'gtk4-layer-shell'
|
||||
'pkgconf'
|
||||
)
|
||||
replaces=('moonset-git')
|
||||
conflicts=('moonset-git')
|
||||
source=("git+${url}.git#tag=v$pkgver")
|
||||
sha256sums=('SKIP')
|
||||
|
||||
build() {
|
||||
cd "$srcdir/moonset"
|
||||
cargo build --release
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/moonset"
|
||||
install -Dm755 "${CARGO_TARGET_DIR:-target}/release/moonset" "$pkgdir/usr/bin/moonset"
|
||||
|
||||
# Example config
|
||||
install -Dm644 config/moonset.toml "$pkgdir/etc/moonset/moonset.toml.example"
|
||||
}
|
||||
Reference in New Issue
Block a user