diff --git a/debian/bglug-artwork.postrm b/debian/bglug-artwork.prerm similarity index 100% rename from debian/bglug-artwork.postrm rename to debian/bglug-artwork.prerm diff --git a/debian/control b/debian/control index 2ac6641..a2f8584 100644 --- a/debian/control +++ b/debian/control @@ -2,19 +2,20 @@ Source: bglug-artwork Section: x11 Priority: optional Maintainer: BGLug -SBuild-Depends: debhelper (>= 7), intltool, libplymouth-dev, pkg-config -Standards-Version: 3.9.1 +Build-Depends: debhelper (>= 7), intltool, libplymouth-dev, pkg-config +Standards-Version: 3.9.5 Homepage: http://www.bglug.it Package: bglug-artwork Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} Description: Default BGLug artwork At the moment, this package contains only the default background. Package: plymouth-theme-edubuntu-bglug Architecture: all -Depends: plymouth (>= 0.8.1-1), plymouth-label, ${misc:Depends} +Depends: plymouth (>= 0.8.1-1), plymouth-label, ${shlibs:Depends}, ${misc:Depends} Provides: plymouth-theme Description: plymouth theme for Edubuntu - BGLug edition - This package contains a clone of base Edubuntu theme for plymouth, - customized with the BGLug logo. + This package contains a clone of base Edubuntu theme for plymouth, + customized with the BGLug logo. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..014bdd3 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,28 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: BGLug Artwork +Source: https://github.com/bglug-it/bglug-artwork + +Files: * +Copyright: Copyright 2015 BGLug +License: GPL-2+ + This program is free software; you can redistribute it + and/or modify it under the terms of the GNU General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later + version. + . + This program is distributed in the hope that it will be + useful, but WITHOUT ANY WARRANTY; without even the implied + warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR + PURPOSE. See the GNU General Public License for more + details. + . + You should have received a copy of the GNU General Public + License along with this package; if not, write to the Free + Software Foundation, Inc., 51 Franklin St, Fifth Floor, + Boston, MA 02110-1301 USA + . + On Debian systems, the full text of the GNU General Public + License version 2 can be found in the file + `/usr/share/common-licenses/GPL-2'. + diff --git a/debian/plymouth-theme-edubuntu-bglug.postrm b/debian/plymouth-theme-edubuntu-bglug.postrm index 69b37df..8d45ce2 100644 --- a/debian/plymouth-theme-edubuntu-bglug.postrm +++ b/debian/plymouth-theme-edubuntu-bglug.postrm @@ -3,9 +3,6 @@ set -e case "$1" in purge|remove) - update-alternatives \ - --remove default.plymouth /lib/plymouth/themes/edubuntu-logo-bglug/edubuntu-logo-bglug.plymouth - rmdir /lib/plymouth/themes || : rmdir /lib/plymouth || : diff --git a/debian/plymouth-theme-edubuntu-bglug.prerm b/debian/plymouth-theme-edubuntu-bglug.prerm new file mode 100644 index 0000000..4f3e464 --- /dev/null +++ b/debian/plymouth-theme-edubuntu-bglug.prerm @@ -0,0 +1,21 @@ +#!/bin/sh +set -e + +case "$1" in + purge|remove) + update-alternatives \ + --remove default.plymouth /lib/plymouth/themes/edubuntu-logo-bglug/edubuntu-logo-bglug.plymouth + ;; + + upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + ;; + + *) + echo "$0 called with unknown argument \`$1'" 1>&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0