blob: b50bbe06fcfdc7380ffbdc60fb79d8f0f96fd222 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=xdg-desktop-portal-gtk
pkgver=1.5.1
pkgrel=0
pkgdesc="Gtk implementation of xdg-desktop-portal"
url="https://github.com/flatpak/xdg-desktop-portal-gtk"
arch="all"
license="LGPL-2.1-or-later"
depends="xdg-desktop-portal"
makedepends="gtk+3.0-dev dbus-dev gnome-desktop-dev"
subpackages="$pkgname-lang"
source="https://github.com/flatpak/xdg-desktop-portal-gtk/releases/download/$pkgver/xdg-desktop-portal-gtk-$pkgver.tar.xz
"
prepare() {
default_prepare
sed 's|/usr/bin/sh|/bin/sh|' \
-i compile \
-i missing \
-i install-sh \
-i depcomp \
-i config.sub \
-i config.guess
}
build() {
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var
make
}
check() {
make check
}
package() {
make DESTDIR="$pkgdir" install
}
sha512sums="6d1497ae584d7acf954a38f7a39796d673972c0dde86af35d86fcc55d4402250f965232991adac73711e1bf5c5537cb41c7c75420bb3eb15a190ea4f37532083 xdg-desktop-portal-gtk-1.5.1.tar.xz"
|