xdg-desktop-portal 1.16.0-1: revert back to autoconf

This commit is contained in:
MastaG 2023-01-16 00:58:40 +00:00
parent 1c8d0722ed
commit f322cc01e3

View file

@ -0,0 +1,48 @@
# Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
# Contributor: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
# Contributor: Patrick Griffis <tingping@tingping.se>
pkgname=xdg-desktop-portal
pkgver=1.16.0
pkgrel=1
pkgdesc="Desktop integration portals for sandboxed apps"
url="https://github.com/flatpak/xdg-desktop-portal"
arch=(x86_64)
license=(LGPL)
depends=(glib2 pipewire fuse3 geoclue rtkit systemd)
makedepends=(autoconf xmlto docbook-xsl git flatpak libportal)
options=(debug)
_commit=88af6c8ca4106fcf70925355350a669848e9fd5a # tags/1.16.0^0
source=("git+https://github.com/flatpak/xdg-desktop-portal#commit=$_commit")
sha256sums=('SKIP')
pkgver() {
cd $pkgname
git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
}
prepare() {
cd $pkgname
autoreconf -vfi
}
build() {
cd $pkgname
./configure \
--build=${CHOST} \
--host=${CHOST} \
--prefix=/usr
make
}
# check() {
# make test-portals
# }
package() {
depends+=(xdg-desktop-portal-impl)
cd $pkgname
make DESTDIR="$pkgdir" install
}
# vim:set sw=2 sts=-1 et: