2015-04-06 03:49:36 +08:00
|
|
|
# Contributions from Arch: https://www.archlinux.org/packages/extra/x86_64/libkomparediff2/
|
|
|
|
# Include global configuration
|
|
|
|
source ../kdeapps.conf
|
2013-12-21 04:13:04 +08:00
|
|
|
|
|
|
|
pkgname=libkomparediff2
|
2014-03-10 21:38:58 +08:00
|
|
|
pkgver=${_kdever}
|
2014-03-04 23:12:44 +08:00
|
|
|
pkgrel=1
|
2013-12-21 04:13:04 +08:00
|
|
|
pkgdesc="Library to compare files and strings"
|
|
|
|
url='https://projects.kde.org/projects/kde/kdesdk/libkomparediff2'
|
2014-08-25 01:33:17 +08:00
|
|
|
arch=('x86_64')
|
2015-04-06 03:49:36 +08:00
|
|
|
license=('GPL' 'LGPL' 'FDL')
|
|
|
|
depends=('kparts')
|
|
|
|
makedepends=('extra-cmake-modules')
|
2014-03-26 20:37:59 +08:00
|
|
|
source=("${_mirror}/${pkgname}-${pkgver}.tar.xz")
|
2014-03-10 21:38:58 +08:00
|
|
|
sha256sums=(`grep ${pkgname}-$_kdever.tar.xz ../checksums.txt | cut -d" " -f1`)
|
2013-12-21 04:13:04 +08:00
|
|
|
|
|
|
|
prepare() {
|
2015-04-06 03:49:36 +08:00
|
|
|
mkdir -p build
|
2013-12-21 04:13:04 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
2015-04-06 03:49:36 +08:00
|
|
|
cd build
|
|
|
|
cmake_kf5 ../${pkgname}-${pkgver}
|
|
|
|
make
|
2013-12-21 04:13:04 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2014-03-10 21:38:58 +08:00
|
|
|
cd "${srcdir}/${pkgname}-${pkgver}/build"
|
2013-12-21 04:13:04 +08:00
|
|
|
make DESTDIR="${pkgdir}" install
|
|
|
|
}
|