Add debian package (buildscript and package)

This commit is contained in:
Julien Pecqueur (JPEC) 2013-03-30 18:34:04 +01:00
parent 5e232b7b73
commit f1860cd64f
3 changed files with 29 additions and 0 deletions

18
dist/debian/create_deb.sh vendored Executable file
View File

@ -0,0 +1,18 @@
#!/bin/sh
echo "Creating Debian's package..."
nano ./liquidprompt/DEBIAN/control
echo "Copying files..."
cp ../../liquidprompt ./liquidprompt/usr/bin/liquidprompt
cp ../../liquidpromptrc-dist ./liquidprompt/etc/liquidpromptrc
chmod a+x ./liquidprompt/usr/bin/liquidprompt
echo "Building liquidprompt.deb..."
dpkg-deb -b liquidprompt
echo "Deleting files..."
rm -f ./liquidprompt/etc/*
rm -f ./liquidprompt/usr/bin/*
echo "Done !"

BIN
dist/debian/liquidprompt.deb vendored Normal file

Binary file not shown.

11
dist/debian/liquidprompt/DEBIAN/control vendored Normal file
View File

@ -0,0 +1,11 @@
Package: liquidprompt
Version: 1.3-0
Section: base
Priority: optional
Architecture: all
Depends: bash
Recommends: acpi
Suggests: git, screen, tmux
Maintainer: Julien Pecqueur <jpec@julienpecqueur.net>
Description: A slick adaptative prompt for Bash and Zsh.
Homepage: http://github.com/nojhan/liquidprompt