# Tanım: Özellik açısından zengin ve kullanımı kolay CD yazma uygulaması
# Url: https://userbase.kde.org/K3b
# Paketçi: alihan-ozturk28@hotmail.com oltulu
# Gerekler: git qt5 kf5-extra-cmake-modules qt5-webkit kf5-karchive kf5-kconfig kf5-kcoreaddons kf5-kdoctools kf5-kfilemetadata kf5-ki18n kf5-kiconthemes kf5-kjobwidgets kf5-kcmutils kf5-kio kf5-knotifications kf5-knewstuff kf5-knotifyconfig kf5-kservice kf5-solid kf5-kwidgetsaddons kf5-kxmlgui libkcddb libsamplerate libmad ffmpeg taglib libmpcdec libdvdread cdrkit xorg-libxft cdparanoia cdrdao dvd+rw-tools

isim=k3b
surum=17.12.0
devir=1
grup=kde

kaynak="https://download.kde.org/stable/applications/$surum/src/$isim-$surum.tar.xz"

derle() {
  mkdir -p build

  cd build
  cmake ../$isim-$surum \
    -DCMAKE_INSTALL_PREFIX=/usr \
    -DCMAKE_BUILD_TYPE=Release \
    -DCMAKE_INSTALL_LIBDIR=lib \
    -DCMAKE_INSTALL_LIBEXECDIR=lib \
    -DBUILD_TESTING=OFF \
    -DK3B_ENABLE_PERMISSION_HELPER=ON
   make
   make DESTDIR=$PKG install
}
