From 21621008a51ecc4d708e0214a6cdf4e5f2cce8cd Mon Sep 17 00:00:00 2001 From: ferrreo Date: Sat, 10 Jun 2023 21:58:48 +0100 Subject: [PATCH] Update rules --- debian/rules | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/debian/rules b/debian/rules index ed40aff..dd10d91 100755 --- a/debian/rules +++ b/debian/rules @@ -8,13 +8,9 @@ export DH_VERBOSE = 1 ## Source directory, called upon by $(srcdir) srcdir = $(shell debian/scripts/get_pwd.sh) -## The Root of package number one, called upon by $(pkgdir1) -pkgdir1 = $(srcdir)/debian/pkgdir1 -## The Root of package number two, you can add as many of these as you like -pkgdir2 = $(srcdir)/debian/pkgdir2 ## If building a singular package you can remove the number, and as you guessed you call upon it with $(pkgdir) -# pkgdir = $(srcdir)/debian/pkgdir + pkgdir = $(srcdir)/debian/xdg-desktop-portal-hyprland ## === End end of region === @@ -69,9 +65,9 @@ pkgdir2 = $(srcdir)/debian/pkgdir2 # $(srcdir)/configure -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_DATADIR=/usr/share -DCMAKE_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu -DBUILD_PLUGIN=OFF ## overriding dh_install to install files to a package: -#override_dh_auto_configure: -# mkdir -p $(pkgdir1)/usr/bin -# cp $(srcdir)/pikman $(pkgdir1)/usr/bin/ +override_dh_install: + install -d $(pkgdir)/usr/bin + cp $(srcdir)/hyprland-share-picker/build/hyprland-share-picker $(pkgdir)/usr/bin ## === End end of region ===