Commit d2ef4f1c authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm play epson-printer-utility: cleanup

parent 8269bb0b
...@@ -6,14 +6,6 @@ VERSION="$2" ...@@ -6,14 +6,6 @@ VERSION="$2"
DESCRIPTION="Epson Printer Utility - Linux Epson Printer Utility from the official site" DESCRIPTION="Epson Printer Utility - Linux Epson Printer Utility from the official site"
URL="http://support.epson.net/linux/Printer/LSB_distribution_pages/en/utility.php" URL="http://support.epson.net/linux/Printer/LSB_distribution_pages/en/utility.php"
# TODO: remove repo too
case "$1" in
"--remove")
epm remove $(epm qp $PKGNAME-)
exit
;;
esac
. $(dirname $0)/common.sh . $(dirname $0)/common.sh
warn_version_is_not_supported warn_version_is_not_supported
......
...@@ -3,14 +3,13 @@ ...@@ -3,14 +3,13 @@
BUILDROOT="$1" BUILDROOT="$1"
SPEC="$2" SPEC="$2"
UNIREQUIRES="udev libusb-1.0.so.0"
. $(dirname $0)/common.sh . $(dirname $0)/common.sh
add_qt5_deps add_requires udev
# utility add_libs_requires
# utility
add_bin_link_command $PRODUCT $PRODUCTDIR/bin/$PRODUCT add_bin_link_command $PRODUCT $PRODUCTDIR/bin/$PRODUCT
install_file opt/epson-printer-utility/rules/79-udev-epson.rules /etc/udev/rules.d/79-udev-epson.rules install_file opt/epson-printer-utility/rules/79-udev-epson.rules /etc/udev/rules.d/79-udev-epson.rules
install_file opt/epson-printer-utility/epson-printer-utility.desktop /usr/share/applications/epson-printer-utility.desktop install_file opt/epson-printer-utility/epson-printer-utility.desktop /usr/share/applications/epson-printer-utility.desktop
...@@ -26,3 +25,5 @@ pack_dir /var/cache/epson-backend ...@@ -26,3 +25,5 @@ pack_dir /var/cache/epson-backend
remove_dir /usr/lib/epson-backend/rc.d remove_dir /usr/lib/epson-backend/rc.d
remove_dir /usr/lib/epson-backend/scripts remove_dir /usr/lib/epson-backend/scripts
fix_desktop_file /opt/epson-printer-utility/bin/epson-printer-utility
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment