blob: 734d421967ea50eb85151ce06b7e1e5c526f6df0 (
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
31
32
33
34
35
36
37
38
39
|
# Maintainer: SHORiN-KiWATA <fcl709@outlook.com>
pkgname=shorin-proton-wrapper-git
pkgver=r72.5677457
pkgrel=1
pkgdesc="Simple Proton wrapper for running Windows executables"
arch=('any')
url="https://github.com/SHORiN-KiWATA/proton-wrapper"
license=('MIT')
depends=('bash' 'python' 'python-gobject' 'gtk4' 'gamescope' 'icoextract' 'python-pillow' 'curl')
optdepends=(
'steam: Steam runtime support'
'lutris: Lutris runner support'
'mangohud: performance overlay for --mangohud'
'libnotify: desktop notifications during first run'
'wget: alternative downloader'
'passt: separate network namespace for game accelerators (--netns)'
'lib32-cairo: 32-bit programs with PROTON_USE_WOW64=0'
)
makedepends=('git')
provides=('shorin-proton-wrapper')
conflicts=('shorin-proton-wrapper')
source=("git+$url.git")
md5sums=('SKIP')
pkgver() {
cd "$srcdir/proton-wrapper"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd "$srcdir/proton-wrapper"
install -Dm755 shorin-proton-wrapper "$pkgdir/usr/bin/shorin-proton-wrapper"
install -Dm755 shorin-proton-wrapper-configure "$pkgdir/usr/bin/shorin-proton-wrapper-configure"
install -Dm755 shorin-proton-wrapper-manager "$pkgdir/usr/bin/shorin-proton-wrapper-manager"
install -Dm644 shorin-proton-wrapper-run-windows-program.desktop "$pkgdir/usr/share/applications/shorin-proton-wrapper-run-windows-program.desktop"
install -Dm644 shorin-proton-wrapper-windows-program-configure.desktop "$pkgdir/usr/share/applications/shorin-proton-wrapper-windows-program-configure.desktop"
install -Dm644 shorin-proton-wrapper-manager.desktop "$pkgdir/usr/share/applications/shorin-proton-wrapper-manager.desktop"
install -Dm644 icons/shorin-proton.png "$pkgdir/usr/share/icons/hicolor/512x512/apps/shorin-proton.png"
}
|