kiss-mfavila-small/ports/xclock/build

11 lines
292 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.new | sed -e 's/&shapemask, NULL);//g' > Clock.c.new ; mv Clock.c.new Clock.c
./configure \
--prefix=/usr
make
make DESTDIR="$1" install