sway-dynamic/PKGBUILD

18 lines
551 B
Text
Raw Permalink Normal View History

2024-04-15 17:31:37 +02:00
# Maintainer redxef <redxef@redxef.at>
pkgname=sway-dynamic
2024-04-15 17:47:15 +02:00
pkgver=1.0.1
2024-04-15 17:31:37 +02:00
pkgrel=1
pkgdesc="Helper files to dynamically launch sway for NVIDIA comaptibility or not"
arch=('any')
url="https://gitea.redxef.at/redxef/sway-dynamic"
license=('MIT')
depends=('sway' 'sway-nvidia')
source=("$pkgname-$pkgver::git+$url.git#tag=v$pkgver")
sha256sums=('SKIP')
package() {
cd "$pkgname-$pkgver"
install -Dm755 sway-dynamic "$pkgdir/usr/bin/sway-dynamic"
install -Dm644 sway-dynamic.desktop "$pkgdir/usr/share/wayland-sessions/sway-dynamic.desktop"
}