mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
37 lines
1.1 KiB
Bash
37 lines
1.1 KiB
Bash
# 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
|
|
pkgver=1.9.4
|
|
pkgrel=1
|
|
pkgdesc='A file comparator/merge tool'
|
|
arch=(x86_64)
|
|
url='https://kde.org/applications/development/kdiff3/'
|
|
license=(GPL)
|
|
depends=(kparts hicolor-icon-theme)
|
|
makedepends=(extra-cmake-modules kdoctools boost)
|
|
source=(https://download.kde.org/stable/$pkgname/$pkgname-$pkgver.tar.xz{,.sig}
|
|
0001-link-atomic.patch)
|
|
sha256sums=('a130712ceef074df691426909fc4a332b66f4c3f1490a548ab5bfb46316c385a'
|
|
'SKIP'
|
|
'47ce388156ae3d70efb6915c94db3502b0bbdfa439aaf4a6b75f7ab6702e338c')
|
|
validpgpkeys=(EE56D710885D36FB1E4D21F3F442B36D614B06BC) # Michael Reeves <reeves.87@gmail.com>
|
|
|
|
prepare() {
|
|
if [[ $CARCH == "armv6h" || $CARCH == "arm" ]]; then
|
|
cd $pkgname-$pkgver
|
|
patch -p1 -i ../0001-link-atomic.patch
|
|
fi
|
|
}
|
|
|
|
build() {
|
|
cmake -B build -S $pkgname-$pkgver
|
|
cmake --build build
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" cmake --install build
|
|
}
|