summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJelle van der Waa2019-12-26 22:05:01 +0100
committerJelle van der Waa2019-12-26 22:05:01 +0100
commitf79148f174b0c0c0442d7f0669f57aef00cbde62 (patch)
tree209b1a9eed4983b11deb2529f410054c8edfbc06
downloadaur-f79148f174b0c0c0442d7f0669f57aef00cbde62.tar.gz
initial commit
-rw-r--r--.SRCINFO16
-rw-r--r--ChangeLog17
-rw-r--r--PKGBUILD41
3 files changed, 74 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..0d09dccf61c
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = volwheel
+ pkgdesc = Tray icon to change volume with the mouse
+ pkgver = 0.2.8
+ pkgrel = 7
+ url = https://oliwer.net/b/volwheel.html
+ arch = any
+ license = GPL3
+ depends = perl-gtk2-trayicon
+ depends = hicolor-icon-theme
+ depends = desktop-file-utils
+ optdepends = alsa-utils: for ALSA support
+ source = https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/olwtools/volwheel-0.2.8.tar.gz
+ md5sums = aee73416972c4029dfb6a6048dcf0905
+
+pkgname = volwheel
+
diff --git a/ChangeLog b/ChangeLog
new file mode 100644
index 00000000000..fcd19e41b5a
--- /dev/null
+++ b/ChangeLog
@@ -0,0 +1,17 @@
+2009-01-02 Alexander Fehr <pizzapunk gmail com>
+
+ * volwheel-0.2.6-1:
+ New upstream release.
+
+2008-08-25 Alexander Fehr <pizzapunk gmail com>
+
+ * volwheel-0.2.5-1:
+ New upstream release.
+
+2008-07-09 Alexander Fehr <pizzapunk gmail com>
+
+ * volwheel-0.2.4-1:
+ New upstream release.
+ Changed url.
+ Removed dependency on gnome-icon-theme.
+ Added ChangeLog.
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..305d1ab0fa4
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,41 @@
+# Contributor: Alexander Fehr <pizzapunk gmail com>
+# Contributor: Olivier Duclos <oliwer@free.fr>
+# Maintainer : Daniel J Griffiths <griffithsdj@archlinux.us>
+
+pkgname=volwheel
+pkgver=0.2.8
+pkgrel=7
+pkgdesc="Tray icon to change volume with the mouse"
+arch=('any')
+url="https://oliwer.net/b/volwheel.html"
+license=('GPL3')
+depends=('perl-gtk2-trayicon' 'hicolor-icon-theme' 'desktop-file-utils')
+optdepends=("alsa-utils: for ALSA support")
+source=(https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/olwtools/${pkgname}-${pkgver}.tar.gz)
+md5sums=('aee73416972c4029dfb6a6048dcf0905')
+
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+
+ # Fix deprecated defined
+ sed -i 's/defined(@ARGV)/@ARGV/g' volwheel
+
+ # Fix paths
+ sed -i 's/\/usr\/local/\/usr/g' volwheel
+ sed -i 's/${prefix}/\/usr/g' volwheel
+
+ install -Dm755 volwheel $pkgdir/usr/bin/$pkgname
+
+ install -d $pkgdir/usr/lib/$pkgname
+ install -d $pkgdir/usr/share/$pkgname/icons
+
+ install -m644 lib/* $pkgdir/usr/lib/$pkgname
+
+ cp -r icons/* $pkgdir/usr/share/$pkgname/icons/
+
+ install -Dm644 icons/volwheel.svg $pkgdir/usr/share/icons/scalable/apps/$pkgname.svg
+ install -Dm644 icons/volwheel.svg $pkgdir/usr/share/icons/hicolor/scalable/apps/$pkgname.svg
+
+ install -Dm644 volwheel.desktop $pkgdir/usr/share/applications/volwheel.desktop
+
+}