mirror of
https://github.com/luzifer-aur/archisteamfarm-bin.git
synced 2024-11-08 15:10:11 +00:00
39 lines
1.6 KiB
Bash
39 lines
1.6 KiB
Bash
# Maintainer: Knut Ahlers <knut@ahlers.me>
|
|
# Contributor: Baron Hou <houbaron@gmail.com>
|
|
|
|
pkgname=archisteamfarm-bin
|
|
pkgver=5.2.3.5
|
|
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 License 2.0")
|
|
depends=(dotnet-runtime)
|
|
makedepends=("unzip" "curl" "jq")
|
|
noextract=('ASF-linux-x64.zip')
|
|
options=("!strip" "staticlibs")
|
|
|
|
source=(
|
|
"${pkgname}-${pkgver}.zip::https://github.com/JustArchiNET/ArchiSteamFarm/releases/download/${pkgver}/ASF-linux-x64.zip"
|
|
"LICENSE-${pkgver}.txt::https://raw.githubusercontent.com/JustArchiNET/ArchiSteamFarm/${pkgver}/LICENSE-2.0.txt"
|
|
"ArchiSteamFarm-bin.desktop"
|
|
)
|
|
|
|
sha512sums=('8dff4dd43f101ca0178eafa47d99baf959ea055368d0aca6c041c531fda568aaf6d34a2fbdd843c205deb242e8a4e3e449d25ae56acf5991d7a3b7d9d290250b'
|
|
'98f6b79b778f7b0a15415bd750c3a8a097d650511cb4ec8115188e115c47053fe700f578895c097051c9bc3dfb6197c2b13a15de203273e1a3218884f86e90e8'
|
|
'32aaead4aacc02c9c60afef74e04cb3a30afc4d76f5e6836a05e672344c7db66cf099849cb2bc9a04454a026f99c9f60d3d7186f4a496d4626fe1a3d40d4ecf6')
|
|
|
|
prepare() {
|
|
unzip "${pkgname}-${pkgver}.zip" -d "ASF"
|
|
}
|
|
|
|
package() {
|
|
install -d "${pkgdir}/usr/share/licenses/${pkgname}"
|
|
cp "LICENSE-${pkgver}.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE-2.0.txt"
|
|
|
|
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"
|
|
}
|