diff options
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 15 |
2 files changed, 7 insertions, 14 deletions
@@ -1,7 +1,7 @@ pkgbase = paramountplus pkgdesc = Unnofficial ParamountPlus desktop application pkgver = 1.0.2 - pkgrel = 2 + pkgrel = 3 url = https://gitlab.com/ParamountPlus-desktop/application arch = x86_64 license = GPL @@ -12,7 +12,7 @@ pkgbase = paramountplus depends = libxss depends = git conflicts = ParamountPlus-bin - source = https://gitlab.com/paramountplus/application/-/archive/1.0.2-2/application-1.0.2-2.tar.bz2 - sha256sums = a1eab14be40274621d184ac15bda4308746b4059bd04aa9ea4e59d201bf4e7b2 + source = https://gitlab.com/paramountplus/application/-/archive/1.0.2-3/application-1.0.2-3.tar.bz2 + sha256sums = SKIP pkgname = paramountplus @@ -1,7 +1,7 @@ pkgname=paramountplus _pkgname=ParamountPlus pkgver=1.0.2 -pkgrel=2 +pkgrel=3 pkgdesc="Unnofficial ParamountPlus desktop application" arch=('x86_64') url="https://gitlab.com/ParamountPlus-desktop/application" @@ -10,28 +10,21 @@ depends=('libelectron' 'nss' 'gtk3' 'libxss' 'git') makedepends=('unzip') conflicts=("ParamountPlus-bin") source=("https://gitlab.com/paramountplus/application/-/archive/$pkgver-$pkgrel/application-$pkgver-$pkgrel.tar.bz2") -sha256sums=('a1eab14be40274621d184ac15bda4308746b4059bd04aa9ea4e59d201bf4e7b2') +sha256sums=('SKIP') package() { for dir in application-$pkgver-$pkgrel ; do mv "${dir}" "$_pkgname" ;done cd "$srcdir/$_pkgname" - cat <<EOT >> $pkgname - #!/bin/bash - cd /opt/$_pkgname && - npm start -EOT - - chmod +x $pkgname + chmod +x $pkgname.sh ln -sf "/opt/libelectron/node_modules" "$srcdir/$_pkgname" install -dm755 "$pkgdir/opt/$_pkgname" install -dm755 "$pkgdir/usr/share/pixmaps" cp -r ./ "$pkgdir/opt/$_pkgname" cp -r "$pkgdir/opt/$_pkgname/$pkgname.svg" "$pkgdir/usr/share/pixmaps" - # Link to binary install -dm755 "$pkgdir/usr/bin" - ln -s "/opt/$_pkgname/$pkgname" "$pkgdir/usr/bin" + ln -s "/opt/$_pkgname/$pkgname.sh" "$pkgdir/usr/bin/$pkgname" # Desktop Entry install -Dm644 "$srcdir/$_pkgname/$_pkgname.desktop" \ |