Update rules

This commit is contained in:
ferrreo 2023-06-10 21:58:48 +01:00 committed by GitHub
parent 55b4f9374c
commit 21621008a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

12
debian/rules vendored
View File

@ -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 ===