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

Jan Steffens heftig at gemini.archlinux.org
Fri Apr 1 18:10:19 UTC 2022


    Date: Friday, April 1, 2022 @ 18:10:19
  Author: heftig
Revision: 441156

1.12.0-2: debug on

Modified:
  libwpe/trunk/PKGBUILD

----------+
 PKGBUILD |   13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-04-01 18:06:18 UTC (rev 441155)
+++ PKGBUILD	2022-04-01 18:10:19 UTC (rev 441156)
@@ -2,7 +2,7 @@
 
 pkgname=libwpe
 pkgver=1.12.0
-pkgrel=1
+pkgrel=2
 pkgdesc="General-purpose library for WPE WebKit"
 url="https://wpewebkit.org"
 arch=(x86_64)
@@ -10,6 +10,7 @@
 depends=(libxkbcommon gcc-libs)
 makedepends=(mesa git meson)
 provides=(libwpe-1.0.so)
+options=(debug)
 _commit=c785ad5fad51c20bd47f648a05279ec34b08848d  # tags/1.12.0^0
 source=("git+https://github.com/WebPlatformForEmbedded/libwpe?signed#commit=$_commit")
 sha256sums=('SKIP')
@@ -16,16 +17,16 @@
 validpgpkeys=('5AA3BC334FD7E3369E7C77B291C559DBE4C9123B') # Adrián Pérez de Castro <aperez at igalia.com>
 
 pkgver() {
-  cd $pkgname
-  git describe --tags | sed 's/-/+/g'
+  cd libwpe
+  git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
 }
 
 prepare() {
-  cd $pkgname
+  cd libwpe
 }
 
 build() {
-  arch-meson $pkgname build
+  arch-meson libwpe build
   meson compile -C build
 }
 
@@ -35,7 +36,7 @@
 
 package() {
   meson install -C build --destdir "$pkgdir"
-  install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 $pkgname/COPYING
+  install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 libwpe/COPYING
 }
 
 # vim:set sw=2 et:



More information about the arch-commits mailing list