Skip to content

Commit

Permalink
Added the structure for the debian package
Browse files Browse the repository at this point in the history
  • Loading branch information
Mirko Brombin committed Oct 16, 2017
1 parent 093e46a commit f31d7ce
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 23 deletions.
4 changes: 2 additions & 2 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
com.github.mirkobrombin.ppaextender (0.0.5) precise; urgency=low
com.github.mirkobrombin.bottles (0.0.1) precise; urgency=low

* First release

-- Mirko Brombin <[email protected]> Mon, 9 Oct 2017 13:23:00 +0200
-- Mirko Brombin <[email protected]> Mon, 16 Oct 2017 09:45:00 +0200
15 changes: 9 additions & 6 deletions debian/control
Original file line number Diff line number Diff line change
@@ -1,18 +1,21 @@
Source: com.github.mirkobrombin.ppaextender
Source: com.github.mirkobrombin.bottles
Section: x11
Priority: extra
Maintainer: Mirko Brombin <[email protected]>
Build-Depends: debhelper (>= 10),
libgtk-3-dev,
libgranite-dev,
dh-python,
python3,
python-all,
python-setuptools,
software-properties-common
software-properties-common,
wine,
xterm
Standards-Version: 3.9.3

Package: com.github.mirkobrombin.ppaextender
Package: com.github.mirkobrombin.bottles
Architecture: any
Depends: python3, python-requests, ${misc:Depends}, ${shlibs:Depends}
Description: PPA Extender
Easily manage PPA
Depends: python3, ${misc:Depends}, ${shlibs:Depends}
Description: Bottles
Easily manage your Wine bottles
4 changes: 2 additions & 2 deletions debian/copyright
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Format: http://dep.debian.net/deps/dep5
Upstream-Name: PPA Extender
Source: https://github.com/mirkobrombin/ppaextender
Upstream-Name: Bottles
Source: https://github.com/mirkobrombin/bottles

Files: *
Copyright: 2017 Mirko Brombin <[email protected]>
Expand Down
20 changes: 9 additions & 11 deletions debian/install
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
ppaextender /usr/local/bin/
ppaextender /usr/share/com.github.mirkobrombin.ppaextender/ppaextender
setup.py /usr/share/com.github.mirkobrombin.ppaextender
com.github.mirkobrombin.ppaextender /usr/local/bin
com.github.mirkobrombin.ppaextender /usr/share/com.github.mirkobrombin.ppaextender
data /usr/share/com.github.mirkobrombin.ppaextender
data/com.github.mirkobrombin.ppaextender.svg /usr/local/share/icons/hicolor/128x128/apps
data/com.github.mirkobrombin.ppaextender.desktop /usr/local/share/applications
data/com.github.mirkobrombin.ppaextender.policy /usr/share/polkit-1/actions
data/style.css /usr/share/com.github.mirkobrombin.ppaextender/data
pkexec /usr/share/com.github.mirkobrombin.ppaextender
bottles /usr/local/bin/
bottles /usr/share/com.github.mirkobrombin.bottles/bottles
setup.py /usr/share/com.github.mirkobrombin.bottles
com.github.mirkobrombin.bottles /usr/local/bin
com.github.mirkobrombin.bottles /usr/share/com.github.mirkobrombin.bottles
data /usr/share/com.github.mirkobrombin.bottles
data/com.github.mirkobrombin.bottles.svg /usr/local/share/icons/hicolor/128x128/apps
data/com.github.mirkobrombin.bottles.desktop /usr/local/share/applications
data/style.css /usr/share/com.github.mirkobrombin.bottles/data

2 changes: 1 addition & 1 deletion debian/postinst
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

set -e

cd /usr/share/com.github.mirkobrombin.ppaextender
cd /usr/share/com.github.mirkobrombin.bottles
sudo python3 setup.py install
2 changes: 1 addition & 1 deletion debian/rules
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#! /usr/bin/make -f

export PYBUILD_INSTALL_ARGS ?= --install-lib=/usr/share/com.github.mirkobrombin.ppaextender
export PYBUILD_INSTALL_ARGS ?= --install-lib=/usr/share/com.github.mirkobrombin.bottles

override_dh_usrlocal:

Expand Down

0 comments on commit f31d7ce

Please sign in to comment.