[arch-commits] Commit in libgudev/trunk (PKGBUILD)
Jan Steffens
heftig at gemini.archlinux.org
Thu Apr 28 18:56:27 UTC 2022
Date: Thursday, April 28, 2022 @ 18:56:26
Author: heftig
Revision: 444239
237-2: debug on
Modified:
libgudev/trunk/PKGBUILD
----------+
PKGBUILD | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-04-28 18:53:42 UTC (rev 444238)
+++ PKGBUILD 2022-04-28 18:56:26 UTC (rev 444239)
@@ -2,7 +2,7 @@
pkgname=libgudev
pkgver=237
-pkgrel=1
+pkgrel=2
pkgdesc="GObject bindings for libudev"
url="https://wiki.gnome.org/Projects/libgudev"
arch=(x86_64)
@@ -9,17 +9,18 @@
license=(LGPL2.1)
depends=(systemd glib2)
makedepends=(gobject-introspection gtk-doc git meson umockdev vala)
+options=(debug)
_commit=dff7a794e55d6ad7a10e8edacd73aa047593e74c # tags/237^0
source=("git+https://gitlab.gnome.org/GNOME/libgudev.git#commit=$_commit")
sha256sums=('SKIP')
pkgver() {
- cd $pkgname
- git describe --tags | sed 's/-/+/g'
+ cd libgudev
+ git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
}
prepare() {
- cd $pkgname
+ cd libgudev
# Use a locale with "," decimal separator that we
# actually have available in the build environments
@@ -28,7 +29,7 @@
}
build() {
- arch-meson $pkgname build -D gtk_doc=true
+ arch-meson libgudev build -D gtk_doc=true
meson compile -C build
}
More information about the arch-commits
mailing list