module build scripts
This commit is contained in:
@@ -1,5 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
# first install stock version
|
||||
apt-get install --no-install-recommends --yes fluxbox
|
||||
. ../cleanup
|
||||
savechanges /fluxbox-stock.sb
|
||||
|
||||
# then, we want to patch it to implement window resizing!
|
||||
# so we will recompile whole package
|
||||
|
||||
NAME=fluxbox
|
||||
VERSION=1.3.5
|
||||
|
||||
@@ -16,8 +24,8 @@ 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
|
||||
cat $CWD/patches/fluxbox-slax.diff > debian/patches/fluxbox-slax.diff
|
||||
echo fluxbox-slax.diff >> debian/patches/series
|
||||
|
||||
dpkg-buildpackage -us -uc
|
||||
|
||||
@@ -25,4 +33,7 @@ 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
|
||||
. ../cleanup
|
||||
savechanges /fluxbox-mods.sb debian/$NAME
|
||||
|
||||
# combine them together, todo
|
||||
|
||||
Reference in New Issue
Block a user