diff options
author | John-Michael Mulesa | 2021-09-19 16:05:59 +1000 |
---|---|---|
committer | John-Michael Mulesa | 2021-09-19 16:05:59 +1000 |
commit | 4c82dd2e1abe71ac369cbe45bb0d7a051ab6ed37 (patch) | |
tree | 9104ad64cf179b6c5be0b313a0de9d203075fe58 /PKGBUILD | |
download | aur-4c82dd2e1abe71ac369cbe45bb0d7a051ab6ed37.tar.gz |
Initial commit.
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..4518f639ee85 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: John-Michael Mulesa <jmulesa [at] gmail.com> +# Contributor: Sebastian Gsänger <sebastian_gsaenger [at] web.de> + +pkgname=prey-data-steam +pkgver=1 +pkgrel=1 +arch=('any') +makedepends=('steamcmd') +pkgdesc="Prey data via Steam" +optdepends=('prey: Linux game binaries for Prey') +license=('custom') +provides=('prey-data') +url='https://steamdb.info/app/3970/' + +prepare() { + mkdir -p $srcdir/prey + + # Use steamcmd to get data. + printf "Enter your Steam username:" + read steam_username + steamcmd +@sSteamCmdForcePlatformType windows +@ShutdownOnFailedCommand 1 +force_install_dir $srcdir/prey +login $steam_username "+app_update 3970 validate" +quit +} + +package() { + mkdir -p $pkgdir/opt/prey/base + + # Move required files to pkgdir + cp $srcdir/prey/base/pak0{00..04}.pk4 $pkgdir/opt/prey/base/ +} |