[arch-commits] Commit in paprefs/trunk (PKGBUILD)

Jan Steffens heftig at gemini.archlinux.org
Wed Jan 5 17:57:08 UTC 2022


    Date: Wednesday, January 5, 2022 @ 17:57:07
  Author: heftig
Revision: 433457

1.2-1

Modified:
  paprefs/trunk/PKGBUILD

----------+
 PKGBUILD |   24 ++++++++++++++----------
 1 file changed, 14 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-01-05 17:42:22 UTC (rev 433456)
+++ PKGBUILD	2022-01-05 17:57:07 UTC (rev 433457)
@@ -1,11 +1,11 @@
-# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
 # Contributor: Corrado Primier <bardo at aur.archlinux.org>
 # Contributor: William Rea <sillywilly at gmail.com>
 # Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
 
 pkgname=paprefs
-pkgver=1.1
-pkgrel=2
+pkgver=1.2
+pkgrel=1
 pkgdesc="Configuration dialog for PulseAudio"
 url="https://freedesktop.org/software/pulseaudio/paprefs/"
 license=(GPL2)
@@ -12,25 +12,29 @@
 arch=(x86_64)
 depends=(gtkmm3 libsigc++ pulseaudio)
 makedepends=(meson lynx tidy git)
-_commit=f63c50b177cf275cc79fc5245e8a8b601b21bd1f  # tags/v1.1^0
+_commit=d70f061e1703c53aa327d3e836222e47dde86204  # tags/v1.2^0
 source=("git+https://gitlab.freedesktop.org/pulseaudio/paprefs.git#commit=$_commit")
 sha512sums=('SKIP')
 
 pkgver() {
-  cd $pkgname
-  git describe --tags | sed 's/^v//;s/-/+/g'
+  cd paprefs
+  git describe --tags | sed 's/^v//;s/[^-]*-g/r&/;s/-/+/g'
 }
 
 prepare() {
-  cd $pkgname
+  cd paprefs
 }
 
 build() {
-  arch-meson $pkgname build -D lynx=true
-  ninja -C build
+  arch-meson paprefs build -D lynx=true
+  meson compile -C build
 }
 
+check() {
+  meson test -C build --print-errorlogs
+}
+
 package() {
-  DESTDIR="$pkgdir" meson install -C build
+  meson install -C build --destdir "$pkgdir"
   install -Dt "$pkgdir/usr/share/doc/$pkgname" -m644 build/doc/README
 }



More information about the arch-commits mailing list