kiss-mfavila-small/ports/xclock/build
2021-05-20 00:33:40 +00:00

11 lines
288 B
Bash
Executable File

#!/bin/sh -e
# Patch Clock.c to compile with other Xaws
sed -e 's/XpmReadFileToPixmap(dpy, RootWindowOfScreen(screen), name, &pmap,//g' Clock.c | sed -e 's/&shapemask, NULL);//g' > Clock.c.new ; mv Clock.c.new Clock.c
./configure \
--prefix=/usr
make
make DESTDIR="$1" install