blob: aae273979d9b95c37ee90a8180f08a04f9cb1c42 (
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
|
pkgname=xdg-desktop-portal-shana
pkgver=0.3.1
pkgrel=1.0
pkgdesc='xdg-desktop-portal-shana'
arch=('x86_64' 'aarch64')
pkgdesc='A filechooser portal backend for any desktop environment'
url='https://github.com/Decodetalkers/xdg-desktop-portal-shana'
license=('MIT')
depends=('xdg-desktop-portal')
provides=("xdg-desktop-portal-impl")
optdepends=("xdg-desktop-portal-gnome: provide gnome backend"
"xdg-desktop-portal-kde: provide kde backend"
"xdg-desktop-portal-gtk: provide gtk backend"
"xdg-desktop-portal-lxqt: provide lxqt backend")
makedepends=('git' 'ninja' 'meson' 'rust')
source=("${pkgname}-v${pkgver}.tar.gz::https://github.com/Decodetalkers/xdg-desktop-portal-shana/archive/refs/tags/v${pkgver}.tar.gz")
sha256sums=('127e057ec02ba2caad729f367ddf427aa148dd5ca28a5b0200d65f4828b00783')
build() {
cd ${pkgname}-$pkgver
meson setup build \
-Dprefix=/usr \
-Dlibexecdir=lib \
-Dbuildtype=release
ninja -C build
}
package() {
cd ${pkgname}-$pkgver
DESTDIR="$pkgdir" ninja -C build install
}
|