diff --git a/PKGBUILD b/PKGBUILD index 7a9ca48..001b836 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -3,7 +3,7 @@ _pkgname=steamguard-cli pkgname=${_pkgname}-git -pkgver=0.4.3.r1.145c03e9 +pkgver=0.8.1.r1.fe0d6e9a pkgrel=1 pkgdesc="A command line utility to generate Steam 2FA codes and respond to confirmations." arch=('i686' 'x86_64' 'armv6h' 'armv7h') @@ -24,5 +24,6 @@ build() { } package() { - install -Dm755 "${srcdir}/${_pkgname}/target/release/${_pkgname}" "${pkgdir}/usr/bin/${_pkgname}" + install -Dm755 "${srcdir}/${_pkgname}/target/release/steamguard" "${pkgdir}/usr/bin/steamguard" + ln -s "${pkgdir}/usr/bin/steamguard" "${pkgdir}/usr/bin/${_pkgname}" } diff --git a/scripts/publish-aur.sh b/scripts/publish-aur.sh index 6c5d4e5..fbae0b2 100644 --- a/scripts/publish-aur.sh +++ b/scripts/publish-aur.sh @@ -31,7 +31,7 @@ fi # get version info -BIN_PATH="target/release/steamguard-cli" +BIN_PATH="target/release/steamguard" RAW_VERSION="$("$BIN_PATH" --version | cut -d " " -f 2)" TAGGED_VERSION="$(git tag | grep "^v" | tail -n 1 | tr -d v)" if [[ "v$RAW_VERSION" != "v$TAGGED_VERSION" ]]; then