diff --git a/dist/debian/create_deb.sh b/dist/debian/create_deb.sh new file mode 100755 index 0000000..daf559e --- /dev/null +++ b/dist/debian/create_deb.sh @@ -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 !" diff --git a/dist/debian/liquidprompt.deb b/dist/debian/liquidprompt.deb new file mode 100644 index 0000000..9acb865 Binary files /dev/null and b/dist/debian/liquidprompt.deb differ diff --git a/dist/debian/liquidprompt/DEBIAN/control b/dist/debian/liquidprompt/DEBIAN/control new file mode 100644 index 0000000..95ee5ce --- /dev/null +++ b/dist/debian/liquidprompt/DEBIAN/control @@ -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 +Description: A slick adaptative prompt for Bash and Zsh. +Homepage: http://github.com/nojhan/liquidprompt