Add debian package (buildscript and package)
This commit is contained in:
parent
5e232b7b73
commit
f1860cd64f
18
dist/debian/create_deb.sh
vendored
Executable file
18
dist/debian/create_deb.sh
vendored
Executable 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
BIN
dist/debian/liquidprompt.deb
vendored
Normal file
Binary file not shown.
11
dist/debian/liquidprompt/DEBIAN/control
vendored
Normal file
11
dist/debian/liquidprompt/DEBIAN/control
vendored
Normal 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
|
Loading…
Reference in New Issue
Block a user