summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f3af58d436436a6f9693d8598f8cb723a969238f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Maintainer: Mark Wagie <mark dot wagie at proton dot me>
pkgname=scopebuddy
pkgver=1.4.0
pkgrel=1
pkgdesc="Manager script to make Gamescope easier to use on desktop"
arch=('any')
url="https://github.com/OpenGamingCollective/ScopeBuddy"
license=('Apache-2.0')
depends=(
  'bash'
  'gamescope'
  'jq'
  'perl'
)
optdepends=(
  'kdialog: Error dialog on Plasma'
  'libkscreen: Display detection via kscreen-doctor on Plasma'
  'libnotify: Last resort fallback error dialog'
  'wlr-randr: Display detection with wlroots compositors'
  'xorg-xmessage: Fallback error dialog for basic X11 systems' 
  'zenity: Error dialog on GTK-based systems'
)
source=("ScopeBuddy-$pkgver.tar.gz::$url/archive/refs/tags/$pkgver.tar.gz")
sha256sums=('86462889f9fc90c0235c6e9d8950acc02b7ac15f2efbc4d37ac7c2e739c9f564')

package() {
  cd "ScopeBuddy-$pkgver"
  install -Dm755 "bin/$pkgname" -t "$pkgdir/usr/bin/"
  ln -s "/usr/bin/$pkgname" "$pkgdir/usr/bin/scb"
}