Initial Commit

This commit is contained in:
Andre Schneider
2022-10-05 17:16:51 +02:00
commit 06ad9bb268
4 changed files with 77 additions and 0 deletions

25
.SRCINFO Normal file
View File

@@ -0,0 +1,25 @@
pkgbase = protonup-qt-bin
pkgdesc = Install and manage Proton-GE for Steam and Wine-GE for Lutris with this graphical user interface.
pkgver = 2.7.4
pkgrel = 1
url = https://davidotek.github.io/protonup-qt
arch = x86_64
license = GPL3
provides = protonup-qt
conflicts = protonup-qt
noextract = ProtonUp-Qt-2.7.4-x86_64.AppImage
options = !strip
source = ProtonUp-Qt-2.7.4-x86_64.AppImage::https://github.com/DavidoTek/ProtonUp-Qt/releases/download/v2.7.4/ProtonUp-Qt-2.7.4-x86_64.AppImage
source = 256x256-net.davidotek.pupgui2.png::https://raw.githubusercontent.com/DavidoTek/ProtonUp-Qt/main/share/icons/hicolor/256x256/apps/net.davidotek.pupgui2.png
source = 128x128-net.davidotek.pupgui2.png::https://raw.githubusercontent.com/DavidoTek/ProtonUp-Qt/main/share/icons/hicolor/128x128/apps/net.davidotek.pupgui2.png
source = 64x64-net.davidotek.pupgui2.png::https://raw.githubusercontent.com/DavidoTek/ProtonUp-Qt/main/share/icons/hicolor/64x64/apps/net.davidotek.pupgui2.png
source = protonup-qt.desktop
source = protonup-qt
sha256sums = c8a73e28e41fa9c8aa50b9c28552dfeb2f67a6849833a166bbb9981842a6a640
sha256sums = 7b076d883121d5aa6c9575acb8afb3b725be290752cd923562db5101396c1b93
sha256sums = 8e4df1de1fd883a94e4dbe544b285f74288c8fe19a3d0b301c9953d885c7aba8
sha256sums = 3fe22cd927b21f7c40760abd82f1d64380e54c78c937286e7b27dfc7e8681c19
sha256sums = 3d2e9dbb6eb0fa034db3c1b2384fd23a8b004c90a8f72afbe86baff714433da1
sha256sums = 1baaba24e3fae798cde2f1801b9a0c5f92df5c61b0d8ba81c43731abcce44bc2
pkgname = protonup-qt-bin

43
PKGBUILD Normal file
View File

@@ -0,0 +1,43 @@
# Maintainer: Andre Schneider <andre.schneider@outlook.at>
pkgname=protonup-qt-bin
_pkgname=ProtonUp-Qt
_iconname=net.davidotek.pupgui2.png
pkgver=2.7.4
pkgrel=1
pkgdesc="Install and manage Proton-GE for Steam and Wine-GE for Lutris with this graphical user interface."
arch=('x86_64')
url="https://davidotek.github.io/protonup-qt"
license=('GPL3')
provides=(protonup-qt)
conflicts=(protonup-qt)
options=(!strip)
source=(
"$_pkgname-$pkgver-$CARCH.AppImage::https://github.com/DavidoTek/ProtonUp-Qt/releases/download/v$pkgver/$_pkgname-$pkgver-$CARCH.AppImage"
"256x256-$_iconname::https://raw.githubusercontent.com/DavidoTek/ProtonUp-Qt/main/share/icons/hicolor/256x256/apps/$_iconname"
"128x128-$_iconname::https://raw.githubusercontent.com/DavidoTek/ProtonUp-Qt/main/share/icons/hicolor/128x128/apps/$_iconname"
"64x64-$_iconname::https://raw.githubusercontent.com/DavidoTek/ProtonUp-Qt/main/share/icons/hicolor/64x64/apps/$_iconname"
"protonup-qt.desktop"
"protonup-qt"
)
sha256sums=('c8a73e28e41fa9c8aa50b9c28552dfeb2f67a6849833a166bbb9981842a6a640'
'7b076d883121d5aa6c9575acb8afb3b725be290752cd923562db5101396c1b93'
'8e4df1de1fd883a94e4dbe544b285f74288c8fe19a3d0b301c9953d885c7aba8'
'3fe22cd927b21f7c40760abd82f1d64380e54c78c937286e7b27dfc7e8681c19'
'3d2e9dbb6eb0fa034db3c1b2384fd23a8b004c90a8f72afbe86baff714433da1'
'1baaba24e3fae798cde2f1801b9a0c5f92df5c61b0d8ba81c43731abcce44bc2')
noextract=("$_pkgname-$pkgver-$CARCH.AppImage")
package() {
cd "$srcdir"
# Install binary and launch script
install -Dm755 "$_pkgname-$pkgver-$CARCH.AppImage" "$pkgdir/opt/protonup-qt/protonup-qt.AppImage"
install -Dm755 -t "$pkgdir/usr/bin" protonup-qt
# Install icons and desktop file
install -Dm644 "256x256-$_iconname" "$pkgdir/usr/share/icons/hicolor/256x256/apps/$_iconname"
install -Dm644 "128x128-$_iconname" "$pkgdir/usr/share/icons/hicolor/128x128/apps/$_iconname"
install -Dm644 "64x64-$_iconname" "$pkgdir/usr/share/icons/hicolor/64x64/apps/$_iconname"
install -Dm644 -t "$pkgdir/usr/share/applications" "protonup-qt.desktop"
}

2
protonup-qt Normal file
View File

@@ -0,0 +1,2 @@
#!/bin/sh
/opt/protonup-qt/protonup-qt.AppImage "$@"

7
protonup-qt.desktop Normal file
View File

@@ -0,0 +1,7 @@
[Desktop Entry]
Name=ProtonUp-Qt
Exec=protonup-qt
Type=Application
Terminal=false
Icon=net.davidotek.pupgui2
Categories=Game;Utility;