blob: 2e15541a11fa5defb68469d2d8750ea46e41c019 (
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
|
# Based on the splitted packkage: https://aur.archlinux.org/packages/pasystray-gtk2/
# Maintainer: joel <aullidolunar at gmai1 d0t c0m>
_pkgname=pasystray
pkgname=${_pkgname}-gtk2-standalone
pkgver=0.6.0.r22.g5320572
pkgrel=1
pkgdesc="PulseAudio system tray (a replacement for padevchooser gtk2 standalone version)"
arch=('i686' 'x86_64')
url="https://github.com/christophgysin/pasystray"
license=('LGPL')
groups=('multimedia')
provides=(${_pkgname})
conflicts=(${_pkgname})
replace=(${_pkgname})
depends=('gtk2' 'libpulse' 'libnotify' 'avahi' 'libx11' 'gnome-icon-theme' 'gtk-update-icon-cache')
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.gtk2.glade
}
build () {
cd "$srcdir/${_pkgname}"
# Do you need appindicator in gtk2?
./configure --prefix=/usr --with-gtk=2 --disable-appindicator
}
package () {
cd "$srcdir/${_pkgname}"
make DESTDIR="$pkgdir/" install
}
|