Various compilation scripts & patches for Linux programs.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 lines
1.0 KiB

  1. # Maintainer: Pekka Helenius <fincer89 [at] hotmail [dot] com>
  2. # Contributor: marcel83
  3. pkgname=kde-cdemu-manager
  4. _pkgname=kde_cdemu
  5. pkgver=0.7.3
  6. pkgrel=3
  7. pkgdesc="KDE CDEmu Manager is a simple frontend for CDEmu."
  8. arch=('i686' 'x86_64')
  9. url="https://www.linux-apps.com/p/998461"
  10. license=('GPL')
  11. depends=('qt5-base' 'kconfigwidgets' 'kdbusaddons' 'ki18n' 'knotifications' 'kxmlgui')
  12. depends=('cdemu-daemon>=2.0')
  13. provides=('kde-cdemu-manager')
  14. conflicts=('kde-cdemu-manager')
  15. makedepends=('cmake' 'extra-cmake-modules')
  16. source=(
  17. "https://dl.opendesktop.org/api/files/downloadfile/id/1511553040/o/1/s/3e4f95734673128605fc1d8721894a1c/t/1517011407/u/65804/${_pkgname}-${pkgver}.tar.bz2"
  18. minimize-at-startup.patch
  19. )
  20. md5sums=('f65deb825bb50a1c1bbf2a2f7a5b8ac4'
  21. 'c2219c13a4eb9860d16aa3b1958887e4')
  22. prepare() {
  23. patch -Np1 -i $srcdir/minimize-at-startup.patch
  24. mkdir -p build
  25. }
  26. build() {
  27. cd build
  28. cmake -DCMAKE_INSTALL_PREFIX=/usr \
  29. -DCMAKE_BUILD_TYPE=Release \
  30. ../kde_cdemu
  31. make
  32. }
  33. package() {
  34. cd build
  35. make DESTDIR=$pkgdir install
  36. }