diff --git a/.gitignore b/.gitignore index 577808b..724c296 100644 --- a/.gitignore +++ b/.gitignore @@ -13,7 +13,6 @@ __pycache__/ # Distribution / packaging .Python env/ -build/ develop-eggs/ dist/ downloads/ diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..b542958 --- /dev/null +++ b/Makefile @@ -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 diff --git a/build/debian/control b/build/debian/control new file mode 100644 index 0000000..02526ce --- /dev/null +++ b/build/debian/control @@ -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. diff --git a/build/debian/postinst b/build/debian/postinst new file mode 100755 index 0000000..640378b --- /dev/null +++ b/build/debian/postinst @@ -0,0 +1,5 @@ +#!/bin/sh + +ln -s /usr/share/bumblebee-status/bumblebee-status /usr/local/bin/bumblebee-status + +