2 git_commit
=f09418bbb6651ab4c299cfefbe1d18de401f630e
3 git_url0
=https
://git.suckless.org
/dwm
7 pkg_dir
=/run
/pkgs
/$pkg_name
8 src_dir
=$src_dir_root/$src_name
11 cp -r $src_dir $pkg_dir
13 #-------------------------------------------------------------------------------
17 git checkout
--force $git_commit
20 cp $nyan_root/builders
/$pkg_name/dwm-actualfullscreen-20191112-cb3f58a.
diff .
/
21 patch -N -p 1 -i dwm-actualfullscreen-20191112-cb3f58a.
diff
23 #-------------------------------------------------------------------------------
25 build_dir
=/run
/builds
/$pkg_name
30 # install our config.h
31 cp $nyan_root/builders
/dwm-
$slot/config.h .
/
36 -DVERSION=\"$version\" \
38 -I/nyan/xorgproto/current/include \
39 -I/nyan/libX11/current/include \
40 -I/nyan/libXft/current/include \
41 -I/nyan/freetype/current/include/freetype2 \
42 -I/nyan/fontconfig/current/include \
43 -I/nyan/libXrender/current/include \
47 -L/nyan/libX11/current/lib \
48 -L/nyan/freetype/current/lib \
49 -L/nyan/libXft/current/lib \
50 -L/nyan/fontconfig/current/lib \
60 gcc
-Os -pipe -static-libgcc -c $cppflags $pkg_dir/drw.c
-o $build_dir/drw.o
61 gcc
-Os -pipe -static-libgcc -c $cppflags $pkg_dir/dwm.c
-o $build_dir/dwm.o
62 gcc
-Os -pipe -static-libgcc -c $cppflags $pkg_dir/util.c
-o $build_dir/util.o
64 gcc
-pipe -static-libgcc -B/nyan
/glibc
/current
/lib
$ldflags $libs -o $build_dir/dwm \
65 $build_dir/drw.o
$build_dir/dwm.o
$build_dir/util.o \
67 /nyan
/glibc
/current
/lib
:\
68 /nyan
/libXrender
/current
/lib
:\
69 /nyan
/libxcb
/current
/lib
:\
70 /nyan
/libXau
/current
/lib
72 mkdir
-p /nyan
/dwm
/$slot/bin
73 cp -f $build_dir/dwm
/nyan
/dwm
/$slot/bin
74 strip
-s /nyan
/dwm
/$slot/bin
/dwm
76 rm -Rf $build_dir $pkg_dir
77 rmdir /run
/pkgs
/run
/builds