kiss-mfavila-large/ports/xclock/build

11 lines
288 B
Plaintext
Raw Normal View History

2021-05-09 02:10:08 -04:00
#!/bin/sh -e
# Patch Clock.c to compile with other Xaws
2021-05-19 20:33:40 -04:00
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
2021-05-11 00:07:37 -04:00
./configure \
--prefix=/usr
2021-05-09 02:10:08 -04:00
make
make DESTDIR="$1" install