talimat 1.1 KB

1234567891011121314151617181920212223242526272829303132
  1. # Description: Ayatana göstergeleri için bir dizi sembol ve kolaylık fonksiyonu.
  2. # URL: https://launchpad.net/libindicator
  3. # Packager: milisarge
  4. # Depends on: gtk2
  5. name=libindicator-gtk2
  6. version=0.4.93
  7. release=1
  8. source=(http://launchpad.net/libindicator/0.5/$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. cd libindicator-$version
  17. ./configure --prefix=/usr \
  18. --sysconfdir=/etc \
  19. --localstatedir=/var \
  20. --libexecdir=/usr/lib/$name \
  21. --disable-static \
  22. --with-gtk=2
  23. make -j1
  24. make -j1 DESTDIR=$PKG install
  25. }