17 lines
550 B
Bash
17 lines
550 B
Bash
# 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"
|
|
}
|