# Tanım: Deepin için denetim merkezi
# URL: https://github.com/linuxdeepin/dde-control-center
# Paketçi: Cihan_Alkan
# Gerekler: deepin-dock qt5 dtkwidget kf5-networkmanager-qt
# Grup: masaüstü

isim=deepin-control-center
surum=4.8.6
devir=1
kaynak=(https://github.com/linuxdeepin/dde-control-center/archive/$surum.tar.gz::$isim-$surum.tar.gz)

derle() {
  mkdir -p build
  cd build
  cmake ../$isim-$surum \
    -DCMAKE_INSTALL_PREFIX=/usr \
    -DCMAKE_INSTALL_LIBDIR=lib \
    -DBUILD_TESTING=OFF \
    -DBUILD_QCH=ON
  make

  make DESTDIR="$PKG" install
}