archrelease: copy trunk to extra-x86_64
[arch-packages.git] / paprefs / trunk / PKGBUILD
blob77f0db7dbd1f052df876b50d52ec6071d9217032
1 # Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
2 # Contributor: Corrado Primier <bardo@aur.archlinux.org>
3 # Contributor: William Rea <sillywilly@gmail.com>
4 # Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
6 pkgname=paprefs
7 pkgver=1.1
8 pkgrel=2
9 pkgdesc="Configuration dialog for PulseAudio"
10 url="https://freedesktop.org/software/pulseaudio/paprefs/"
11 license=(GPL2)
12 arch=(x86_64)
13 depends=(gtkmm3 libsigc++ pulseaudio)
14 makedepends=(meson lynx tidy git)
15 _commit=f63c50b177cf275cc79fc5245e8a8b601b21bd1f  # tags/v1.1^0
16 source=("git+https://gitlab.freedesktop.org/pulseaudio/paprefs.git#commit=$_commit")
17 sha512sums=('SKIP')
19 pkgver() {
20   cd $pkgname
21   git describe --tags | sed 's/^v//;s/-/+/g'
24 prepare() {
25   cd $pkgname
28 build() {
29   arch-meson $pkgname build -D lynx=true
30   ninja -C build
33 package() {
34   DESTDIR="$pkgdir" meson install -C build
35   install -Dt "$pkgdir/usr/share/doc/$pkgname" -m644 build/doc/README