mirror of
https://codeberg.org/kiss-community/repo
synced 2024-11-16 03:30:23 -07:00
24 lines
492 B
Bash
Executable File
24 lines
492 B
Bash
Executable File
#!/bin/sh -e
|
|
|
|
triplet=$(cc -dumpmachine)
|
|
export CFLAGS="$CFLAGS -UGDK_PIXBUF_DISABLE_DEPRECATED"
|
|
|
|
./configure \
|
|
--build="$triplet" \
|
|
--host="$triplet" \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--localstatedir=/var \
|
|
--enable-debug=no \
|
|
--disable-gtk-doc \
|
|
--with-xinput=yes
|
|
|
|
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
|
|
sed -i -e 's/demos //g' Makefile
|
|
|
|
make
|
|
make DESTDIR="$1" install
|
|
|
|
# Conflicts with GTK+3.
|
|
rm -f "$1/usr/bin/gtk-update-icon-cache"
|