Update rules
This commit is contained in:
parent
3ee96059db
commit
8c92b4ec32
15
debian/rules
vendored
15
debian/rules
vendored
@ -5,7 +5,7 @@
|
|||||||
export DH_VERBOSE = 1
|
export DH_VERBOSE = 1
|
||||||
|
|
||||||
## === Set paths env vars ===
|
## === Set paths env vars ===
|
||||||
PREFIX = /usr/local
|
PREFIX = /usr
|
||||||
LIBEXEC = /usr/lib
|
LIBEXEC = /usr/lib
|
||||||
SHARE = /usr/share
|
SHARE = /usr/share
|
||||||
|
|
||||||
@ -74,11 +74,14 @@ override_dh_build:
|
|||||||
override_dh_auto_install:
|
override_dh_auto_install:
|
||||||
|
|
||||||
override_dh_install:
|
override_dh_install:
|
||||||
cp -f ./build/hyprland-share-picker/hyprland-share-picker $(pkgdir)/usr/bin
|
mkdir -p $(pkgdir)/${LIBEXEC}
|
||||||
cp -f ./build/xdg-desktop-portal-hyprland $(pkgdir)/${LIBEXEC}/
|
mkdir -p $(pkgdir)/${SHARE}
|
||||||
cp -f ./hyprland.portal $(pkgdir)/${SHARE}/xdg-desktop-portal/portals/
|
mkdir -p $(pkgdir)/usr/bin
|
||||||
sed "s|@libexecdir@|${LIBEXEC}|g" ./org.freedesktop.impl.portal.desktop.hyprland.service.in > $(pkgdir)/${SHARE}/dbus-1/services/org.freedesktop.impl.portal.desktop.hyprland
|
cp -f $(srcdir)/build/hyprland-share-picker/hyprland-share-picker $(pkgdir)/usr/bin/hyprland-share-picker
|
||||||
sed "s|@libexecdir@|${LIBEXEC}|g" ./contrib/systemd/xdg-desktop-portal-hyprland.service.in > $(pkgdir)/${LIBEXEC}/systemd/user/xdg-desktop-portal-hyprland.service
|
cp -f $(srcdir)/build/xdg-desktop-portal-hyprland $(pkgdir)/${LIBEXEC}/xdg-desktop-portal-hyprland
|
||||||
|
cp -f $(srcdir)/hyprland.portal $(pkgdir)/${SHARE}/xdg-desktop-portal/portals/hyprland.portal
|
||||||
|
sed "s|@libexecdir@|${LIBEXEC}|g" $(srcdir)/org.freedesktop.impl.portal.desktop.hyprland.service.in > $(pkgdir)/${SHARE}/dbus-1/services/org.freedesktop.impl.portal.desktop.hyprland
|
||||||
|
sed "s|@libexecdir@|${LIBEXEC}|g" $(srcdir)/contrib/systemd/xdg-desktop-portal-hyprland.service.in > $(pkgdir)/${LIBEXEC}/systemd/user/xdg-desktop-portal-hyprland.service
|
||||||
chmod 755 $(pkgdir)/${LIBEXEC}/xdg-desktop-portal-hyprland
|
chmod 755 $(pkgdir)/${LIBEXEC}/xdg-desktop-portal-hyprland
|
||||||
## === End end of region ===
|
## === End end of region ===
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user