aboutsummaryrefslogtreecommitdiff
path: root/community/yad/build
blob: 4a772b7a292e4c2c028a551f60d4365a18633eb1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/sh -e

patch -p1 < 0001-Separate-X11-dependent-modules.patch

autoreconf -fi

./configure \
    --prefix=/usr \
    --disable-nls \
    --disable-html \
    --disable-sourceview \
    --disable-spell \
    --disable-tray

clsed '/gdkx\.h/d;s/Window xid/unsigned long xid/' src/yad.h
clsed 's/gdk\/gdkx\.h/gtk\/gtkx.h/' src/main.c


make
make DESTDIR="$1" install

rm -r "$1/usr/share/locale"