morpheus

suckless linux distro
git clone git://git.2f30.org/morpheus
Log | Files | Refs | Submodules | README | LICENSE

commit 004eb4bbb9022583351f297c82fe8da10fb85eca
parent 1934d8b5c22eb52f797586e1e833b12e4f5be38a
Author: sin <sin@2f30.org>
Date:   Thu, 20 Feb 2014 13:20:38 +0000

Update to latest dwm

Diffstat:
Mpkgs/dwm | 14++++++--------
1 file changed, 6 insertions(+), 8 deletions(-)

diff --git a/pkgs/dwm b/pkgs/dwm @@ -1,29 +1,27 @@ -url=$mirror/dwm-6.0.tar.gz +url=$mirror/dwm-git.tar.gz fetch() { - wget -c $url -O src/dwm-6.0.tar.gz + wget -c $url -O src/dwm-git.tar.gz } unpack() { cd src - [ -d dwm-6.0 ] || tar xzf dwm-6.0.tar.gz + [ -d dwm ] || tar xzf dwm-git.tar.gz cd - } build() { - cd src/dwm-6.0 + cd src/dwm sed -i "s@X11INC = /usr/X11R6/include@X11INC = $libcroot/include@" config.mk sed -i "s@X11LIB = /usr/X11R6/lib@X11LIB = $libcroot/lib@" config.mk - sed -i 's@INCS = -I. -I/usr/include -I${X11INC}@INCS = -I. -I${X11INC}@' config.mk - sed -i 's@LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 ${XINERAMALIBS}@LIBS = -lc -L${X11LIB} -lX11 ${XINERAMALIBS}@' config.mk - sed -i 's@LDFLAGS = -s ${LIBS}@LDFLAGS = -s ${LIBS} -static@' config.mk + sed -i 's@LDFLAGS = -s ${LIBS}@LDFLAGS = -s ${LIBS} -static@' config.mk sed -i 's@CC = cc@CC = x86_64-linux-musl-gcc@' config.mk make || return 1 cd - } install() { - cd src/dwm-6.0 + cd src/dwm cp dwm $root/bin cp dwm.1 $root/share/man/man1 cd -