sway-dynamic/PKGBUILD

18 lines
550 B
Text
Raw Permalink Normal View History

2024-04-15 17:31:37 +02:00
# Maintainer redxef <redxef@redxef.at>
pkgname=sway-dynamic
pkgver=1.0.0
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=$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"
}