1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
2 # Contributor: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
3 # Contributor: Patrick Griffis <tingping@tingping.se>
5 pkgname=xdg-desktop-portal-gtk
8 pkgdesc="A backend implementation for xdg-desktop-portal using GTK"
9 url="https://github.com/flatpak/xdg-desktop-portal-gtk"
12 depends=(gtk3 gsettings-desktop-schemas)
13 makedepends=(xdg-desktop-portal python git)
14 optdepends=("evince: Print preview")
15 provides=(xdg-desktop-portal-impl)
16 _commit=952005f6a7850a247d286f14838202f506b402b7 # tags/1.14.1^0
17 source=("git+https://github.com/flatpak/xdg-desktop-portal-gtk#commit=$_commit")
22 git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
27 NOCONFIGURE=1 ./autogen.sh
32 ./configure --prefix=/usr --libexecdir=/usr/lib
43 DESTDIR="$pkgdir" make install
46 # vim:set sw=2 sts=-1 et: