Browse Source

[trunk] -> [community] 'volumeicon-0.5.1-5' add

master
Dudemanguy 6 months ago
parent
commit
0fde6170b3
Signed by: Dudemanguy GPG Key ID: 4003D2EF625D6492
  1. 38
      volumeicon/trunk/PKGBUILD
  2. 9
      volumeicon/trunk/volumeicon.desktop
  3. 7
      volumeicon/trunk/volumeicon.install
  4. 38
      volumeicon/x86_64/community/PKGBUILD
  5. 9
      volumeicon/x86_64/community/volumeicon.desktop
  6. 7
      volumeicon/x86_64/community/volumeicon.install

38
volumeicon/trunk/PKGBUILD

@ -0,0 +1,38 @@
# Maintainer: Alexander F. Rødseth <xyproto@archlinux.org>
# Contributor: Maato <maato softwarebakery com>
pkgname=volumeicon
pkgver=0.5.1
pkgrel=5
pkgdesc='Volume control for the system tray'
arch=(x86_64)
url='https://softwarebakery.com/maato/volumeicon.html'
license=(GPL3)
depends=(alsa-lib gtk3 libnotify)
makedepends=(git intltool)
install=volumeicon.install
source=("git+https://github.com/Maato/volumeicon.git#tag=$pkgver"
"volumeicon-notify.patch::https://github.com/Maato/volumeicon/commit/78a9c23775ebe12d3f3be93c0798144a6e732d90.patch"
volumeicon.desktop)
sha256sums=('SKIP'
'f9d7d14e302f760815bb0da2af7f00ae3f2ef34da69e84863ae3e97e7302b8db'
'3f989bce3a080b2446af6d7ed7e8a22dfd3019f888a7b11a0759bf7cf704f975')
prepare() {
cd $pkgname
patch -Np1 -i ../volumeicon-notify.patch
./autogen.sh
}
build() {
cd $pkgname
./configure --prefix=/usr --enable-notify
make
}
package() {
make -C $pkgname DESTDIR="$pkgdir" install
install -Dm644 volumeicon.desktop "$pkgdir/usr/share/applications/volumeicon.desktop"
}
# vim: ts=2 sw=2 et:

9
volumeicon/trunk/volumeicon.desktop

@ -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;

7
volumeicon/trunk/volumeicon.install

@ -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:

38
volumeicon/x86_64/community/PKGBUILD

@ -0,0 +1,38 @@
# Maintainer: Alexander F. Rødseth <xyproto@archlinux.org>
# Contributor: Maato <maato softwarebakery com>
pkgname=volumeicon
pkgver=0.5.1
pkgrel=5
pkgdesc='Volume control for the system tray'
arch=(x86_64)
url='https://softwarebakery.com/maato/volumeicon.html'
license=(GPL3)
depends=(alsa-lib gtk3 libnotify)
makedepends=(git intltool)
install=volumeicon.install
source=("git+https://github.com/Maato/volumeicon.git#tag=$pkgver"
"volumeicon-notify.patch::https://github.com/Maato/volumeicon/commit/78a9c23775ebe12d3f3be93c0798144a6e732d90.patch"
volumeicon.desktop)
sha256sums=('SKIP'
'f9d7d14e302f760815bb0da2af7f00ae3f2ef34da69e84863ae3e97e7302b8db'
'3f989bce3a080b2446af6d7ed7e8a22dfd3019f888a7b11a0759bf7cf704f975')
prepare() {
cd $pkgname
patch -Np1 -i ../volumeicon-notify.patch
./autogen.sh
}
build() {
cd $pkgname
./configure --prefix=/usr --enable-notify
make
}
package() {
make -C $pkgname DESTDIR="$pkgdir" install
install -Dm644 volumeicon.desktop "$pkgdir/usr/share/applications/volumeicon.desktop"
}
# vim: ts=2 sw=2 et:

9
volumeicon/x86_64/community/volumeicon.desktop

@ -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;

7
volumeicon/x86_64/community/volumeicon.install

@ -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:
Loading…
Cancel
Save