[arch-commits] Commit in libportal/trunk (PKGBUILD)
Jan Steffens
heftig at archlinux.org
Fri Dec 20 14:32:10 UTC 2019
Date: Friday, December 20, 2019 @ 14:32:09
Author: heftig
Revision: 371993
0.3-1
Modified:
libportal/trunk/PKGBUILD
----------+
PKGBUILD | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-12-20 14:15:06 UTC (rev 371992)
+++ PKGBUILD 2019-12-20 14:32:09 UTC (rev 371993)
@@ -1,7 +1,7 @@
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
pkgname=libportal
-pkgver=0.1.r24.g7355b1e
+pkgver=0.3
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=7355b1e2e98b7c0f8f3d0601ef4d78369b91aad3 # master
+_commit=7b11b2a42fd4e7681bd38f3986b47108c0a3cc66 # tags/0.3^0
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,10 +16,14 @@
'934374cb20a3bb76df2c1982a56a15e1c9808a1dfa46273db6529dd6213bde1f')
pkgver() {
- cd "$pkgname"
- git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
+ cd $pkgname
+ git describe --tags | sed -r 's/[^-]+-g[^-]+$/r&/;s/-/+/g'
}
+prepare() {
+ cd $pkgname
+}
+
build() {
arch-meson $pkgname build
ninja -C build
More information about the arch-commits
mailing list