summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoralba4k2024-03-11 19:14:48 +0100
committeralba4k2024-03-11 19:14:48 +0100
commitc0849d70a7de16dbd6c96ed5628e7a02a8d4581c (patch)
tree3fe9ed657ae1c4e614cdd565e11cee46bfce39c9
parent538df915ad78ec65dc91e668d90e603d70a1f2f0 (diff)
downloadaur-c0849d70a7de16dbd6c96ed5628e7a02a8d4581c.tar.gz
changed config file location
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD8
2 files changed, 6 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 5b9cda1bc677..493402d65b79 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = xdg-desktop-portal-hyprland-git
pkgdesc = xdg-desktop-portal backend for hyprland
- pkgver = 1.3.1.r12.g1b713911
+ pkgver = 1.3.1.r14.g2d2fb547
pkgrel = 1
url = https://github.com/hyprwm/xdg-desktop-portal-hyprland
arch = x86_64
@@ -27,7 +27,7 @@ pkgbase = xdg-desktop-portal-hyprland-git
provides = xdg-desktop-portal-wlr
conflicts = xdg-desktop-portal-hyprland
conflicts = xdg-desktop-portal-wlr
- backup = etc/xdg/xdg-desktop-portal/hyprland-portals.conf
+ backup = usr/share/xdg-desktop-portal/hyprland-portals.conf
source = xdg-desktop-portal-hyprland::git+https://github.com/hyprwm/xdg-desktop-portal-hyprland.git
sha256sums = SKIP
diff --git a/PKGBUILD b/PKGBUILD
index 9d9d51370727..806b323f5bb6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
_pkgname="xdg-desktop-portal-hyprland"
pkgname="${_pkgname}-git"
-pkgver=1.3.1.r12.g1b713911
+pkgver=1.3.1.r14.g2d2fb547
pkgrel=1
pkgdesc="xdg-desktop-portal backend for hyprland"
url="https://github.com/hyprwm/xdg-desktop-portal-hyprland"
@@ -21,7 +21,7 @@ optdepends=(
source=("${_pkgname}::git+$url.git")
sha256sums=('SKIP')
-backup=("etc/xdg/xdg-desktop-portal/hyprland-portals.conf")
+backup=("usr/share/xdg-desktop-portal/hyprland-portals.conf")
pkgver() {
cd "${_pkgname}"
@@ -47,8 +47,8 @@ package() {
DESTDIR="${pkgdir}" cmake --install build
# https://github.com/hyprwm/xdg-desktop-portal-hyprland/issues/171#issuecomment-1898969439
- install -dm755 "$pkgdir/etc/xdg/xdg-desktop-portal"
- echo -e "[preferred]\ndefault=gtk;hyprland" > "$pkgdir/etc/xdg/xdg-desktop-portal/hyprland-portals.conf"
+ install -dm755 "$pkgdir/usr/share/xdg-desktop-portal"
+ echo -e "[preferred]\ndefault=hyprland;gtk" > "$pkgdir/usr/share/xdg-desktop-portal/hyprland-portals.conf"
install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${_pkgname}"
}