mirror of
https://github.com/luzifer-aur/archisteamfarm-bin.git
synced 2024-11-12 16:42:50 +00:00
34 lines
1.2 KiB
Bash
34 lines
1.2 KiB
Bash
# Maintainer: Knut Ahlers <knut@ahlers.me>
|
|
# Contributor: Baron Hou <houbaron@gmail.com>
|
|
|
|
pkgname=archisteamfarm-bin
|
|
pkgver=6.0.8.7
|
|
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=('9dc17f99cded5b7e415a6849b7ecfbb7b1e6041e887dc02e4d31d460ec971c49b4eb125a0482d78abfb13fd771f077ac059ec5284dc6a7980212660902f2dd8e'
|
|
'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"
|
|
}
|