summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas18182021-01-04 21:31:55 +0100
committerLukas18182021-01-04 21:31:55 +0100
commit1415c5446a8b62c3262b05a72b9ba2d5b7cb02cd (patch)
treea8788fea14cac400fe1d217b05bbbaafa762616b
parente5e7dc6be60b5bd181b29e50dc28d1e38c7ba6e6 (diff)
downloadaur-1415c5446a8b62c3262b05a72b9ba2d5b7cb02cd.tar.gz
fix second build
-rw-r--r--PKGBUILD8
1 files changed, 4 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index e73d4f8535b..ea432012211 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,7 @@
# Maintainer: Lukas1818 aur at lukas1818 dot de
pkgname=nfauthenticationkey
+commit=4b1a2dca26b553e4b782b1799d4889058e0ed799
pkgver=1.1.1
_pkgtag=$pkgver
pkgrel=1
@@ -10,17 +11,16 @@ url="https://github.com/CastagnaIT/NFAuthenticationKey/tree/linux"
license=('GPL3')
makedepends=('sed')
depends=('chromium' 'python' 'python-pycryptodomex' 'python-websocket-client')
-source=("NFAuthenticationKey-Linux-$pkgver.tar.gz::https://github.com/CastagnaIT/NFAuthenticationKey/archive/4b1a2dca26b553e4b782b1799d4889058e0ed799.tar.gz")
+source=("NFAuthenticationKey-Linux-$pkgver.tar.gz::https://github.com/CastagnaIT/NFAuthenticationKey/archive/$commit.tar.gz")
sha512sums=('df8a81309ec365b5dfcd7bcc423578a7c541e48b043fc13eb3d9dfbc82a9263d86381e6bed7ce8448c8248a65a3e06334b95cae1ad23c0d2504fc4e4a1bbe13d')
prepare()
{
- cd "$srcdir/NFAuthenticationKey"
- sed -i '1i #!/usr/bin/python' NFAuthenticationKey.py
+ sed -i '1i #!/usr/bin/python' "$srcdir/NFAuthenticationKey-$commit/NFAuthenticationKey.py"
}
package()
{
- install -Dm 755 "${srcdir}/NFAuthenticationKey/NFAuthenticationKey.py" "${pkgdir}/usr/bin/nfauthenticationkey"
+ install -Dm 755 "${srcdir}/NFAuthenticationKey-$commit"/NFAuthenticationKey.py "${pkgdir}/usr/bin/nfauthenticationkey"
}