diff options
author | vaxerski | 2024-01-04 01:04:44 +0100 |
---|---|---|
committer | vaxerski | 2024-01-04 01:04:44 +0100 |
commit | eeda7de8885a18e919637fc0ad636518bc482bf6 (patch) | |
tree | 74cde500984a8cd31d33cc36b196d4cf05898762 | |
parent | 89229bb9db6af86c8c171625b6378289516957fe (diff) | |
download | aur-eeda7de8885a18e919637fc0ad636518bc482bf6.tar.gz |
fix build
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 11 |
2 files changed, 5 insertions, 8 deletions
@@ -1,6 +1,6 @@ pkgbase = xdg-desktop-portal-hyprland-git pkgdesc = xdg-desktop-portal backend for hyprland - pkgver = r339.09e97f5 + pkgver = r343.f46cff1 pkgrel = 1 epoch = 1 url = https://github.com/hyprwm/xdg-desktop-portal-hyprland @@ -3,7 +3,7 @@ _pkgname="xdg-desktop-portal-hyprland" pkgname="${_pkgname}-git" -pkgver=r339.09e97f5 +pkgver=r343.f46cff1 pkgrel=1 epoch=1 pkgdesc="xdg-desktop-portal backend for hyprland" @@ -35,16 +35,13 @@ pkgver() { build() { cd "${srcdir}/${_pkgname}" - git submodule update --init - meson build --prefix=/usr --libexecdir lib - ninja -C build - cd hyprland-share-picker && make all && cd .. + cmake --no-warn-unused-cli -DCMAKE_INSTALL_LIBEXECDIR:STRING=/usr/lib -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_INSTALL_PREFIX:PATH="${pkgdir}" -S . -B ./build + cmake --build ./build --config Release --target all -j`nproc 2>/dev/null || getconf NPROCESSORS_CONF` } package() { depends=(xdg-desktop-portal) cd "${srcdir}/${_pkgname}" - DESTDIR="${pkgdir}" ninja -C build install - install -Dm755 hyprland-share-picker/build/hyprland-share-picker -t "${pkgdir}/usr/bin" + cmake --install build install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${_pkgname}" } |