[arch-commits] Commit in libportal/repos (extra-x86_64 extra-x86_64/PKGBUILD)
Jan Steffens
heftig at archlinux.org
Tue Oct 22 12:30:46 UTC 2019
Date: Tuesday, October 22, 2019 @ 12:30:46
Author: heftig
Revision: 365315
archrelease: copy trunk to extra-x86_64
Added:
libportal/repos/extra-x86_64/
libportal/repos/extra-x86_64/PKGBUILD
(from rev 365314, libportal/trunk/PKGBUILD)
----------+
PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
Copied: libportal/repos/extra-x86_64/PKGBUILD (from rev 365314, libportal/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD (rev 0)
+++ extra-x86_64/PKGBUILD 2019-10-22 12:30:46 UTC (rev 365315)
@@ -0,0 +1,40 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgname=libportal
+pkgver=0.0.1
+pkgrel=1
+pkgdesc="GIO-style async APIs for most Flatpak portals"
+url="https://github.com/flatpak/libportal"
+arch=(x86_64)
+license=(LGPL)
+depends=(glib2)
+makedepends=(git meson gtk-doc gtk3 gst-plugins-base)
+optdepends=('gtk3: portal-test app'
+ 'gst-plugins-base: portal-test app')
+_commit=67d780f4cd4d398c7621b16de36c7c00307d62cd # tags/0.0.1^0
+source=("git+https://github.com/flatpak/libportal#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+ cd $pkgname
+}
+
+build() {
+ arch-meson $pkgname build
+ ninja -C build
+}
+
+check() {
+ meson test -C build --print-errorlogs
+}
+
+package() {
+ DESTDIR="$pkgdir" meson install -C build
+}
+
+# vim:set sw=2 et:
More information about the arch-commits
mailing list