milis/talimatname/genel/libindicator-gtk2/talimat

32 lines
1.1 KiB
Plaintext
Raw Normal View History

2017-03-30 15:02:58 +02:00
# Description: Ayatana göstergeleri için bir dizi sembol ve kolaylık fonksiyonu.
2016-02-24 01:27:23 +01:00
# URL: https://launchpad.net/libindicator
2017-03-30 15:02:58 +02:00
# Packager: milisarge
2016-02-24 01:27:23 +01:00
# Depends on: gtk2
name=libindicator-gtk2
2017-06-23 15:10:58 +02:00
version=12.10.1
2016-02-24 01:27:23 +01:00
release=1
source=(http://launchpad.net/libindicator/0.5/$version/+download/libindicator-$version.tar.gz)
build() {
sed '/-Werror/s/$/ -Wno-deprecated-declarations/' -i libindicator-$version/libindicator/Makefile.{am,in}
sed 's/LIBINDICATOR_LIBS+="$LIBM"/LIBINDICATOR_LIBS+=" $LIBM"/g' -i libindicator-$version/configure
sed 's/LIBM="-lmw"/LIBM=" -lmw"/g' -i libindicator-$version/configure
sed 's/LIBM="-lm"/LIBM=" -lm"/g' -i libindicator-$version/configure
sed 's/LIBS="-lm $LIBS"/LIBS=" -lm $LIBS"/g' -i libindicator-$version/configure
sed 's/LIBS="-lmw $LIBS"/LIBS=" -lmw $LIBS"/g' -i libindicator-$version/configure
cd libindicator-$version
./configure --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--libexecdir=/usr/lib/$name \
--disable-static \
--with-gtk=2
make -j1
make -j1 DESTDIR=$PKG install
}