Date: Monday, October 31, 2022 @ 22:03:06 Author: heftig Revision: 1339892
0.12.0-1 Modified: gupnp-tools/trunk/PKGBUILD ----------+ PKGBUILD | 26 +++++++++++++++++--------- 1 file changed, 17 insertions(+), 9 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2022-10-31 21:40:01 UTC (rev 1339891) +++ PKGBUILD 2022-10-31 22:03:06 UTC (rev 1339892) @@ -1,20 +1,26 @@ # Maintainer: Balló György <ballogyor+arch at gmail dot com> pkgname=gupnp-tools -pkgver=0.10.3 +pkgver=0.12.0 pkgrel=1 pkgdesc="Utilities and demos to work with UPnP" url="https://wiki.gnome.org/Projects/GUPnP" -arch=('x86_64') -license=('GPL') -depends=('gtksourceview4' 'gupnp' 'gupnp-av') -makedepends=('meson') -options=('debug') -source=("https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz") -sha256sums=('457f4d923935b078415cd2ba88d78db60079b725926b7ee106e4565efe3204de') +arch=(x86_64) +license=(GPL) +depends=(gtksourceview4 gupnp gupnp-av) +makedepends=(meson git) +options=(debug) +_commit=8886f95134d95e49d859512fc0c2c62ed63a72b2 # tags/gupnp-tools-0.12.0^0 +source=("git+https://gitlab.gnome.org/GNOME/gupnp-tools.git#commit=$_commit") +sha256sums=('SKIP') +pkgver() { + cd $pkgname + git describe --tags | sed 's/^gupnp-tools-//;s/[^-]*-g/r&/;s/-/+/g' +} + build() { - arch-meson $pkgname-$pkgver build + arch-meson $pkgname build meson compile -C build } @@ -25,3 +31,5 @@ package() { meson install -C build --destdir "$pkgdir" } + +# vim:set sw=2 sts=-1 et:
