talimat 981 B

123456789101112131415161718192021222324252627282930313233
  1. # Tanım: Cairo-Dock için eklentiler
  2. # URL: http://glx-dock.org
  3. # Paketçi: yasarciv67
  4. # Gerekler: cairo-dock alsa-lib cmake dbus-sharp-glib fftw gnome-menus gtk-sharp-3 gvfs libetpan libexif libical pulseaudio libxklavier lm_sensors python python3 ruby upower vala vte3 zeitgeist wireless_tools
  5. # Grup: masaüstü
  6. isim=cairo-dock-plug-ins
  7. surum=3.4.1
  8. devir=1
  9. kaynak=(https://github.com/Cairo-Dock/cairo-dock-plug-ins/archive/${pkgver}.tar.gz::$isim-$surum.tar.gz
  10. cairo-dock-plug-ins-mono.patch
  11. cairo-dock-plugins-3.4.1-time_h-confict.patch)
  12. derle() {
  13. cd $isim-$surum
  14. patch -Np1 -i ../cairo-dock-plug-ins-mono.patch
  15. patch -Np1 -i ../cairo-dock-plugins-3.4.1-time_h-confict.patch
  16. sed 's/gmcs/mcs/' -i CMakeLists.txt
  17. if [[ -d build ]]; then
  18. rm -rf build
  19. fi
  20. mkdir build
  21. cd $isim-$surum/build
  22. cmake .. \
  23. -DCMAKE_BUILD_TYPE='Release' \
  24. -DCMAKE_INSTALL_PREFIX='/usr'
  25. make
  26. make DESTDIR=$PKG install
  27. mv $PKG/usr/lib/{cli,mono}
  28. }