# Maintainer: AtticFinder65536 pkgname=('archisteamfarm') pkgver=5.4.8.3 pkgrel=1 pkgdesc="Powerful CLI program primarily for Steam trading card farming based on SteamKit2" url="https://github.com/JustArchiNET/ArchiSteamFarm" license=('Apache') source=("${pkgname}-${pkgver}".tar.gz::https://github.com/JustArchiNET/ArchiSteamFarm/archive/refs/tags/${pkgver}.tar.gz 'archisteamfarm') b2sums=('335ebbb308ace91a243f3e214f49a0764056c2d0a8a83c8d062e35b5667c828143a24a288c9ba51668cbfa6bc8b05f79f8f725aad5ecf791ecdff2d6119e94dc' '67a16d35a30213440e7b9ae9ae0b8e75a6f7e8aad8c6d28bcca2f6ca3e32d8c1e6a66c3369c88b7b752107a809687d5314e714230afe2c137b4026b1ab0297fe') arch=('any') depends=('dotnet-runtime-7.0') makedepends=('dotnet-sdk-7.0') options=('!strip') build(){ cd ArchiSteamFarm-"${pkgver}" dotnet publish ArchiSteamFarm --configuration 'Release' -f net7.0 } package(){ cd ArchiSteamFarm-"${pkgver}" # Install launcher install -Dm755 "${srcdir}"/archisteamfarm "${pkgdir}"/usr/bin/archisteamfarm # Install application cd ArchiSteamFarm/bin/Release/net7.0/publish find . -type f -exec install -Dm644 "{}" "${pkgdir}"/usr/lib/${pkgname}"/{}" \; }