2018-10-21 18:27:06 +08:00
|
|
|
# Contributions from ArchLinux
|
2012-11-29 07:51:42 +08:00
|
|
|
|
|
|
|
pkgname=kdiff3
|
2014-10-01 00:43:38 +08:00
|
|
|
pkgver=0.9.98
|
2018-10-21 18:27:06 +08:00
|
|
|
pkgrel=3
|
|
|
|
_commit=1c8cde9367a57b9e8884f858ae28b3acb226b728
|
2012-11-29 07:51:42 +08:00
|
|
|
pkgdesc="A KDE file comparator/merge tool"
|
|
|
|
arch=('x86_64')
|
|
|
|
url="http://kdiff3.sourceforge.net/"
|
|
|
|
license=('GPL')
|
2018-10-21 18:27:06 +08:00
|
|
|
depends=(kparts hicolor-icon-theme)
|
|
|
|
makedepends=(extra-cmake-modules kdoctools git)
|
|
|
|
source=(git://git.kde.org/kdiff3#commit=$_commit)
|
|
|
|
sha256sums=('SKIP')
|
2012-11-29 07:51:42 +08:00
|
|
|
|
2018-10-21 18:27:06 +08:00
|
|
|
prepare() {
|
|
|
|
mkdir -p build
|
|
|
|
}
|
2012-11-29 07:51:42 +08:00
|
|
|
|
2018-10-21 18:27:06 +08:00
|
|
|
build() {
|
|
|
|
cd build
|
|
|
|
cmake ../$pkgname \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr
|
2012-11-29 07:51:42 +08:00
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2018-10-21 18:27:06 +08:00
|
|
|
cd build
|
|
|
|
make DESTDIR="$pkgdir" install
|
2012-11-29 07:51:42 +08:00
|
|
|
}
|