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

Bartłomiej Piotrowski bpiotrowski at archlinux.org
Thu Dec 12 20:44:24 UTC 2019


    Date: Thursday, December 12, 2019 @ 20:44:24
  Author: bpiotrowski
Revision: 371315

0.1.r24.g7355b1e-1

Modified:
  libportal/trunk/PKGBUILD

----------+
 PKGBUILD |   13 ++++---------
 1 file changed, 4 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-12-12 19:52:53 UTC (rev 371314)
+++ PKGBUILD	2019-12-12 20:44:24 UTC (rev 371315)
@@ -1,7 +1,7 @@
 # Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
  
 pkgname=libportal
-pkgver=0.1
+pkgver=0.1.r24.g7355b1e
 pkgrel=1
 pkgdesc="GIO-style async APIs for most Flatpak portals"
 url="https://github.com/flatpak/libportal"
@@ -9,7 +9,7 @@
 license=(LGPL)
 depends=(glib2)
 makedepends=(git meson gtk-doc)
-_commit=a7a1edcaeceb53652b7d76adadfec390f7b09178  # tags/0.1^0
+_commit=7355b1e2e98b7c0f8f3d0601ef4d78369b91aad3  # master
 source=("git+https://github.com/flatpak/libportal#commit=$_commit"
         0001-filechooser-Don-t-try-to-free-the-method-name-it-s-s.patch)
 sha256sums=('SKIP'
@@ -16,15 +16,10 @@
             '934374cb20a3bb76df2c1982a56a15e1c9808a1dfa46273db6529dd6213bde1f')
 
 pkgver() {
-  cd $pkgname
-  git describe --tags | sed 's/-/+/g'
+  cd "$pkgname"
+  git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
 }
 
-prepare() {
-  cd $pkgname
-  git apply -3 ../0001-filechooser-Don-t-try-to-free-the-method-name-it-s-s.patch
-}
-
 build() {
   arch-meson $pkgname build
   ninja -C build



More information about the arch-commits mailing list