summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBilal Elmoussaoui2017-12-29 18:33:01 +0100
committerBilal Elmoussaoui2017-12-29 18:33:01 +0100
commitd409dd69d2bc4a106ec2f0092df85fafc48f3e39 (patch)
treece5aa91ee41bf8ff3fd10fafcd5259cdaabb1ef2
parent2bf8b13311808c31982a599825af79855d5fbc8f (diff)
downloadaur-d409dd69d2bc4a106ec2f0092df85fafc48f3e39.tar.gz
update to 6.7.7 and add notify-osd as a dependency
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD23
2 files changed, 15 insertions, 16 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 70d323ddff0..199b507c299 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,21 +1,21 @@
pkgbase = pb-for-desktop
pkgdesc = The missing Desktop application for Pushbullet
- pkgver = 6.5.1
+ pkgver = 6.7.7
pkgrel = 1
url = https://github.com/sidneys/pb-for-desktop
arch = i686
arch = x86_64
license = MIT
- makedepends = unzip
depends = libnotify
+ depends = notify-osd
depends = gconf
depends = libappindicator-gtk2
depends = libappindicator-gtk3
depends = libxtst
depends = nss
provides = pb-for-desktop
- source = https://github.com/sidneys/pb-for-desktop/releases/download/v6.5.1/pb-for-desktop-6.5.1.pacman
- sha256sums = 969181618bd2b9565dc2e942137beee0f68c45c20e1cfeb515a0bda5b912e72a
+ source = https://github.com/sidneys/pb-for-desktop/releases/download/v6.7.7/pb-for-desktop-6.7.7.pacman
+ sha256sums = 4db5072c6e86bbbbac650ffd31dcfadbbb6711fc8733a68eebb2172adf22473b
pkgname = pb-for-desktop
diff --git a/PKGBUILD b/PKGBUILD
index 74b2b5dac4e..4c1c55b53c7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,29 +2,28 @@
pkgname=pb-for-desktop
pkgrel=1
-pkgver=6.5.1
-_pkgver="v$pkgver"
+pkgver=6.7.7
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')
-makedepends=('unzip')
-depends=('libnotify' 'gconf' 'libappindicator-gtk2' 'libappindicator-gtk3' 'libxtst' 'nss')
-source=("${url}/releases/download/${_pkgver}/${pkgname}-${pkgver}.pacman")
-sha256sums=('969181618bd2b9565dc2e942137beee0f68c45c20e1cfeb515a0bda5b912e72a')
+depends=('libnotify' 'notify-osd' 'gconf' 'libappindicator-gtk2' 'libappindicator-gtk3' 'libxtst' 'nss')
+source=("${url}/releases/download/v${pkgver}/${pkgname}-${pkgver}.pacman")
+sha256sums=('4db5072c6e86bbbbac650ffd31dcfadbbb6711fc8733a68eebb2172adf22473b')
package() {
+ # Install the application files in /opt
install -d "${pkgdir}/opt"
cp -R "${srcdir}/opt/PB for Desktop" "${pkgdir}/opt/"
-
+ # Install the .desktop file
install -D -m644 "${srcdir}/usr/share/applications/${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
-
+ # Install the icons
for icon_size in 16 24 32 48 64 96 128 256 512; do
- icon_dir="${pkgdir}/usr/share/icons/hicolor/${icon_size}x${icon_size}/apps"
- icon_dest="${srcdir}/usr/share/icons/hicolor/${icon_size}x${icon_size}/apps"
- install -d "${icon_dir}"
- install -m644 "${icon_dest}/${pkgname}.png" "${icon_dir}/${pkgname}.png"
+ icons_dir="/usr/share/icons/hicolor/${icon_size}x${icon_size}/apps"
+ install -d "${pkgdir}/${icons_dir}"
+ install -m644 "${srcdir}${icons_dir}/${pkgname}.png" \
+ "${pkgdir}${icons_dir}/${pkgname}.png"
done
}