diff options
author | gameslayer | 2022-12-26 15:25:28 +1000 |
---|---|---|
committer | gameslayer | 2022-12-26 15:25:28 +1000 |
commit | a3ccf018550a026b81e940084a5db91a857cb31f (patch) | |
tree | c2dcf37316e02299a593b7386199df21f0b3079b | |
parent | 3a0a7802b3d599e6b2556b9618f273d634f65b2c (diff) | |
download | aur-a3ccf018550a026b81e940084a5db91a857cb31f.tar.gz |
AUR Hotfix only. - Added launch script for package manager use only, this will also be used to resolve the KDE launch issue as I make some changes to the PKGBUILD file on the AUR.
-rw-r--r-- | .SRCINFO | 4 | ||||
-rwxr-xr-x | PKGBUILD | 16 |
2 files changed, 6 insertions, 14 deletions
@@ -1,7 +1,7 @@ pkgbase = primevideo pkgdesc = Unnofficial Prime Videos desktop application pkgver = 1.0.0 - pkgrel = 2 + pkgrel = 3 url = https://gitlab.com/primevideo/application arch = x86_64 license = GPL @@ -13,7 +13,7 @@ pkgbase = primevideo depends = git conflicts = primevideo-git conflicts = primevideo-bin - source = https://gitlab.com/primevideo/application/-/archive/1.0.0-2/application-1.0.0-2.tar.bz2 + source = https://gitlab.com/primevideo/application/-/archive/1.0.0-3/application-1.0.0-3.tar.bz2 sha256sums = SKIP pkgname = primevideo @@ -1,7 +1,7 @@ pkgname=primevideo _pkgname=PrimeVideo pkgver=1.0.0 -pkgrel=2 +pkgrel=3 _pkgrel_x86_64=1 pkgdesc="Unnofficial Prime Videos desktop application" arch=('x86_64') @@ -13,27 +13,19 @@ conflicts=("primevideo-git" "primevideo-bin") source=("https://gitlab.com/primevideo/application/-/archive/$pkgver-$pkgrel/application-$pkgver-$pkgrel.tar.bz2") 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" - + 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" \ |