# Tanım: Disk ve bölüm yedekleme / geri yükleme aracı
# URL: https://github.com/linuxdeepin/deepin-clone
# Paketçi: Cihan Alkan
# Gerekler: dtkwidget e2fsprogs jfsutils xfsprogs deepin-gettext-tools partclone
# Grup: sistem

isim=deepin-clone
surum=0.1.2
devir=1
kaynak=(https://github.com/linuxdeepin/deepin-clone/archive/$surum.tar.gz::$isim-$surum.tar.gz)

derle() {
  cd $isim-$surum
 sed -i 's|/usr/sbin|/usr/bin|' app/{deepin-clone-app.pro,deepin-clone-ionice,deepin-clone-pkexec,com.deepin.pkexec.deepin-clone.policy.tmp}
  qmake-qt5 PREFIX=/usr
  make
  make INSTALL_ROOT="$PKG" install
}