-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathPKGBUILD
48 lines (45 loc) · 1.34 KB
/
PKGBUILD
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# Maintainer: JordanViknar
pkgname=simplesteamtinker-git
pkgver=r44.84be422
pkgrel=1
pkgdesc="A work-in-progress simple, fast and modern Adwaita alternative to SteamTinkerLaunch."
arch=('x86_64' 'i686' 'armv7h' 'aarch64')
url=https://github.com/JordanViknar/SimpleSteamTinker
license=('MPL2')
makedepends=(
'git'
'make'
)
depends=(
'lua'
'lua-lgi-git' # Used for GTK (git version because latest release neither supports Libadwaita nor GTK4 and is pretty old)
'libadwaita'
'gtk4'
'lua-filesystem' # Used for some filesystem operations
'lua-socket' # Used for network operations
'lua-sec' # Used for secure https interactions
'lua-dkjson' # Used for json parsing
'xclip' # Used for copying to clipboard
'libnotify' # Used for notifications
)
optdepends=(
'gamemode: Enable GameMode support'
'mangohud: Enable MangoHud support'
'mesa: Enable Zink support'
'switcheroo-control: Launch games with your dedicated GPU'
'gamescope: Enable GameScope support'
'protonplus: Recommended to install with SimpleSteamTinker'
)
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=('git+https://github.com/JordanViknar/SimpleSteamTinker')
sha256sums=('SKIP')
pkgver() {
cd SimpleSteamTinker
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd SimpleSteamTinker
make system
cp -r dist/* "${pkgdir}/"
}