extra/kdiff3 to 1.8-1

This commit is contained in:
Kevin Mihelich 2019-05-14 12:58:21 +00:00
parent 7c8a74ba60
commit 35e1e5c7da

View file

@ -5,31 +5,32 @@
# - patch to explicitly link v5/v6 with libatomic
pkgname=kdiff3
pkgver=1.7.90.git20190329
pkgver=1.8
pkgrel=1
_commit=0caf3edb739cfcf5a57df305c6d6dec37dbc8bff
pkgdesc="A KDE file comparator/merge tool"
pkgdesc="A file comparator/merge tool"
arch=(x86_64)
url="https://kdiff3.sourceforge.net/"
url="https://kde.org/applications/development/kdiff3/"
license=(GPL)
depends=(kparts hicolor-icon-theme)
makedepends=(extra-cmake-modules kdoctools git)
source=(git://git.kde.org/kdiff3#commit=$_commit
makedepends=(extra-cmake-modules kdoctools)
source=(https://download.kde.org/stable/$pkgname/$pkgname-$pkgver.tar.xz{,.sig}
0001-link-atomic.patch)
sha256sums=('SKIP'
sha256sums=('a45ce4927f2fe7f0a76f17da5ec7d4055e3fcc51e87fb43481891e1e58f97720'
'SKIP'
'414fd602932d4572eb564da71c8adde822dfcc96727693c266195580a04d9809')
validpgpkeys=(EE56D710885D36FB1E4D21F3F442B36D614B06BC) # Michael Reeves <reeves.87@gmail.com>
prepare() {
mkdir -p build
if [[ $CARCH == "armv6h" || $CARCH == "arm" ]]; then
cd $pkgname
cd $pkgname-$pkgver
patch -p1 -i ../0001-link-atomic.patch
fi
}
build() {
cd build
cmake ../$pkgname \
cmake ../$pkgname-$pkgver \
-DCMAKE_INSTALL_PREFIX=/usr
make
}