[build] Add preliminary debian package build
Add a (very) flimsical debian package build via Makefile ("make deb"). see #342
This commit is contained in:
parent
238a234381
commit
fc529e1d23
4 changed files with 28 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -13,7 +13,6 @@ __pycache__/
|
||||||
# Distribution / packaging
|
# Distribution / packaging
|
||||||
.Python
|
.Python
|
||||||
env/
|
env/
|
||||||
build/
|
|
||||||
develop-eggs/
|
develop-eggs/
|
||||||
dist/
|
dist/
|
||||||
downloads/
|
downloads/
|
||||||
|
|
18
Makefile
Normal file
18
Makefile
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
DEBIAN_ROOT = build/debian/bumblebee-status/
|
||||||
|
|
||||||
|
deb:
|
||||||
|
mkdir -p $(DEBIAN_ROOT)/DEBIAN
|
||||||
|
mkdir -p $(DEBIAN_ROOT)/usr/share/bumblebee-status/modules
|
||||||
|
mkdir -p $(DEBIAN_ROOT)/usr/share/bumblebee-status/themes
|
||||||
|
cp build/debian/control $(DEBIAN_ROOT)/DEBIAN/
|
||||||
|
cp bumblebee-status $(DEBIAN_ROOT)/usr/share/bumblebee-status/
|
||||||
|
cp bumblebee/modules/*.py $(DEBIAN_ROOT)/usr/share/bumblebee-status/modules/
|
||||||
|
cp -r themes/* $(DEBIAN_ROOT)/usr/share/bumblebee-status/themes
|
||||||
|
cp LICENSE $(DEBIAN_ROOT)/usr/share/bumblebee-status/
|
||||||
|
dpkg-deb --build $(DEBIAN_ROOT)
|
||||||
|
cp build/debian/bumblebee-status.deb .
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -rf $(DEBIAN_ROOT)
|
||||||
|
rm -f build/debian/*.deb
|
||||||
|
rm -f *.deb
|
5
build/debian/control
Normal file
5
build/debian/control
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
Package: bumblebee-status
|
||||||
|
Version: 0
|
||||||
|
Maintainer: tobi-wan-kenobi
|
||||||
|
Architecture: all
|
||||||
|
Description: bumblebee-status is a modular, theme-able status line generator for the i3 window manager.
|
5
build/debian/postinst
Executable file
5
build/debian/postinst
Executable file
|
@ -0,0 +1,5 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
ln -s /usr/share/bumblebee-status/bumblebee-status /usr/local/bin/bumblebee-status
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue