[arch-commits] Commit in xdg-dbus-proxy/trunk (PKGBUILD)

Jan Steffens heftig at gemini.archlinux.org
Fri May 13 14:29:39 UTC 2022


    Date: Friday, May 13, 2022 @ 14:29:39
  Author: heftig
Revision: 445395

0.1.4-1

Modified:
  xdg-dbus-proxy/trunk/PKGBUILD

----------+
 PKGBUILD |   21 +++++++++------------
 1 file changed, 9 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-05-13 13:59:09 UTC (rev 445394)
+++ PKGBUILD	2022-05-13 14:29:39 UTC (rev 445395)
@@ -2,7 +2,7 @@
 # Contributor: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
 
 pkgname=xdg-dbus-proxy
-pkgver=0.1.3
+pkgver=0.1.4
 pkgrel=1
 pkgdesc="Filtering proxy for D-Bus connections"
 url="https://github.com/flatpak/xdg-dbus-proxy"
@@ -9,34 +9,31 @@
 arch=(x86_64)
 license=(LGPL)
 depends=(glib2 dbus)
-makedepends=(git autoconf-archive docbook-xsl)
-_commit=75667790f1412a17b152fada45adad22c5840865  # tags/0.1.3^0
+makedepends=(git meson docbook-xsl)
+options=(debug)
+_commit=6bfe8c32ab23f8c1d80af7a70b3d318a79a17652  # tags/0.1.4^0
 source=("git+$url#commit=$_commit")
 sha256sums=('SKIP')
 
 pkgver() {
   cd $pkgname
-  git describe --tags | sed 's/-/+/g'
+  git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
 }
 
 prepare() {
   cd $pkgname
-  NOCONFIGURE=1 ./autogen.sh
 }
 
 build() {
-  cd $pkgname
-  ./configure --prefix=/usr
-  make
+  arch-meson $pkgname build
+  meson compile -C build
 }
 
 check() {
-  cd $pkgname
-  make check
+  meson test -C build --print-errorlogs
 }
 
 package() {
-  cd $pkgname
-  make DESTDIR="$pkgdir" install
+  meson install -C build --destdir "$pkgdir"
 }
 



More information about the arch-commits mailing list