archisteamfarm-bin/PKGBUILD
2018-10-04 15:25:35 +08:00

36 lines
1 KiB
Bash

# Maintainer: Baron Hou <houbaron@gmail.com>
pkgname=archisteamfarm-bin
pkgver=3.4.0.1
pkgrel=2
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")
makedepends=("unzip")
noextract=('ASF-linux-x64.zip')
options=("!strip")
source=(
"https://github.com/JustArchiNET/ArchiSteamFarm/releases/download/${pkgver}/ASF-linux-x64.zip"
"LICENSE-2.0.txt"
"ArchiSteamFarm-bin.desktop"
)
md5sums=(
'1b5706bd5df56ac98b23480b39da7ae2'
'175792518e4ac015ab6696d16c4f607e'
'98654afd36cae629f570ff0510669ba2'
)
prepare() {
unzip ASF-linux-x64.zip
}
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"
mkdir -p "${pkgdir}/opt/ArchiSteamFarm-bin/"
cp -r "${srcdir}"/* "${pkgdir}/opt/ArchiSteamFarm-bin/"
}