mirror of
https://github.com/luzifer-aur/archisteamfarm-bin.git
synced 2024-12-21 02:41:18 +00:00
Fix: Prevent build-failures of new versions in unclean
build-environments Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
cc029f4048
commit
b1546e9bb5
2 changed files with 8 additions and 6 deletions
4
.SRCINFO
4
.SRCINFO
|
@ -12,8 +12,8 @@ pkgbase = archisteamfarm-bin
|
||||||
noextract = ASF-linux-x64.zip
|
noextract = ASF-linux-x64.zip
|
||||||
options = !strip
|
options = !strip
|
||||||
options = staticlibs
|
options = staticlibs
|
||||||
source = https://github.com/JustArchiNET/ArchiSteamFarm/releases/download/5.1.1.1/ASF-linux-x64.zip
|
source = archisteamfarm-bin-5.1.1.1.zip::https://github.com/JustArchiNET/ArchiSteamFarm/releases/download/5.1.1.1/ASF-linux-x64.zip
|
||||||
source = https://raw.githubusercontent.com/JustArchiNET/ArchiSteamFarm/5.1.1.1/LICENSE-2.0.txt
|
source = LICENSE-5.1.1.1.txt::https://raw.githubusercontent.com/JustArchiNET/ArchiSteamFarm/5.1.1.1/LICENSE-2.0.txt
|
||||||
source = ArchiSteamFarm-bin.desktop
|
source = ArchiSteamFarm-bin.desktop
|
||||||
sha512sums = d805ae0c2395877dc8ba8bec94f274d8d844294b52c5b891ef60ed816cabdfc3f62c60db32011b4657db44dfe6f28f1438eb43cd442fb0a6cd8fd9de52877c82
|
sha512sums = d805ae0c2395877dc8ba8bec94f274d8d844294b52c5b891ef60ed816cabdfc3f62c60db32011b4657db44dfe6f28f1438eb43cd442fb0a6cd8fd9de52877c82
|
||||||
sha512sums = 98f6b79b778f7b0a15415bd750c3a8a097d650511cb4ec8115188e115c47053fe700f578895c097051c9bc3dfb6197c2b13a15de203273e1a3218884f86e90e8
|
sha512sums = 98f6b79b778f7b0a15415bd750c3a8a097d650511cb4ec8115188e115c47053fe700f578895c097051c9bc3dfb6197c2b13a15de203273e1a3218884f86e90e8
|
||||||
|
|
10
PKGBUILD
10
PKGBUILD
|
@ -14,8 +14,8 @@ noextract=('ASF-linux-x64.zip')
|
||||||
options=("!strip" "staticlibs")
|
options=("!strip" "staticlibs")
|
||||||
|
|
||||||
source=(
|
source=(
|
||||||
"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"
|
||||||
"https://raw.githubusercontent.com/JustArchiNET/ArchiSteamFarm/${pkgver}/LICENSE-2.0.txt"
|
"LICENSE-${pkgver}.txt::https://raw.githubusercontent.com/JustArchiNET/ArchiSteamFarm/${pkgver}/LICENSE-2.0.txt"
|
||||||
"ArchiSteamFarm-bin.desktop"
|
"ArchiSteamFarm-bin.desktop"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -24,11 +24,13 @@ sha512sums=('d805ae0c2395877dc8ba8bec94f274d8d844294b52c5b891ef60ed816cabdfc3f62
|
||||||
'32aaead4aacc02c9c60afef74e04cb3a30afc4d76f5e6836a05e672344c7db66cf099849cb2bc9a04454a026f99c9f60d3d7186f4a496d4626fe1a3d40d4ecf6')
|
'32aaead4aacc02c9c60afef74e04cb3a30afc4d76f5e6836a05e672344c7db66cf099849cb2bc9a04454a026f99c9f60d3d7186f4a496d4626fe1a3d40d4ecf6')
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
unzip ASF-linux-x64.zip -d "ASF"
|
unzip "${pkgname}-${pkgver}.zip" -d "ASF"
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
install -Dm644 -t "${pkgdir}/usr/share/licenses/${pkgname}" "LICENSE-2.0.txt"
|
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 -Dm644 -t "${pkgdir}/usr/share/applications" "ArchiSteamFarm-bin.desktop"
|
||||||
|
|
||||||
install -d "${pkgdir}/opt/ArchiSteamFarm-bin"
|
install -d "${pkgdir}/opt/ArchiSteamFarm-bin"
|
||||||
|
|
Loading…
Reference in a new issue