2018-08-21 13:02:14 +00:00
|
|
|
# Maintainer: Antonio Rojas <arojas@archlinux.org>
|
|
|
|
# Maintainer: Eric Bélanger <eric@archlinux.org>
|
|
|
|
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
|
|
# - patch to explicitly link v5/v6 with libatomic
|
|
|
|
|
|
|
|
pkgname=kdiff3
|
2021-05-14 20:14:14 +00:00
|
|
|
pkgver=1.9.1
|
|
|
|
pkgrel=1
|
2021-05-02 17:15:29 +00:00
|
|
|
pkgdesc='A file comparator/merge tool'
|
2018-08-21 13:02:14 +00:00
|
|
|
arch=(x86_64)
|
2021-05-02 17:15:29 +00:00
|
|
|
url='https://kde.org/applications/development/kdiff3/'
|
2018-08-21 13:02:14 +00:00
|
|
|
license=(GPL)
|
|
|
|
depends=(kparts hicolor-icon-theme)
|
2021-05-02 17:15:29 +00:00
|
|
|
makedepends=(extra-cmake-modules kdoctools boost)
|
2019-05-14 12:58:21 +00:00
|
|
|
source=(https://download.kde.org/stable/$pkgname/$pkgname-$pkgver.tar.xz{,.sig}
|
2018-08-21 13:02:14 +00:00
|
|
|
0001-link-atomic.patch)
|
2021-05-14 20:14:14 +00:00
|
|
|
sha256sums=('079df4523c15919489707dc89b738ad6432680d42de59caecb3a9219b5cbd294'
|
2019-05-14 12:58:21 +00:00
|
|
|
'SKIP'
|
2021-05-02 17:15:29 +00:00
|
|
|
'47ce388156ae3d70efb6915c94db3502b0bbdfa439aaf4a6b75f7ab6702e338c')
|
2019-05-14 12:58:21 +00:00
|
|
|
validpgpkeys=(EE56D710885D36FB1E4D21F3F442B36D614B06BC) # Michael Reeves <reeves.87@gmail.com>
|
2018-08-21 13:02:14 +00:00
|
|
|
|
|
|
|
prepare() {
|
|
|
|
if [[ $CARCH == "armv6h" || $CARCH == "arm" ]]; then
|
2019-05-14 12:58:21 +00:00
|
|
|
cd $pkgname-$pkgver
|
2018-08-21 13:02:14 +00:00
|
|
|
patch -p1 -i ../0001-link-atomic.patch
|
|
|
|
fi
|
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
2021-05-14 20:14:14 +00:00
|
|
|
cmake -B build -S $pkgname-$pkgver
|
2020-06-25 12:39:14 +00:00
|
|
|
cmake --build build
|
2018-08-21 13:02:14 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2020-06-25 12:39:14 +00:00
|
|
|
DESTDIR="$pkgdir" cmake --install build
|
2018-08-21 13:02:14 +00:00
|
|
|
}
|