blob: 3dbef2e919b6488a602c584d9e1adea1669358ad (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# Maintainer: js6pak <kubastaron@hotmail.com>
pkgname=depotdownloader-git
pkgver=2.4.5.r14.g48e8267e
pkgrel=1
pkgdesc="Steam depot downloader utilizing the SteamKit2 library"
arch=('x86_64')
url="https://github.com/SteamRE/DepotDownloader"
license=('GPL2')
depends=('dotnet-runtime>=6')
makedepends=('git' 'dotnet-sdk>=6')
provides=("${pkgname%-git}")
options=("!strip")
source=("git+${url}.git")
sha256sums=('SKIP')
pkgver() {
cd "DepotDownloader"
git describe --long --tags | sed -e 's/^DepotDownloader_//g' -e 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "DepotDownloader/DepotDownloader"
dotnet publish -r linux-x64 -c Release -p:PublishSingleFile=true --no-self-contained -p:IncludeAllContentForSelfExtract=true
}
package() {
cd "DepotDownloader/DepotDownloader"
install -D -m755 "bin/Release/net6.0/linux-x64/publish/DepotDownloader" "$pkgdir/usr/bin/depotdownloader"
}
|