# Tanım: DTK Çekirdek modülleri
# URL: https://github.com/linuxdeepin/dtkcore
# Paketçi: Cihan_Alkan
# Gerekler: qt5 gsettings-qt
# Grup: sistem

isim=dtkcore
surum=2.0.9.11
devir=1
kaynak=(https://github.com/linuxdeepin/dtkcore/archive/$surum.tar.gz::$isim-$surum.tar.gz
        fix-symbol.patch)

derle() {
  cd $isim-$surum
  patch -p1 -i ../fix-symbol.patch
  qmake-qt5 PREFIX=/usr DTK_VERSION=$surum
  make
  make INSTALL_ROOT="$PKG" install
}