archisteamfarm-bin/PKGBUILD

35 lines
1.2 KiB
Text
Raw Normal View History

# Maintainer: Knut Ahlers <knut@ahlers.me>
# Contributor: Baron Hou <houbaron@gmail.com>
2018-10-04 07:21:22 +00:00
pkgname=archisteamfarm-bin
2023-10-19 13:52:08 +00:00
pkgver=5.4.12.3
2022-10-01 11:36:09 +00:00
pkgrel=1
2018-10-04 07:21:22 +00:00
pkgdesc="C# application that allows you to farm steam cards using multiple steam accounts simultaneously."
arch=('x86_64')
url="https://github.com/JustArchiNET/ArchiSteamFarm"
license=("Apache")
2020-01-07 19:40:16 +00:00
depends=(dotnet-runtime)
makedepends=("unzip" "curl" "jq")
2018-10-04 07:21:22 +00:00
noextract=('ASF-linux-x64.zip')
2020-01-07 19:40:16 +00:00
options=("!strip" "staticlibs")
2018-10-04 07:21:22 +00:00
source=(
"${pkgname}-${pkgver}.zip::https://github.com/JustArchiNET/ArchiSteamFarm/releases/download/${pkgver}/ASF-linux-x64.zip"
"ArchiSteamFarm-bin.desktop"
2018-10-04 07:21:22 +00:00
)
2023-10-19 13:52:08 +00:00
sha512sums=('a48963f819648ce277ea1b1dc30edbeac258425551dd82d5a49420ce1808db43f20169e030698098b2b5b69dfe157c7ce10d860aaf6ee34c7a3e2042f8641641'
'32aaead4aacc02c9c60afef74e04cb3a30afc4d76f5e6836a05e672344c7db66cf099849cb2bc9a04454a026f99c9f60d3d7186f4a496d4626fe1a3d40d4ecf6')
2020-01-07 19:40:16 +00:00
2018-10-04 07:21:22 +00:00
prepare() {
unzip "${pkgname}-${pkgver}.zip" -d "ASF"
2018-10-04 07:21:22 +00:00
}
package() {
install -Dm644 -t "${pkgdir}/usr/share/applications" "ArchiSteamFarm-bin.desktop"
install -d "${pkgdir}/opt/ArchiSteamFarm-bin"
cp -r "${srcdir}/ASF"/* "${pkgdir}/opt/ArchiSteamFarm-bin/"
install -Dm755 -t "${pkgdir}/opt/ArchiSteamFarm-bin" "${srcdir}/ASF/ArchiSteamFarm"
2018-10-04 07:21:22 +00:00
}