diff options
author | zhanghua000 | 2022-05-09 23:55:47 +0800 |
---|---|---|
committer | zhanghua000 | 2022-05-09 23:55:47 +0800 |
commit | 05ee195fcce2b8483d88e347dea5d47bf00c4547 (patch) | |
tree | cd10299fd22344732cebfb6489ec1eff8a81ee9c | |
download | aur-05ee195fcce2b8483d88e347dea5d47bf00c4547.tar.gz |
First release
-rw-r--r-- | .SRCINFO | 27 | ||||
-rw-r--r-- | .gitignore | 5 | ||||
-rw-r--r-- | PKGBUILD | 39 | ||||
-rw-r--r-- | watt-toolkit.desktop | 10 |
4 files changed, 81 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..143f92fabdea --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,27 @@ +pkgbase = watt-toolkit-bin + pkgdesc = 一个开源跨平台的多功能Steam工具箱。 + pkgver = 2.7.2 + pkgrel = 1 + url = https://steampp.net/ + arch = x86_64 + arch = aarch64 + license = GPL3 + makedepends = tar + makedepends = zstd + optdepends = steam: need official or flatpak version of steam + provides = steam++ + provides = watt-toolkit + conflicts = steam++ + conflicts = watt-toolkit + noextract = Steam++_x86_64.tar.zst + options = !strip + source = watt-toolkit.desktop + source = icon.png::https://github.com/BeyondDimension/SteamTools/raw/develop/resources/AppIcon/Logo_64.png + sha256sums = 251dceba9814b53e56e175d60965ffab8160b5cc58640c3069f927dae5b7a46f + sha256sums = 1c7e2b167b6b457c685d0d4890147edf70eb2a3eeefb12aa42ddd0c721b2f49d + source_x86_64 = Steam++_x86_64.tar.zst::https://github.com/BeyondDimension/SteamTools/releases/download/2.7.2/Steam++_linux_x64_v2.7.2.tar.zst + sha256sums_x86_64 = d30e07147d54fe1727df23dd09caaf657cc9a71a88536cef6ecb005cf0930191 + source_aarch64 = Steam++_aarch64.tar.zst::https://github.com/BeyondDimension/SteamTools/releases/download/2.7.2/Steam++_linux_arm64_v2.7.2.tar.zst + sha256sums_aarch64 = 8709d03a23193f3da5b5f9bc65962817a5bee21b3aa74c3d968bcf495650ce54 + +pkgname = watt-toolkit-bin diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..33072746e8f8 --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +pkg +src +*.png +*.tar.zst +*.pkg.tar.* diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..0aed96766a28 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,39 @@ +#Maintainer: rmbgame<rmb@rmbgame.net> +#Maintainer: AigioL<https://github.com/AigioL> +pkgname=watt-toolkit-bin +pkgdesc=一个开源跨平台的多功能Steam工具箱。 +pkgver=2.7.2 +pkgrel=2 +arch=('x86_64' 'aarch64') +url=https://steampp.net/ +license=('GPL3') +makedepends=('tar' 'zstd') +optdepends=('steam: need official or flatpak version of steam') +provides=('steam++' 'watt-toolkit') +conflicts=('steam++' 'watt-toolkit') +options=('!strip') +source=('watt-toolkit.desktop' 'icon.png::https://github.com/BeyondDimension/SteamTools/raw/develop/resources/AppIcon/Logo_64.png') +source_aarch64=("Steam++_aarch64.tar.zst::https://github.com/BeyondDimension/SteamTools/releases/download/${pkgver}/Steam++_linux_arm64_v${pkgver}.tar.zst") +source_x86_64=("Steam++_x86_64.tar.zst::https://github.com/BeyondDimension/SteamTools/releases/download/${pkgver}/Steam++_linux_x64_v${pkgver}.tar.zst") +sha256sums=('251dceba9814b53e56e175d60965ffab8160b5cc58640c3069f927dae5b7a46f' + '1c7e2b167b6b457c685d0d4890147edf70eb2a3eeefb12aa42ddd0c721b2f49d') +sha256sums_x86_64=('d30e07147d54fe1727df23dd09caaf657cc9a71a88536cef6ecb005cf0930191') +sha256sums_aarch64=('8709d03a23193f3da5b5f9bc65962817a5bee21b3aa74c3d968bcf495650ce54') +noextract=("Steam++_${CARCH}.tar.zst") +package(){ + mkdir -p "${pkgdir}/opt/watt-toolkit" + mkdir -p "${pkgdir}/usr/share/applications" + mkdir -p "${pkgdir}/usr/share/icons/hicolor/64x64/apps" + mkdir -p "${pkgdir}/usr/bin" + cd "${pkgdir}/opt/watt-toolkit" + tar -xvf "${srcdir}/Steam++_${CARCH}.tar.zst" + for file in Steam++ libHarfBuzzSharp.so libSkiaSharp.so libe_sqlite3.so + do + chmod 755 "${pkgdir}/opt/watt-toolkit/${file}" + done + install -Dm644 "${srcdir}/icon.png" "${pkgdir}/usr/share/icons/hicolor/64x64/apps/watt-toolkit.png" + ln -sf /opt/steam++/Steam++ "${pkgdir}/usr/bin/watt-toolkit" + install -Dm644 "${srcdir}/watt-toolkit.desktop" "${pkgdir}/usr/share/applications/watt-toolkit.desktop" + # Fix font issue, will remove once upstream fix this, enable this to fix crash at About page + sed -i "s|Exec=/usr/bin/watt-toolkit|Exec=env LANG=en_US.UTF-8 /usr/bin/watt-toolkit|" "${pkgdir}/usr/share/applications/watt-toolkit.desktop" +} diff --git a/watt-toolkit.desktop b/watt-toolkit.desktop new file mode 100644 index 000000000000..3eb01e72401b --- /dev/null +++ b/watt-toolkit.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Name=Watt Toolkit +Comment=A cross-platform Steam toolbox. +Comment[zh_CN]=一个开源跨平台的多功能Steam工具箱。 +Type=Application +Exec=/usr/bin/watt-toolkit +Icon=watt-toolkit +Categories=Network;Utility +Keywords=Steam;Steam++;WattToolkit + |