commit 26418d7e3614a86a01e2207310dedec58d4d5301 parent fb2274ab949118ed891f94a23e54c66eb9c240e0 Author: sin <sin@2f30.org> Date: Tue, 18 Feb 2014 12:48:04 +0000 Add aewm Diffstat:
A | pkgs/aewm | | | 25 | +++++++++++++++++++++++++ |
M | stage0 | | | 3 | ++- |
2 files changed, 27 insertions(+), 1 deletion(-)
diff --git a/pkgs/aewm b/pkgs/aewm @@ -0,0 +1,25 @@ +url=$mirror/aewm-1.2.7.tar.gz + +fetch() { + wget -c $url -O src/aewm-1.2.7.tar.gz +} + +unpack() { + cd src + [ -d aewm-1.2.7 ] || tar xzf aewm-1.2.7.tar.gz + cd - +} + +build() { + cd src/aewm-1.2.7 + make CC=x86_64-linux-musl-gcc DESTDIR=$root BINDIR=/bin \ + INCLUDES="-I../lib -I$libcroot/include" LDPATH="-L$libcroot/lib -static" || return 1 + cd - +} + +install() { + cp src/aewm-1.2.7/src/aewm $root/bin + cp src/aewm-1.2.7/src/aewm.1 $root/share/man/man1 + mkdir -p $root/etc/X11/aewm + cp src/aewm-1.2.7/src/aewmrc $root/etc/X11/aewm +} diff --git a/stage0 b/stage0 @@ -29,6 +29,7 @@ packages="crossmusl ubase uuterm tinywm - xsetroot" + xsetroot + aewm" ./pkgbuild $packages