pkgname=kde-cdemu-manager pkgver=0.7.2 pkgrel=1 pkgdesc="KDE CDEmu Manager is a simple frontend for CDEmu." arch=('i686' 'x86_64') url="https://www.linux-apps.com/p/998461" license=('GPL') depends=('qt5-base' 'kconfigwidgets' 'kdbusaddons' 'ki18n' 'knotifications' 'kxmlgui') depends=('cdemu-daemon>=2.0') provides=('kde-cdemu-manager') conflicts=('kde-cdemu-manager') makedepends=('cmake' 'extra-cmake-modules') source=(https://dl.opendesktop.org/api/files/download/id/1481242372/kde_cdemu-0.7.2.tar.bz2 minimize-at-startup.patch) md5sums=('063bc8e39287bc30afe5bf8912dfe2b6' 'c2219c13a4eb9860d16aa3b1958887e4') prepare() { patch -Np1 -i $srcdir/minimize-at-startup.patch mkdir -p build } build() { cd build cmake -DCMAKE_INSTALL_PREFIX=`kf5-config --prefix` \ -DCMAKE_BUILD_TYPE=Release \ ../kde_cdemu make } package() { cd build make DESTDIR=$pkgdir install }