diff options
author | meister1593 | 2021-06-24 00:32:37 +0400 |
---|---|---|
committer | meister1593 | 2021-06-24 00:32:37 +0400 |
commit | 44c6f0d7848e6165dfa711d077202760616acd90 (patch) | |
tree | eb3693ebce514ca3b1855237f09045eb694286ab | |
parent | 5badb9c1050159ad8bcc120b6f8a8762699fbaa6 (diff) | |
download | aur-44c6f0d7848e6165dfa711d077202760616acd90.tar.gz |
Fixed build, changed installation a bit
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 10 |
2 files changed, 8 insertions, 8 deletions
@@ -1,8 +1,8 @@ pkgbase = polaronproton-git pkgdesc = Symlink manager for Steam Play (Proton) prefixes - pkgver = 0.10.0.r3.g5c6cd2f + pkgver = r1.5badb9c pkgrel = 1 - url = https://github.com/Meister1593/PolaronProton + url = https://github.com/Meister1593/polaronproton arch = x86_64 arch = aarch64 license = MIT @@ -10,7 +10,7 @@ pkgbase = polaronproton-git makedepends = rust provides = polaronproton conflicts = polaronproton - source = git+https://github.com/Meister1593/PolaronProton.git + source = git+https://github.com/Meister1593/polaronproton.git sha256sums = SKIP pkgname = polaronproton-git @@ -2,10 +2,10 @@ pkgname=polaronproton-git _pkgname=polaronproton -pkgver=0.10.0.r3.g5c6cd2f +pkgver=r1.5badb9c pkgrel=1 pkgdesc="Symlink manager for Steam Play (Proton) prefixes" -url="https://github.com/Meister1593/PolaronProton" +url="https://github.com/Meister1593/polaronproton" arch=("x86_64" "aarch64") license=("MIT") makedepends=("git" "rust") @@ -15,8 +15,8 @@ source=("git+$url.git") sha256sums=('SKIP') pkgver() { - cd "$_pkgname" - git describe --tags --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g' + cd "$_git_pkgname" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } build() { @@ -27,5 +27,5 @@ build() { package() { cd "$srcdir/$_pkgname" install -Dm 644 "LICENSE.md" "$pkgdir/usr/share/licenses/$_pkgname/LICENSE" - install -Dm 755 -t "$pkgdir/usr/bin" "target/release/$_pkgname"{,-cli} + install -Dm 755 "target/release/$_pkgname-cli" "$pkgdir/usr/bin/$_pkgname" } |