From d27c4c9371614c0aac67d277669a66876601b57f Mon Sep 17 00:00:00 2001 From: okaestne Date: Mon, 5 Sep 2022 02:05:42 +0200 Subject: [PATCH] debian packaging --- .gitignore | 6 ++++++ debian/changelog | 5 +++++ debian/control | 17 +++++++++++++++++ debian/lolautoaccept.install | 3 +++ debian/rules | 4 ++++ debian/source/format | 1 + lolautoaccept.pro | 2 +- 7 files changed, 37 insertions(+), 1 deletion(-) create mode 100644 debian/changelog create mode 100644 debian/control create mode 100644 debian/lolautoaccept.install create mode 100755 debian/rules create mode 100644 debian/source/format diff --git a/.gitignore b/.gitignore index 96bb224..e343f3c 100644 --- a/.gitignore +++ b/.gitignore @@ -27,3 +27,9 @@ AppDir/ *.AppImage qrc_res.cpp +debian/* +!debian/source +!debian/changelog +!debian/control +!debian/lolautoaccept.install +!debian/rules diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..40637f3 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +lolautoaccept (0.0.5) UNRELEASED; urgency=medium + + * Initial release. + + -- Oliver Mon, 05 Sep 2022 01:42:50 +0200 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..cda9a3a --- /dev/null +++ b/debian/control @@ -0,0 +1,17 @@ +Source: lolautoaccept +Section: games +Priority: optional +Maintainer: MrBesen +Build-Depends: debhelper-compat (= 12), + libcurl-dev, + librsvg2-bin, + qtbase5-dev, + qttools5-dev-tools +Standards-Version: 4.5.0 + +Package: lolautoaccept +Architecture: any +Depends: ${misc:Depends}, + ${shlibs:Depends}, +Description: League of Legends Auto-Acceptor + Can accept games, pick and ban champions and more. \ No newline at end of file diff --git a/debian/lolautoaccept.install b/debian/lolautoaccept.install new file mode 100644 index 0000000..538dd48 --- /dev/null +++ b/debian/lolautoaccept.install @@ -0,0 +1,3 @@ +lolautoaccept usr/bin/ +resources/lolautoaccept.desktop usr/share/applications/ +resources/lolautoaccept.svg usr/share/icons/hicolor/scalable/apps/ \ No newline at end of file diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..2d33f6a --- /dev/null +++ b/debian/rules @@ -0,0 +1,4 @@ +#!/usr/bin/make -f + +%: + dh $@ diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..89ae9db --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (native) diff --git a/lolautoaccept.pro b/lolautoaccept.pro index 24203ad..45a3854 100644 --- a/lolautoaccept.pro +++ b/lolautoaccept.pro @@ -137,7 +137,7 @@ win32 { # Default rules for deployment. qnx: target.path = /tmp/$${TARGET}/bin -else: unix:!android: target.path = /opt/$${TARGET}/bin +else: unix:!android: target.path = /usr/bin !isEmpty(target.path): INSTALLS += target