summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas18182020-11-02 16:21:59 +0100
committerLukas18182020-11-02 16:21:59 +0100
commit374446213fee514c31fded3f3b4c996a75219598 (patch)
tree53380e18d0796a5d146071fd69a7a7fec9cb1e8d
parentbf4b0d9a9d71eb499be2f776a4ac5c1e5034ddba (diff)
downloadaur-374446213fee514c31fded3f3b4c996a75219598.tar.gz
use prepare() instead of build(); change source anme
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 96e2cc57edb..292b3d4bb65 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -10,7 +10,7 @@ pkgbase = nfauthenticationkey
depends = python
depends = python-pycryptodomex
depends = python-websocket-client
- source = nfauthenticationkey-1.0.3::https://uc48a7e4c6d51315614c3394c1a7.dl.dropboxusercontent.com/cd/0/get/BCc72VGHTKW5FoNtL_X0WUUq1LDRdfkRNBbTvpTT2wmujPPWnr2aTAmxcozRdlVbIoZ8OTZ6wj6tqIeWethuegeKycBGiAzFkUWUFUGwfimR18RKlH_nsDcvYVz38BOcJNU/file?_download_id=84288066276119277774198933696335530124090209346608197039563885744&
+ source = NFAuthenticationKey_Linux_1.0.3.zip::https://uc48a7e4c6d51315614c3394c1a7.dl.dropboxusercontent.com/cd/0/get/BCc72VGHTKW5FoNtL_X0WUUq1LDRdfkRNBbTvpTT2wmujPPWnr2aTAmxcozRdlVbIoZ8OTZ6wj6tqIeWethuegeKycBGiAzFkUWUFUGwfimR18RKlH_nsDcvYVz38BOcJNU/file?_download_id=84288066276119277774198933696335530124090209346608197039563885744&
sha512sums = dbf74fc7e282275d7c173713143f97d731e45fb314e0f8078417a3f5716be433ad181c6a99c2c1129db6bf859a690daacbdde3fe696ba1a769bd4296589ddfaf
pkgname = nfauthenticationkey
diff --git a/PKGBUILD b/PKGBUILD
index 6938c82428c..64c9c0fa13b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -10,11 +10,11 @@ url="https://github.com/CastagnaIT/plugin.video.netflix/wiki/Login-with-Authenti
license=('GPL3')
makedepends=('sed')
depends=('chromium' 'python' 'python-pycryptodomex' 'python-websocket-client')
-source=("nfauthenticationkey-$_pkgtag::https://uc48a7e4c6d51315614c3394c1a7.dl.dropboxusercontent.com/cd/0/get/BCc72VGHTKW5FoNtL_X0WUUq1LDRdfkRNBbTvpTT2wmujPPWnr2aTAmxcozRdlVbIoZ8OTZ6wj6tqIeWethuegeKycBGiAzFkUWUFUGwfimR18RKlH_nsDcvYVz38BOcJNU/file?_download_id=84288066276119277774198933696335530124090209346608197039563885744&")
+source=("NFAuthenticationKey_Linux_$pkgver.zip::https://uc48a7e4c6d51315614c3394c1a7.dl.dropboxusercontent.com/cd/0/get/BCc72VGHTKW5FoNtL_X0WUUq1LDRdfkRNBbTvpTT2wmujPPWnr2aTAmxcozRdlVbIoZ8OTZ6wj6tqIeWethuegeKycBGiAzFkUWUFUGwfimR18RKlH_nsDcvYVz38BOcJNU/file?_download_id=84288066276119277774198933696335530124090209346608197039563885744&")
sha512sums=('dbf74fc7e282275d7c173713143f97d731e45fb314e0f8078417a3f5716be433ad181c6a99c2c1129db6bf859a690daacbdde3fe696ba1a769bd4296589ddfaf')
-build()
+prepare()
{
cd "$srcdir/NFAuthenticationKey"
sed -i '1i #!/usr/bin/python' NFAuthenticationKey.py