diff options
author | Michael Serajnik | 2019-12-25 23:30:40 +0100 |
---|---|---|
committer | Michael Serajnik | 2019-12-25 23:30:40 +0100 |
commit | fed914da4444cc08d3350ca04fdd484a6b6347db (patch) | |
tree | 23141c736dbfdca12eaf179b81f246219644192f /PKGBUILD | |
download | aur-fed914da4444cc08d3350ca04fdd484a6b6347db.tar.gz |
feat: add initial version
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..204aa9d0d1c1 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,22 @@ +# Maintainer: Michael Serajnik <ms dot mserajnik dot at> +pkgname=cproton-git +_pkgname=ProtonUpdater +pkgver=r11.d9fba2b +pkgrel=1 +pkgdesc="Script to make it easier to update Proton GE to the latest version" +arch=('any') +url="https://github.com/flubberding/ProtonUpdater" +license=('unknown') +source=("git+https://github.com/flubberding/ProtonUpdater.git") +md5sums=('SKIP') + +pkgver() { + cd "${srcdir}/$_pkgname" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +package() { + mkdir -p "$pkgdir/usr/bin" + cp "$srcdir/$_pkgname/cproton.sh" "$pkgdir/usr/bin/cproton" + chmod +x "$pkgdir/usr/bin/cproton" +} |