extra/kdiff3 to 1.8.3-1

This commit is contained in:
Kevin Mihelich 2020-06-25 12:39:14 +00:00
parent eae7cbd456
commit 096ebee0e2

View file

@ -5,7 +5,7 @@
# - patch to explicitly link v5/v6 with libatomic
pkgname=kdiff3
pkgver=1.8.2
pkgver=1.8.3
pkgrel=1
pkgdesc="A file comparator/merge tool"
arch=(x86_64)
@ -15,13 +15,12 @@ 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'
sha256sums=('2f35e9357a303144e3dd5a033a1a8caa70d3eecdb355213e9473cd04bc308bab'
'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
@ -29,12 +28,10 @@ prepare() {
}
build() {
cd build
cmake ../$pkgname-$pkgver
make
cmake -B build -S $pkgname-$pkgver
cmake --build build
}
package() {
cd build
make DESTDIR="$pkgdir" install
DESTDIR="$pkgdir" cmake --install build
}