blob: b30948153bff88dbb0f17626adc93d9675bc538c (
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
|
# Maintainer: Chih-Hsuan Yen <yan12125@archlinux.org>
# Modified from extra/xdg-desktop-portal-kde; original contributors:
# Contributor: Antonio Rojas <arojas@archlinux.org>
_pkgname=xdg-desktop-portal-lxqt
pkgname=$_pkgname-git
pkgver=0.0.0.r39.049dc42
pkgrel=1
pkgdesc='A backend implementation for xdg-desktop-portal using Qt/KF5'
arch=(x86_64)
url='https://github.com/lxqt/xdg-desktop-portal-lxqt'
license=(LGPL)
depends=(qt6-base kwindowsystem xdg-desktop-portal lxqt-qtplugin-git libfm-qt-git)
makedepends=(cmake git)
provides=(xdg-desktop-portal-impl)
source=(git+$url)
sha256sums=('SKIP')
pkgver() {
cd "$srcdir/$_pkgname"
printf "0.0.0.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cmake -B build -S $_pkgname \
-DCMAKE_INSTALL_LIBEXECDIR=lib \
-DCMAKE_INSTALL_PREFIX=/usr
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
|