[arch-commits] Commit in volumeicon/trunk (PKGBUILD volumeicon.install)

Alexander Rødseth arodseth at archlinux.org
Tue Mar 3 21:05:13 UTC 2015


    Date: Tuesday, March 3, 2015 @ 22:05:12
  Author: arodseth
Revision: 128673

upgpkg: volumeicon 0.5.1-1

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

--------------------+
 PKGBUILD           |   12 ++++--------
 volumeicon.install |    7 +++++++
 2 files changed, 11 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-03-03 21:03:52 UTC (rev 128672)
+++ PKGBUILD	2015-03-03 21:05:12 UTC (rev 128673)
@@ -2,13 +2,9 @@
 # Maintainer: Alexander Rødseth <rodseth at gmail.com>
 # Contributor: Maato <maato softwarebakery com>
 
-# TODO: Consider adding an install-time message about
-#       removing ~/.config/volumeicon/volumeicon if there are
-#       problems running volumeicon. Ref FS#34239
-
 pkgname=volumeicon
-pkgver=0.5.0
-pkgrel=5
+pkgver=0.5.1
+pkgrel=1
 pkgdesc='Volume control for your system tray'
 arch=('x86_64' 'i686')
 url='http://softwarebakery.com/maato/volumeicon.html'
@@ -15,12 +11,12 @@
 license=('GPL3')
 depends=('gtk3' 'alsa-lib' 'libnotify')
 makedepends=('intltool' 'git')
+install=volumeicon.install
 source=('git://github.com/Maato/volumeicon.git#commit=090fe14c0f')
 md5sums=('SKIP')
 
 pkgver() {
-  cd "$pkgname"
-  head -1 ChangeLog | cut -d: -f1
+  head -1 "$pkgname/ChangeLog" | cut -d: -f1
 }
 
 prepare() {

Added: volumeicon.install
===================================================================
--- volumeicon.install	                        (rev 0)
+++ volumeicon.install	2015-03-03 21:05:12 UTC (rev 128673)
@@ -0,0 +1,7 @@
+post_install() {
+  # See FS#34239 for more information
+  echo 'If there are problems running volumeicon, try:'
+  echo 'rm -iv ~/.config/volumeicon/volumeicon'
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list