Skip to content

Commit

Permalink
xdg-desktop-portal 1.16.0-1: revert back to autoconf
Browse files Browse the repository at this point in the history
  • Loading branch information
MastaG committed Jan 16, 2023
1 parent 1c8d072 commit f322cc0
Showing 1 changed file with 48 additions and 0 deletions.
48 changes: 48 additions & 0 deletions extra/xdg-desktop-portal/PKGBUILD
Original file line number Diff line number Diff line change
@@ -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:

0 comments on commit f322cc0

Please sign in to comment.