1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
#!/usr/bin/make -f
# -*- makefile -*-
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
APPER_CONFIG_FLAGS = -DDEBCONF_SUPPORT=ON \
-DAPPSTREAM=ON \
-DAUTOREMOVE=ON \
-DEDIT_ORIGNS_DESKTOP_NAME=software-properties-qt
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
INSTALLDIR = $(CURDIR)/debian/tmp
%:
dh $@ --with kde
override_dh_auto_configure:
dh_auto_configure -Skde -- $(APPER_CONFIG_FLAGS)
override_dh_auto_install:
dh_auto_install --destdir=$(INSTALLDIR)
# Fix file conflict between GNOME Software and Apper
mv $(INSTALLDIR)/usr/share/dbus-1/services/org.freedesktop.PackageKit.service $(INSTALLDIR)/usr/share/dbus-1/services/kde-org.freedesktop.PackageKit.service
|