talimat 1.1 KB

123456789101112131415161718192021222324252627282930
  1. # Description: Tüm göstergelerin kullanmak istediği bir dizi sembol ve kolaylık fonksiyonu.
  2. # URL: http://matsusoft.com.ar/projects/mate
  3. # Packager: yasarciv
  4. # Depends on: gtk2
  5. name=mate-libindicator
  6. version=12.10.1
  7. release=1
  8. source=(http://launchpad.net/libindicator/${version%.*}/$version/+download/libindicator-$version.tar.gz)
  9. build() {
  10. sed '/-Werror/s/$/ -Wno-deprecated-declarations/' -i libindicator-${version}/libindicator/Makefile.{am,in}
  11. sed 's/LIBINDICATOR_LIBS+="$LIBM"/LIBINDICATOR_LIBS+=" $LIBM"/g' -i libindicator-${version}/configure
  12. sed 's/LIBM="-lmw"/LIBM=" -lmw"/g' -i libindicator-${version}/configure
  13. sed 's/LIBM="-lm"/LIBM=" -lm"/g' -i libindicator-${version}/configure
  14. sed 's/LIBS="-lm $LIBS"/LIBS=" -lm $LIBS"/g' -i libindicator-${version}/configure
  15. sed 's/LIBS="-lmw $LIBS"/LIBS=" -lmw $LIBS"/g' -i libindicator-${version}/configure
  16. mkdir -p build-gtk2
  17. cd build-gtk2
  18. ../libindicator-${version}/configure \
  19. --prefix=/usr \
  20. --sysconfdir=/etc \
  21. --localstatedir=/var \
  22. --libexecdir=/usr/lib/$name \
  23. --disable-static \
  24. --with-gtk=2
  25. make
  26. make DESTDIR=$PKG install
  27. }