PKGBUILDs/extra/kdiff3/PKGBUILD
2020-03-28 13:09:53 +00:00

40 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.8.2
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)
source=(https://download.kde.org/stable/$pkgname/$pkgname-$pkgver.tar.xz{,.sig}
0001-link-atomic.patch)
sha256sums=('fb7154778491dc11b9bd38465164ce1a7c2d1810f70a57cd4268ffad42d5bb68'
'SKIP'
'414fd602932d4572eb564da71c8adde822dfcc96727693c266195580a04d9809')
validpgpkeys=(EE56D710885D36FB1E4D21F3F442B36D614B06BC) # Michael Reeves <reeves.87@gmail.com>
prepare() {
mkdir -p build
if [[ $CARCH == "armv6h" || $CARCH == "arm" ]]; then
cd $pkgname-$pkgver
patch -p1 -i ../0001-link-atomic.patch
fi
}
build() {
cd build
cmake ../$pkgname-$pkgver
make
}
package() {
cd build
make DESTDIR="$pkgdir" install
}