blob: 46cb169933123880948d3ba54f1af13cbc93a20e (
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
35
36
37
|
# Maintainer: js6pak <me@6pak.dev>
pkgname=depotdownloader-git
pkgver=2.5.0.r33.g9d244640
pkgrel=1
pkgdesc="Steam depot downloader utilizing the SteamKit2 library"
arch=('x86_64')
url="https://github.com/SteamRE/DepotDownloader"
license=('GPL2')
depends=('dotnet-runtime-8.0')
makedepends=('git' 'dotnet-sdk>=8')
conflicts=("${pkgname%-git}")
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 -p:DebugType=embedded
}
package() {
cd "DepotDownloader/DepotDownloader"
install -D -m755 "bin/Release/net8.0/linux-x64/publish/DepotDownloader" "$pkgdir/usr/bin/depotdownloader"
}
|