w3m: fix libexecdir
[kiss-trunc88.git] / sgt-puzzles.mine / build
blob22fcbba7e8109a6a1d280d1c6960a6efc97c8334
1 #!/bin/sh -e
3 export DESTDIR="$1"
5 sed -i 's/#include <gdk\/gdkx.h>//' gtk.c
6 sed -i 's/#include <X11\/.*>//g' gtk.c
7 sed -i 's/CurrentTime/GDK_CURRENT_TIME/g' gtk.c
9 cmake -B build \
10 -DCMAKE_BUILD_TYPE=Release \
11 -DCMAKE_INSTALL_PREFIX=/usr \
12 -DNAME_PREFIX=sgt-
14 cmake --build build
15 cmake --install build