archisteamfarm-bin/PKGBUILD
2024-12-02 13:52:10 +00:00

34 lines
1.2 KiB
Bash

# Maintainer: Knut Ahlers <knut@ahlers.me>
# Contributor: Baron Hou <houbaron@gmail.com>
pkgname=archisteamfarm-bin
pkgver=6.1.0.2
pkgrel=1
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")
depends=(dotnet-runtime)
makedepends=("unzip" "curl" "jq")
noextract=('ASF-linux-x64.zip')
options=("!debug" "!strip" "staticlibs")
source=(
"${pkgname}-${pkgver}.zip::https://github.com/JustArchiNET/ArchiSteamFarm/releases/download/${pkgver}/ASF-linux-x64.zip"
"ArchiSteamFarm-bin.desktop"
)
sha512sums=('9549a9515976ae50cee604b3f5ee923aa99b38e7d3c32d5a3e1f6a77b296fd694748d1b53512bedb5d281d3a2de0791d34bb85f74bd3ef6a00c795b7339d8a98'
'32aaead4aacc02c9c60afef74e04cb3a30afc4d76f5e6836a05e672344c7db66cf099849cb2bc9a04454a026f99c9f60d3d7186f4a496d4626fe1a3d40d4ecf6')
prepare() {
unzip "${pkgname}-${pkgver}.zip" -d "ASF"
}
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"
}