PKGBUILD 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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=20.04.0
  9. pkgrel=1
  10. pkgrel+=.par1
  11. pkgdesc='Archiving Tool'
  12. pkgdesc+=', with unarchiver support'
  13. arch=(x86_64)
  14. arch+=(i686 armv7h)
  15. url='https://kde.org/applications/utilities/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 kdeutils)
  22. source=("https://download.kde.org/stable/release-service/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig})
  23. source+=('libre.patch')
  24. sha256sums=('6acda4f29ff463216748f27a791454e1ed2e45851b8e95ada0f56434850917d7'
  25. 'SKIP'
  26. '624bd7cd221db2a80b21cd5f71c447d86091e52276f2bdb609c8916755c7d602')
  27. validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 # Albert Astals Cid <aacid@kde.org>
  28. F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87) # Christoph Feck <cfeck@kde.org>
  29. prepare() {
  30. mkdir -p build
  31. cd $pkgname-$pkgver
  32. patch -p1 -i $srcdir/libre.patch
  33. rm -rv plugins/clirarplugin
  34. }
  35. build() {
  36. cd build
  37. cmake ../$pkgname-$pkgver \
  38. -DBUILD_TESTING=OFF
  39. make
  40. }
  41. package() {
  42. cd build
  43. make DESTDIR="$pkgdir" install
  44. }