blob: e7fc86decf507c4a9cf65fecb3ca2850fa1d0f6f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
# Maintainer: Sebastiaan Lokhorst <sebastiaanlokhorst@gmail.com>
# Contributor: joel <aullidolunar at gmai1 d0t c0m>
# Based on the splitted packkage: https://aur.archlinux.org/packages/pasystray-gtk2/
_pkgname=pasystray
pkgname=${_pkgname}-gtk3-git
pkgver=0.7.1.r0.g97724c9
pkgrel=1
pkgdesc="PulseAudio system tray (gtk3 version)"
arch=('x86_64')
url="https://github.com/christophgysin/pasystray"
license=('LGPL')
groups=('multimedia')
provides=(${_pkgname})
conflicts=(${_pkgname})
replace=(${_pkgname} ${_pkgname}-gtk3-standalone)
depends=('gtk3' 'libpulse' 'libnotify' 'avahi' 'libx11')
optdepends=(
'pulseaudio: To control a local pulseaudio instance'
'paman: Launch PulseAudio manager from tray icon'
'pavucontrol: Launch PulseAudio mixer from tray icon'
'pavumeter: Launch PulseAudio volume meter from tray icon'
'paprefs: Launch PulseAudio preferences from tray icon'
)
source=(git+https://github.com/christophgysin/${_pkgname}.git)
sha256sums=('SKIP')
pkgver() {
cd "$_pkgname"
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
prepare () {
cd "$srcdir/${_pkgname}"
autoreconf -is
sed -i -e '/<requires /d' -e '/license_type/d' src/pasystray.gtk3.glade
}
build () {
cd "$srcdir/${_pkgname}"
# Do you need appindicator in gtk3?
./configure --prefix=/usr --with-gtk=3 --disable-appindicator
}
package () {
cd "$srcdir/${_pkgname}"
make DESTDIR="$pkgdir/" install
}
|