# Tanım: Deepin başlatıcı
# URL: https://github.com/linuxdeepin/deepin-launcher
# Paketçi: Cihan_Alkan
# Gerekler: qt5 deepin-menu
# Grup: masaüstü


isim=deepin-launcher
surum=4.5.9
devir=1
kaynak=(https://github.com/felixonmars/dde-launcher/archive/$surum.tar.gz::$isim-$surum.tar.gz)

derle() {
  cd dde-launcher-$surum
  sed -i 's|/usr/share/backgrounds/default_background.jpg|/usr/share/backgrounds/deepin/desktop.jpg|' src/boxframe/*.cpp
  cmake . -DCMAKE_INSTALL_PREFIX=/usr -DWITHOUT_UNINSTALL_APP=1
  make

  make DESTDIR="$PKG" install
}