Date: Monday, May 21, 2018 @ 00:30:24
  Author: bgyorgy
Revision: 325698

upgpkg: volumeicon 0.5.1-2

Add desktop file, remove unused/broken libnotify dependency

Added:
  volumeicon/trunk/volumeicon.desktop
Modified:
  volumeicon/trunk/PKGBUILD

--------------------+
 PKGBUILD           |   13 ++++++++-----
 volumeicon.desktop |    9 +++++++++
 2 files changed, 17 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2018-05-20 23:57:59 UTC (rev 325697)
+++ PKGBUILD    2018-05-21 00:30:24 UTC (rev 325698)
@@ -4,16 +4,18 @@
 
 pkgname=volumeicon
 pkgver=0.5.1
-pkgrel=1
+pkgrel=2
 pkgdesc='Volume control for your system tray'
 arch=('x86_64')
 url='http://softwarebakery.com/maato/volumeicon.html'
 license=('GPL3')
-depends=('gtk3' 'alsa-lib' 'libnotify')
+depends=('gtk3' 'alsa-lib')
 makedepends=('intltool' 'git')
 install='volumeicon.install'
-source=("git://github.com/Maato/volumeicon.git#tag=$pkgver")
-md5sums=('SKIP')
+source=("git://github.com/Maato/volumeicon.git#tag=$pkgver"
+        'volumeicon.desktop')
+md5sums=('SKIP'
+         '1822d5e80a86b80ace9565aebf24b71d')
 
 prepare() {
   cd "$pkgname"
@@ -22,12 +24,13 @@
 
 build() {
   cd "$pkgname"
-  ./configure --prefix=/usr --enable-notify
+  ./configure --prefix=/usr
   make
 }
 
 package() {
   make -C "$pkgname" DESTDIR="$pkgdir" install
+  install -Dm644 volumeicon.desktop 
"$pkgdir/usr/share/applications/volumeicon.desktop"
 }
 
 # vim:set ts=2 sw=2 et:

Added: volumeicon.desktop
===================================================================
--- volumeicon.desktop                          (rev 0)
+++ volumeicon.desktop  2018-05-21 00:30:24 UTC (rev 325698)
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Name=Volume Icon
+Comment=Lightweight volume control for the systray
+Exec=volumeicon
+Icon=multimedia-volume-control
+Type=Application
+Terminal=false
+StartupNotify=false
+Categories=GTK;AudioVideo;Audio;Mixer;

Reply via email to