2020-11-06 16:39:37 +00:00
|
|
|
# Maintainer: Knut Ahlers <knut@ahlers.me>
|
|
|
|
# Contributor: Baron Hou <houbaron@gmail.com>
|
2018-10-04 07:21:22 +00:00
|
|
|
|
|
|
|
pkgname=archisteamfarm-bin
|
2022-07-01 23:36:10 +00:00
|
|
|
pkgver=5.2.7.7
|
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=(
|
2021-07-01 12:41:32 +00:00
|
|
|
"${pkgname}-${pkgver}.zip::https://github.com/JustArchiNET/ArchiSteamFarm/releases/download/${pkgver}/ASF-linux-x64.zip"
|
2022-04-03 10:13:35 +00:00
|
|
|
"LICENSE-${pkgver}.txt::https://raw.githubusercontent.com/JustArchiNET/ArchiSteamFarm/${pkgver}/LICENSE.txt"
|
2020-11-06 16:39:37 +00:00
|
|
|
"ArchiSteamFarm-bin.desktop"
|
2018-10-04 07:21:22 +00:00
|
|
|
)
|
|
|
|
|
2022-07-01 23:36:10 +00:00
|
|
|
sha512sums=('0e50e730c9fa3de2757032587748c5bbf15a4254e24c58359168c66b3fdf9d527a79d95243f4c158b447bf1946caab8082480650de5a8f525e48893e596a2ce1'
|
2021-05-01 12:36:13 +00:00
|
|
|
'98f6b79b778f7b0a15415bd750c3a8a097d650511cb4ec8115188e115c47053fe700f578895c097051c9bc3dfb6197c2b13a15de203273e1a3218884f86e90e8'
|
2020-11-06 16:39:37 +00:00
|
|
|
'32aaead4aacc02c9c60afef74e04cb3a30afc4d76f5e6836a05e672344c7db66cf099849cb2bc9a04454a026f99c9f60d3d7186f4a496d4626fe1a3d40d4ecf6')
|
2020-01-07 19:40:16 +00:00
|
|
|
|
2018-10-04 07:21:22 +00:00
|
|
|
prepare() {
|
2021-07-01 12:41:32 +00:00
|
|
|
unzip "${pkgname}-${pkgver}.zip" -d "ASF"
|
2018-10-04 07:21:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2021-07-01 12:41:32 +00:00
|
|
|
install -d "${pkgdir}/usr/share/licenses/${pkgname}"
|
|
|
|
cp "LICENSE-${pkgver}.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE-2.0.txt"
|
|
|
|
|
2020-11-06 16:39:37 +00:00
|
|
|
install -Dm644 -t "${pkgdir}/usr/share/applications" "ArchiSteamFarm-bin.desktop"
|
2018-10-04 07:21:22 +00:00
|
|
|
|
2020-11-06 16:39:37 +00:00
|
|
|
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
|
|
|
}
|