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

Jan Steffens heftig at archlinux.org
Sat May 15 21:55:13 UTC 2021


    Date: Saturday, May 15, 2021 @ 21:55:12
  Author: heftig
Revision: 415572

0.1.2-3: overhaul

Modified:
  xdg-dbus-proxy/trunk/PKGBUILD

----------+
 PKGBUILD |   38 ++++++++++++++++++++++++++++----------
 1 file changed, 28 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-15 21:49:44 UTC (rev 415571)
+++ PKGBUILD	2021-05-15 21:55:12 UTC (rev 415572)
@@ -1,24 +1,42 @@
-# Maintainer: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
+# Contributor: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
 
 pkgname=xdg-dbus-proxy
 pkgver=0.1.2
-pkgrel=2
-pkgdesc='D-Bus proxy'
+pkgrel=3
+pkgdesc="Filtering proxy for D-Bus connections"
+url="https://github.com/flatpak/xdg-dbus-proxy"
 arch=(x86_64)
-url='https://github.com/flatpak/xdg-dbus-proxy'
-license=(LGPL2.1)
-depends=(glib2)
-source=($url/releases/download/$pkgver/${pkgname}-${pkgver}.tar.xz)
-sha256sums=('1749d6f9f46dcc9edc87725641cf56cf91dcad1b01707891ea0850c1000c520f')
+license=(LGPL)
+depends=(glib2 dbus)
+makedepends=(git autoconf-archive docbook-xsl)
+_commit=9f6c5624f0dd57a8e301cd84c5525298bb754ed8  # tags/0.1.2^0
+source=("git+$url#commit=$_commit")
+sha256sums=('SKIP')
 
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+  NOCONFIGURE=1 ./autogen.sh
+}
+
 build() {
-  cd $pkgname-$pkgver
+  cd $pkgname
   ./configure --prefix=/usr
   make
 }
 
+check() {
+  cd $pkgname
+  make check
+}
+
 package() {
-  cd $pkgname-$pkgver
+  cd $pkgname
   make DESTDIR="$pkgdir" install
 }
 



More information about the arch-commits mailing list