2018-10-04 07:21:22 +00:00
|
|
|
# Maintainer: Baron Hou <houbaron@gmail.com>
|
|
|
|
|
|
|
|
pkgname=archisteamfarm-bin
|
2020-08-21 21:01:31 +00:00
|
|
|
pkgver=4.2.4.0
|
2018-10-05 08:45:08 +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 License 2.0")
|
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=(
|
2020-01-07 19:40:16 +00:00
|
|
|
"https://github.com/JustArchiNET/ArchiSteamFarm/releases/latest/download/ASF-linux-x64.zip"
|
2018-10-04 07:21:22 +00:00
|
|
|
"LICENSE-2.0.txt"
|
|
|
|
"ArchiSteamFarm-bin.desktop"
|
|
|
|
)
|
|
|
|
|
|
|
|
md5sums=(
|
2020-01-07 19:40:16 +00:00
|
|
|
'SKIP'
|
2018-10-04 07:21:22 +00:00
|
|
|
'175792518e4ac015ab6696d16c4f607e'
|
|
|
|
'98654afd36cae629f570ff0510669ba2'
|
|
|
|
)
|
|
|
|
|
2020-01-07 19:40:16 +00:00
|
|
|
pkgver() {
|
|
|
|
curl -s https://api.github.com/repos/JustArchiNET/ArchiSteamFarm/releases/latest | jq -r '.tag_name'
|
|
|
|
}
|
|
|
|
|
2018-10-04 07:21:22 +00:00
|
|
|
prepare() {
|
2020-01-07 19:40:16 +00:00
|
|
|
rm -rf "ASF"
|
|
|
|
unzip ASF-linux-x64.zip -d "ASF"
|
2018-10-04 07:21:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
install -Dm644 "LICENSE-2.0.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
|
|
|
install -Dm644 "ArchiSteamFarm-bin.desktop" "${pkgdir}/usr/share/applications/ArchiSteamFarm-bin.desktop"
|
|
|
|
|
2020-01-07 19:40:16 +00:00
|
|
|
install -Dm755 "./ASF/ArchiSteamFarm" "${pkgdir}/opt/ArchiSteamFarm-bin/ArchiSteamFarm"
|
|
|
|
cp -r "${srcdir}/ASF"/* "${pkgdir}/opt/ArchiSteamFarm-bin/"
|
|
|
|
|
|
|
|
rm -f "$srcdir/../ASF-linux-x64.zip"
|
2018-10-04 07:21:22 +00:00
|
|
|
}
|
2020-01-07 19:40:16 +00:00
|
|
|
|