summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBilal Elmoussaoui2017-01-20 02:45:21 +0100
committerBilal Elmoussaoui2017-01-20 02:45:21 +0100
commit8f0a50bf996c70891b6de72211f9d2f7b7dfbf0a (patch)
tree7c1dd6c8cc3ffcb6d30f6c81810c0c64addfd37c
downloadaur-8f0a50bf996c70891b6de72211f9d2f7b7dfbf0a.tar.gz
first release
-rw-r--r--.SRCINFO21
-rw-r--r--PKGBUILD30
2 files changed, 51 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..a19235b5d59
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,21 @@
+pkgbase = pb-for-desktop
+ pkgdesc = The missing Desktop application for Pushbullet
+ pkgver = 3.2.1
+ pkgrel = 1
+ url = https://github.com/sidneys/pb-for-desktop
+ arch = i686
+ arch = x86_64
+ license = MIT
+ makedepends = unzip
+ depends = libnotify
+ depends = gconf
+ depends = libappindicator-gtk2
+ depends = libappindicator-gtk3
+ depends = libxtst
+ depends = nss
+ provides = temps
+ source = https://github.com/sidneys/pb-for-desktop/releases/download/v3.2.1/pb-for-desktop-3.2.1.pacman
+ sha256sums = 2bf3e1725c16054e8fe5f659adf118df0530934e16c14d862a832958bd64d00d
+
+pkgname = pb-for-desktop
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..db126713a98
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,30 @@
+# Maintainer: Bilal ELmoussaoui <bil.elmoussaoui@gmail.com>
+
+pkgname=pb-for-desktop
+_pkgbase=Pb
+pkgrel=1
+pkgver=3.2.1
+_pkgver="v$pkgver"
+pkgdesc="The missing Desktop application for Pushbullet"
+url="https://github.com/sidneys/pb-for-desktop"
+provides=('temps')
+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=('2bf3e1725c16054e8fe5f659adf118df0530934e16c14d862a832958bd64d00d')
+
+package() {
+ install -d "$pkgdir"/opt
+ cp -R "$srcdir/opt/PB for Desktop" "$pkgdir/opt/"
+
+ install -D -m644 "$srcdir/usr/share/applications/${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
+
+ 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"
+ install -d "$icon_dir"
+ install -m644 "$srcdir/usr/share/icons/hicolor/${icon_size}x${icon_size}/apps/${pkgname}.png" "$icon_dir/${pkgname}.png"
+ done
+
+}