forked from pulseaudio-equalizer-ladspa/equalizer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
PKGBUILD
42 lines (31 loc) · 957 Bytes
/
PKGBUILD
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
# Maintainer: Filipe Laíns (FFY00) <[email protected]>
pkgname=pulseaudio-equalizer-ladspa-git
pkgver=1.0.r0.4856f57
pkgrel=1
pkgdesc='A 15-band equalizer for PulseAudio'
arch=(any)
url='https://github.com/pulseaudio-equalizer-ladspa'
license=('GPL3')
depends=('python-gobject' 'gtk3' 'swh-plugins' 'pulseaudio' 'bc')
makedepends=('git' 'meson')
optdepends=('python2-gobject: python2 support')
source=("git+$url/equalizer")
sha512sums=('SKIP')
pkgver() {
cd equalizer
git describe --long --tags | sed 's/^v//;s/\([^-]*-\)g/r\1/;s/-/./g;s/\.rc./rc/g'
}
build() {
mkdir -p equalizer/build
cd equalizer/build
arch-meson ..
ninja
}
package() {
cd equalizer/build
DESTDIR="$pkgdir" meson install
python -m compileall -d /usr/lib "$pkgdir/usr/lib"
python -O -m compileall -d /usr/lib "$pkgdir/usr/lib"
# It's GLP3 but has a specific copyright string
install -Dm 644 ../LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}