Skip to content

Packaging Clementine for Ubuntu

davidsansome edited this page Dec 1, 2013 · 1 revision

Introduction

This guide is for creating the .deb files that you see on the downloads page. You probably don't need to do this. You can download an Ubuntu package from the downloads page, or if you want to just compile Clementine yourself see Compiling From Source.

Before you begin

sudo apt-get install debhelper dpkg-dev pbuilder

Add the following to /etc/pbuilderrc: COMPONENTS="main restricted universe multiverse" Then: sudo pbuilder create

Creating the package

cd dist
./maketarball.sh
tar -xvzf clementine-_version_.tar.gz
cd clementine-_version_
cp -r ../../debian .
dpkg-buildpackage -rfakeroot -d -S
sudo pbuilder build ../*.dsc
sudo schroot -c lucid-32 pbuilder build ../*.dsc

The deb should now be in /var/cache/pbuilder/result