-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathPKGBUILD
executable file
·33 lines (29 loc) · 1.61 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
# Maintainer: LINUX-GAMING.RU ([email protected])
pkgname=portproton
_xdg_name=ru.linux_gaming.PortProton
pkgver=1.7.1
pkgrel=1
pkgdesc="Software for playing Microsoft Windows games and launchers"
arch=('x86_64')
url="https://linux-gaming.ru"
license=('MIT')
depends=('bash' 'yad' 'bubblewrap' 'zstd' 'cabextract' 'gzip'
'tar' 'openssl' 'desktop-file-utils' 'curl' 'dbus' 'freetype2' 'xdg-utils'
'gdk-pixbuf2' 'ttf-font' 'nss' 'xorg-xrandr' 'mesa-utils' 'imagemagick'
'vulkan-driver' 'vulkan-icd-loader' 'lib32-libgl' 'lib32-gcc-libs' 'vulkan-tools'
'lib32-libx11' 'lib32-libxss' 'lib32-alsa-plugins' 'lib32-pipewire' 'lib32-libgpg-error' 'lib32-gnutls' 'lib32-freetype2'
'lib32-nss' 'lib32-vulkan-driver' 'lib32-vulkan-icd-loader' 'lib32-openssl' 'python-pillow'
'perl-image-exiftool' 'jq')
optdepends=('gamemode: Support for Feral GameMode'
'lib32-gamemode: 32-bit support for Feral GameMode'
'gamescope: Support for Gamescope')
source=("$pkgname.tar.gz::https://github.com/Castro-Fidel/PortProton_ALT/archive/v$pkgver.tar.gz")
sha256sums=('af6787640cc2bca5a6a3cf34372ea8d7cee9521d1e732c5047236554b816b9af')
package() {
cd PortProton_ALT-$pkgver
install -Dm755 "portproton" "$pkgdir/usr/bin/$pkgname"
install -Dm644 "$_xdg_name.desktop" "$pkgdir/usr/share/applications/$_xdg_name.desktop"
install -Dm644 "$_xdg_name.svg" "$pkgdir/usr/share/icons/hicolor/scalable/apps/$_xdg_name.svg"
install -Dm644 "$_xdg_name.metainfo.xml" "$pkgdir/usr/share/metainfo/$_xdg_name.metainfo.xml"
install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}