# Tanım: Deepin network araçları
# URL: https://github.com/linuxdeepin/dde-network
# Paketçi: Cihan_Alkan
# Gerekler: qt5 deepin-qt-dbus-factory
# Grup: masaüstü

isim=deepin-network-utils
surum=0.0.8.1
devir=1
kaynak=(https://github.com/linuxdeepin/dde-network-utils/archive/$surum.tar.gz::$isim-$surum.tar.gz)

derle() {
  [ ! -f /usr/bin/lrelease ] && ln -s /usr/bin/lrelease-qt5 /usr/bin/lrelease
  cd dde-network-utils-$surum
  qmake-qt5 PREFIX=/usr
  make
  make INSTALL_ROOT="${PKG}" install
  [ -f /usr/bin/lrelease ] && rm /usr/bin/lrelease
}