1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192 |
- # Maintainer (arch): Antonio Rojas <arojas@archlinux.org>
- # Maintainer (arch): Felix Yan <felixonmars@archlinux.org>
- # Contributor: Andrea Scarpino <andrea@archlinux.org>
- # Maintainer: Andreas Grapentin <andreas@grapentin.org>
- # Contributor: André Silva <emulatorman@hyperbola.info>
- # Contributor: jc_gargma <jc_gargma@iserlohn-fortress.net>
- # Contributor: SolveFinder <kwopleq@proton.me>
- # parabola changes and rationale:
- # - remove unrar support
- # NOTE: can not package for i686 until arch32 moves 'kcolorscheme' out of staging
- pkgname=ark
- pkgver=24.02.2
- pkgrel=1
- pkgrel+=.parabola1
- pkgdesc='Archiving Tool'
- arch=(x86_64)
- arch+=(armv7h i686)
- url='https://apps.kde.org/ark/'
- license=(GPL-2.0-or-later)
- depends=(gcc-libs
- glibc
- kcolorscheme
- kcompletion
- kconfig
- kconfigwidgets
- kcoreaddons
- kcrash
- kdbusaddons
- kfilemetadata
- ki18n
- kio
- kjobwidgets
- kparts
- kpty
- kservice
- kwidgetsaddons
- kwindowsystem
- kxmlgui
- libarchive
- libzip
- qt6-base
- sh
- zlib)
- makedepends=(extra-cmake-modules
- kdoctools)
- optdepends=('arj: ARJ format support'
- 'lrzip: LRZ format support'
- 'lzop: LZO format support'
- 'p7zip: 7Z format support'
- 'unarchiver: RAR format support')
- groups=(kde-applications
- kde-utilities)
- source=(https://download.kde.org/stable/release-service/$pkgver/src/$pkgname-$pkgver.tar.xz{,.sig})
- sha256sums=('06374f5c7c2aee7a93c04bfd7b6b3baaeab3962e8277c9087fea54ba9805bdce'
- 'SKIP')
- validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 # Albert Astals Cid <aacid@kde.org>
- F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87 # Christoph Feck <cfeck@kde.org>
- D81C0CB38EB725EF6691C385BB463350D6EF31EF) # Heiko Becker <heiko.becker@kde.org>
- # parabola mksource over-rides
- mksource=( ${source[*]} )
- mksha256sums=( ${sha256sums[*]} )
- mkvalidpgpkeys=( ${validpgpkeys[*]} )
- source=(https://repo.parabola.nu/other/${pkgname}-libre/${pkgname}-${pkgver}.fsdg.tar.gz{,.sig})
- sha256sums=('5e21ed0968584258f292c4afadecd42a0aba0e0c3801e7fe13b2fe87df90ca6b'
- 'SKIP')
- validpgpkeys=('3954A7AB837D0EA9CFA9798925DB7D9B5A8D4B40') # bill-auger
- mksource() {
- # Remove unrar plugin
- sed -i '/clirarplugin/d' "$pkgname-$pkgver/plugins/CMakeLists.txt"
- sed -i 's/unar or unrar/unar/' "$pkgname-$pkgver/plugins/cliunarchiverplugin/CMakeLists.txt"
- rm -rv $pkgname-$pkgver/plugins/clirarplugin
- }
- build() {
- cmake -B build -S $pkgname-$pkgver \
- -DBUILD_TESTING=OFF
- cmake --build build
- }
- package() {
- DESTDIR="$pkgdir" cmake --install build
- }
|