blob: cc33fa37fe5f9e6ab87cbfa59a82a16e96fced37 (
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
27
28
|
# Maintainer: Dawid Weglarz <dawid.weglarz95@gmail.com>
pkgname=geforcenow-electron
_newpkgname=gfn-electron
pkgver=2.1.2
pkgrel=1
pkgdesc="Linux desktop client for GeForce NOW, using Electron"
arch=("armv7l" "i686" "x86_64")
url="https://github.com/hmlendea/${_newpkgname}"
license=('GPLv3')
depends=('libva')
source=("https://github.com/hmlendea/${pkgname}/releases/download/v${pkgver}/geforcenow-electron_${pkgver}_linux.zip"
"https://raw.githubusercontent.com/hmlendea/geforcenow-electron/v${pkgver}/icon.png")
sha256sums=('5b13b569041920489ccb94473cd94ef2e4d7de7666e5c9687cc00509b8b9ce31'
'582ad4bb073926e51d8acaa0ab81aa70a1dbe4736eda0cf130b6ae689982b7a0')
package() {
install -d ${srcdir} ${pkgdir}/opt/${pkgname}
install -d ${pkgdir}/usr/share/applications
install -d ${pkgdir}/usr/share/pixmaps
install -d ${pkgdir}/usr/bin
cp -r ${srcdir}/* ${pkgdir}/opt/${pkgname}/
ln -s /opt/${pkgname}/geforcenow-electron ${pkgdir}/usr/bin/geforcenow
install -m644 ${srcdir}/icon.png ${pkgdir}/usr/share/pixmaps/nvidia.png
install -m755 ${srcdir}/com.github.hmlendea.${pkgname}.desktop ${pkgdir}/usr/share/applications
}
|