PKGBUILD 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. # Maintainer (Arch): Antonio Rojas <arojas@archlinux.org>
  2. # Maintainer (Arch): Felix Yan <felixonmars@archlinux.org>
  3. # Contributor (Arch): Andrea Scarpino <andrea@archlinux.org>
  4. # Maintainer: Andreas Grapentin <andreas@grapentin.org>
  5. # Contributor: André Silva <emulatorman@hyperbola.info>
  6. # Contributor: jc_gargma <jc_gargma@iserlohn-fortress.net>
  7. pkgname=ark
  8. pkgver=21.04.0
  9. pkgrel=1
  10. pkgrel+=.parabola1
  11. pkgdesc='Archiving Tool'
  12. pkgdesc+=', with unarchiver support'
  13. arch=(x86_64)
  14. arch+=(i686 armv7h)
  15. url='https://apps.kde.org/ark/'
  16. license=(GPL)
  17. depends=(kparts kpty libarchive libzip kitemmodels hicolor-icon-theme)
  18. makedepends=(extra-cmake-modules kdoctools)
  19. optdepends=('p7zip: 7Z format support' 'unarchiver: RAR format support'
  20. 'lzop: LZO format support' 'lrzip: LRZ format support')
  21. groups=(kde-applications kde-utilities)
  22. source=(https://download.kde.org/stable/release-service/$pkgver/src/$pkgname-$pkgver.tar.xz{,.sig})
  23. source+=(libre.patch)
  24. sha256sums=('0e5e0552598038e38f42d813aefb46ebee9a3d00ffb1ea163b526de58ce39e0c'
  25. 'SKIP'
  26. '624bd7cd221db2a80b21cd5f71c447d86091e52276f2bdb609c8916755c7d602')
  27. validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 # Albert Astals Cid <aacid@kde.org>
  28. F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87 # Christoph Feck <cfeck@kde.org>
  29. D81C0CB38EB725EF6691C385BB463350D6EF31EF) # Heiko Becker <heiko.becker@kde.org>
  30. prepare() {
  31. cd $pkgname-$pkgver
  32. patch -p1 -i $srcdir/libre.patch
  33. rm -rv plugins/clirarplugin
  34. }
  35. build() {
  36. cmake -B build -S $pkgname-$pkgver \
  37. -DBUILD_TESTING=OFF
  38. cmake --build build
  39. }
  40. package() {
  41. DESTDIR="$pkgdir" cmake --install build
  42. }