summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: acbadc9168577708e65dbe4ec4ea8e66f2587f80 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Maintainer: Lukas1818 aur at lukas1818 dot de

pkgname=nfauthenticationkey
pkgver=1.1.1
_pkgtag=$pkgver
pkgrel=1
arch=('any')
pkgdesc="create a Netflix authentican Key, which can be used for the Neflix Kodi addon or somewhere else."
url="https://github.com/CastagnaIT/NFAuthenticationKey/tree/linux"
license=('GPL3')
makedepends=('sed')
depends=('chromium' 'python' 'python-pycryptodomex' 'python-websocket-client')
source=("NFAuthenticationKey-Linux-$pkgver.zip::https://github.com/CastagnaIT/NFAuthenticationKey/archive/4b1a2dca26b553e4b782b1799d4889058e0ed799.tar.gz")
sha512sums=('df8a81309ec365b5dfcd7bcc423578a7c541e48b043fc13eb3d9dfbc82a9263d86381e6bed7ce8448c8248a65a3e06334b95cae1ad23c0d2504fc4e4a1bbe13d')


prepare()
{
	cd "$srcdir/NFAuthenticationKey"
	sed -i '1i #!/usr/bin/python' NFAuthenticationKey.py
}

package()
{
	install -Dm 755 "${srcdir}/NFAuthenticationKey/NFAuthenticationKey.py" "${pkgdir}/usr/bin/nfauthenticationkey"
}