summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorgraysky2015-10-06 14:51:16 -0400
committergraysky2015-10-06 14:51:16 -0400
commit8c314133c618b64b5732141b00f17631c81f186e (patch)
treeefb842bf22771b02d116d8947b4e01ee91f6a49b
parent99605ba65aecd01aedac7c19bc486d1e38e6c9e8 (diff)
downloadaur-8c314133c618b64b5732141b00f17631c81f186e.tar.gz
Update to 1.62-1
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD4
-rw-r--r--readme.install29
3 files changed, 17 insertions, 22 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 012ff6cf870d..3062dc12077c 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = pulseaudio-ctl
pkgdesc = Control pulseaudio volume from the shell or mapped to keyboard shortcuts.
- pkgver = 1.61
+ pkgver = 1.62
pkgrel = 1
url = https://github.com/graysky2/pulseaudio-ctl
install = readme.install
@@ -12,8 +12,8 @@ pkgbase = pulseaudio-ctl
optdepends = libnotify: to display volume and mute status
conflicts = pulseaudio_ctl
replaces = pulseaudio_ctl
- source = http://repo-ck.com/source/pulseaudio-ctl/pulseaudio-ctl-1.61.tar.xz
- sha256sums = e486d8f60cffc26a0923eff84ab86515b9bfac57f20939b96d57c5763d647dd2
+ source = http://repo-ck.com/source/pulseaudio-ctl/pulseaudio-ctl-1.62.tar.xz
+ sha256sums = 5d327d3775ff70a3e650ddded7672bac60f972799cd0ff24d1c6d5d7db13adbb
pkgname = pulseaudio-ctl
diff --git a/PKGBUILD b/PKGBUILD
index a10819f28867..83c15aa20159 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
# Contributor: graysky <graysky AT archlinux dot us>
pkgname=pulseaudio-ctl
-pkgver=1.61
+pkgver=1.62
pkgrel=1
pkgdesc='Control pulseaudio volume from the shell or mapped to keyboard shortcuts.'
arch=('any')
@@ -11,7 +11,7 @@ conflicts=('pulseaudio_ctl')
replaces=('pulseaudio_ctl')
url=https://github.com/graysky2/pulseaudio-ctl
source=("http://repo-ck.com/source/$pkgname/$pkgname-$pkgver.tar.xz")
-sha256sums=('e486d8f60cffc26a0923eff84ab86515b9bfac57f20939b96d57c5763d647dd2')
+sha256sums=('5d327d3775ff70a3e650ddded7672bac60f972799cd0ff24d1c6d5d7db13adbb')
install=readme.install
build() {
diff --git a/readme.install b/readme.install
index 51c971a5aec9..0e4de89e9720 100644
--- a/readme.install
+++ b/readme.install
@@ -23,23 +23,18 @@ post_upgrade() {
## arg 2: the old package version
oldpkgver=${2%-*}
#newpkgver=${1%-*}
-
- if [[ $oldpkgver < 1.51 ]]; then
- echo '--> Please check ~/.config/pulseaudio-ctl/config against the'
- echo '--> provided /usr/share/pulseaudio-ctl/config.skel to ensure'
- echo '--> it is current as the script does not do this automatically.'
- else
- /bin/true
- fi
-
- if [[ $oldpkgver < 1.46 ]]; then
- echo '--> Please check ~/.config/pulseaudio-ctl/config against the'
- echo '--> provided /usr/share/pulseaudio-ctl/config.skel to ensure'
- echo '--> it is current as the script does not do this automatically.'
- else
- /bin/true
- fi
-
+
+ for i in 1.62 1.46; do
+ if [[ $oldpkgver < $i ]]; then
+ echo '--> Please check ~/.config/pulseaudio-ctl/config against the'
+ echo '--> provided /usr/share/pulseaudio-ctl/config.skel to ensure'
+ echo '--> it is current as the script does not do this automatically.'
+ else
+ /bin/true
+ fi
+
+ done
+
if [[ $oldpkgver < 1.20 ]]; then
echo '--> Support for the older three script solution has been removed.'
echo '--> You MUST remaps your shortcut keys.'