summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authormeowxiik2019-10-27 14:26:54 +0100
committermeowxiik2019-10-27 14:26:54 +0100
commit779d00d56237fe2ea5fecc9b831f89bf5bd28315 (patch)
tree4196ed4d179b8c9893d3ec04e61b36c6aa530e6c
parent638cd9a8b3deceac990013743098d5d8bc732da1 (diff)
downloadaur-779d00d56237fe2ea5fecc9b831f89bf5bd28315.tar.gz
Updated version, remove i686 support, added launch script
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD14
2 files changed, 11 insertions, 11 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 91b6f0dbdde..f9a8f04fb80 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = pb-for-desktop
pkgdesc = The missing Desktop application for Pushbullet
- pkgver = 6.8.1
+ pkgver = 9.5.0
pkgrel = 1
url = https://github.com/sidneys/pb-for-desktop
arch = i686
@@ -14,10 +14,8 @@ pkgbase = pb-for-desktop
depends = libxtst
depends = nss
provides = pb-for-desktop
- source_i686 = https://github.com/sidneys/pb-for-desktop/releases/download/v6.8.1/pb-for-desktop-6.8.1-i686.pacman
- sha256sums_i686 = cb73ae2f79103f7c8cb2e9a17a44b3bf986301a35b4abec033ae20548b01db82
- source_x86_64 = https://github.com/sidneys/pb-for-desktop/releases/download/v6.8.1/pb-for-desktop-6.8.1.pacman
- sha256sums_x86_64 = f9728dc7b66aa3bff3e7ce2520cad821dfa967245d5c5326a15cbd7b0e53f47a
+ source_x86_64 = https://github.com/sidneys/pb-for-desktop/releases/download/v9.5.0/pb-for-desktop-9.5.0-x64.pacman
+ sha256sums_x86_64 = ad820374cb5aaab2b566fbb27f3dec5c2674584fdbcc1b1ced29c079ec67ead5
pkgname = pb-for-desktop
diff --git a/PKGBUILD b/PKGBUILD
index 187393f464f..c0ddf2d84ea 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,18 +1,16 @@
-# Maintainer: Bilal ELmoussaoui <bil.elmoussaoui@gmail.com>
+# Maintainer: Richard Villarreal <richard.x.villarreal@gmail.com>
pkgname=pb-for-desktop
pkgrel=1
-pkgver=6.8.1
+pkgver=9.5.0
pkgdesc="The missing Desktop application for Pushbullet"
url="https://github.com/sidneys/pb-for-desktop"
provides=('pb-for-desktop')
arch=('i686' 'x86_64')
license=('MIT')
depends=('libnotify' 'notify-osd' 'gconf' 'libappindicator-gtk2' 'libappindicator-gtk3' 'libxtst' 'nss')
-source_x86_64=("${url}/releases/download/v${pkgver}/${pkgname}-${pkgver}.pacman")
-source_i686=("${url}/releases/download/v${pkgver}/${pkgname}-${pkgver}-i686.pacman")
-sha256sums_x86_64=('f9728dc7b66aa3bff3e7ce2520cad821dfa967245d5c5326a15cbd7b0e53f47a')
-sha256sums_i686=('cb73ae2f79103f7c8cb2e9a17a44b3bf986301a35b4abec033ae20548b01db82')
+source_x86_64=("${url}/releases/download/v${pkgver}/${pkgname}-${pkgver}-x64.pacman")
+sha256sums_x86_64=('ad820374cb5aaab2b566fbb27f3dec5c2674584fdbcc1b1ced29c079ec67ead5')
package() {
# Install the application files in /opt
@@ -28,4 +26,8 @@ package() {
"${pkgdir}${icons_dir}/${pkgname}.png"
done
+ # Add a launch script
+ printf '#!/usr/bin/bash\n\nXDG_DATA_DIRS=/usr/local/share/:/usr/share/ "/usr/opt/PB for Desktop/pb-for-desktop"' > "${srcdir}/pushbullet"
+ install -d "${pkgdir}/usr/bin"
+ install -D -m755 "${srcdir}/pushbullet" "${pkgdir}/usr/bin/"
}