Switch from custom to common Apache v2 license

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2022-09-13 19:09:17 +02:00
parent 0d6c98d5d6
commit 20187d19b8
Signed by: luzifer
GPG Key ID: 0066F03ED215AD7D
2 changed files with 11 additions and 18 deletions

View File

@ -1,10 +1,10 @@
pkgbase = archisteamfarm-bin pkgbase = archisteamfarm-bin
pkgdesc = C# application that allows you to farm steam cards using multiple steam accounts simultaneously. pkgdesc = C# application that allows you to farm steam cards using multiple steam accounts simultaneously.
pkgver = 5.3.0.3 pkgver = 5.3.0.3
pkgrel = 1 pkgrel = 2
url = https://github.com/JustArchiNET/ArchiSteamFarm url = https://github.com/JustArchiNET/ArchiSteamFarm
arch = x86_64 arch = x86_64
license = Apache License 2.0 license = Apache
makedepends = unzip makedepends = unzip
makedepends = curl makedepends = curl
makedepends = jq makedepends = jq
@ -13,10 +13,8 @@ pkgbase = archisteamfarm-bin
options = !strip options = !strip
options = staticlibs options = staticlibs
source = archisteamfarm-bin-5.3.0.3.zip::https://github.com/JustArchiNET/ArchiSteamFarm/releases/download/5.3.0.3/ASF-linux-x64.zip source = archisteamfarm-bin-5.3.0.3.zip::https://github.com/JustArchiNET/ArchiSteamFarm/releases/download/5.3.0.3/ASF-linux-x64.zip
source = LICENSE-5.3.0.3.txt::https://raw.githubusercontent.com/JustArchiNET/ArchiSteamFarm/5.3.0.3/LICENSE.txt
source = ArchiSteamFarm-bin.desktop source = ArchiSteamFarm-bin.desktop
sha512sums = 15d93686493a518dac97e2a49b60b85c260baeb724717ebd7426ccfd1f7a281f78dd0d371c6b2f7a63f743a353b9735922ad37c710df98abdfef4a99ec777460 sha512sums = 15d93686493a518dac97e2a49b60b85c260baeb724717ebd7426ccfd1f7a281f78dd0d371c6b2f7a63f743a353b9735922ad37c710df98abdfef4a99ec777460
sha512sums = 98f6b79b778f7b0a15415bd750c3a8a097d650511cb4ec8115188e115c47053fe700f578895c097051c9bc3dfb6197c2b13a15de203273e1a3218884f86e90e8
sha512sums = 32aaead4aacc02c9c60afef74e04cb3a30afc4d76f5e6836a05e672344c7db66cf099849cb2bc9a04454a026f99c9f60d3d7186f4a496d4626fe1a3d40d4ecf6 sha512sums = 32aaead4aacc02c9c60afef74e04cb3a30afc4d76f5e6836a05e672344c7db66cf099849cb2bc9a04454a026f99c9f60d3d7186f4a496d4626fe1a3d40d4ecf6
pkgname = archisteamfarm-bin pkgname = archisteamfarm-bin

View File

@ -3,37 +3,32 @@
pkgname=archisteamfarm-bin pkgname=archisteamfarm-bin
pkgver=5.3.0.3 pkgver=5.3.0.3
pkgrel=1 pkgrel=2
pkgdesc="C# application that allows you to farm steam cards using multiple steam accounts simultaneously." pkgdesc="C# application that allows you to farm steam cards using multiple steam accounts simultaneously."
arch=('x86_64') arch=('x86_64')
url="https://github.com/JustArchiNET/ArchiSteamFarm" url="https://github.com/JustArchiNET/ArchiSteamFarm"
license=("Apache License 2.0") license=("Apache")
depends=(dotnet-runtime) depends=(dotnet-runtime)
makedepends=("unzip" "curl" "jq") makedepends=("unzip" "curl" "jq")
noextract=('ASF-linux-x64.zip') noextract=('ASF-linux-x64.zip')
options=("!strip" "staticlibs") options=("!strip" "staticlibs")
source=( source=(
"${pkgname}-${pkgver}.zip::https://github.com/JustArchiNET/ArchiSteamFarm/releases/download/${pkgver}/ASF-linux-x64.zip" "${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.txt" "ArchiSteamFarm-bin.desktop"
"ArchiSteamFarm-bin.desktop"
) )
sha512sums=('15d93686493a518dac97e2a49b60b85c260baeb724717ebd7426ccfd1f7a281f78dd0d371c6b2f7a63f743a353b9735922ad37c710df98abdfef4a99ec777460' sha512sums=('15d93686493a518dac97e2a49b60b85c260baeb724717ebd7426ccfd1f7a281f78dd0d371c6b2f7a63f743a353b9735922ad37c710df98abdfef4a99ec777460'
'98f6b79b778f7b0a15415bd750c3a8a097d650511cb4ec8115188e115c47053fe700f578895c097051c9bc3dfb6197c2b13a15de203273e1a3218884f86e90e8'
'32aaead4aacc02c9c60afef74e04cb3a30afc4d76f5e6836a05e672344c7db66cf099849cb2bc9a04454a026f99c9f60d3d7186f4a496d4626fe1a3d40d4ecf6') '32aaead4aacc02c9c60afef74e04cb3a30afc4d76f5e6836a05e672344c7db66cf099849cb2bc9a04454a026f99c9f60d3d7186f4a496d4626fe1a3d40d4ecf6')
prepare() { prepare() {
unzip "${pkgname}-${pkgver}.zip" -d "ASF" unzip "${pkgname}-${pkgver}.zip" -d "ASF"
} }
package() { package() {
install -d "${pkgdir}/usr/share/licenses/${pkgname}" install -Dm644 -t "${pkgdir}/usr/share/applications" "ArchiSteamFarm-bin.desktop"
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 -d "${pkgdir}/opt/ArchiSteamFarm-bin" install -Dm755 -t "${pkgdir}/opt/ArchiSteamFarm-bin" "${srcdir}/ASF/ArchiSteamFarm"
cp -r "${srcdir}/ASF"/* "${pkgdir}/opt/ArchiSteamFarm-bin/"
install -Dm755 -t "${pkgdir}/opt/ArchiSteamFarm-bin" "${srcdir}/ASF/ArchiSteamFarm"
} }