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.

38 lines
981 B

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