build scripts for modules
parent
86a0ea3d6b
commit
e1f8ae8290
|
|
@ -0,0 +1,28 @@
|
|||
#!/bin/bash
|
||||
|
||||
NAME=fluxbox
|
||||
VERSION=1.3.5
|
||||
|
||||
REBUILD=/tmp/$NAME-rebuild-$$
|
||||
CWD=$(dirname $(readlink -f $0))
|
||||
|
||||
apt-get update
|
||||
apt-get build-dep $NAME
|
||||
|
||||
mkdir -p $REBUILD
|
||||
cd $REBUILD
|
||||
|
||||
apt-get source $NAME
|
||||
|
||||
cd $NAME-$VERSION
|
||||
|
||||
cat $CWD/patches/fluxbox-border-resize.diff > debian/patches/fluxbox-border-resize.diff
|
||||
echo fluxbox-border-resize.diff >> debian/patches/series
|
||||
|
||||
dpkg-buildpackage -us -uc
|
||||
|
||||
rm -Rf debian/$NAME/DEBIAN
|
||||
rm -Rf debian/$NAME/usr/share/doc
|
||||
rm -Rf debian/$NAME/usr/share/images
|
||||
|
||||
savechanges /03-fluxbox.sb debian/$NAME
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
|
||||
apt-get update
|
||||
apt-get install --yes --no-install-recommends xserver-xorg xinit xterm blackbox libxcursor1 breeze-cursor-theme
|
||||
|
||||
# default cursor is white
|
||||
ln -sf /etc/X11/cursors/Breeze_Snow.theme /etc/alternatives/x-cursor-theme
|
||||
|
||||
cp cleanup /tmp
|
||||
# install x11 server utils, apt-get would add cpp dependency, bullshit!
|
||||
cd /tmp
|
||||
apt-get download x11-xserver-utils
|
||||
dpkg -x x11-xserver-utils*.deb /tmp/x11utils
|
||||
cd /tmp/x11utils
|
||||
cp -aR * /
|
||||
|
||||
/tmp/cleanup
|
||||
|
||||
savechanges /02-xorg.sb
|
||||
Loading…
Reference in New Issue