desktop/libkomparediff2/PKGBUILD

33 lines
787 B
Bash
Raw Normal View History

# 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
pkgver=${_kdever}
2017-03-09 07:01:22 +08:00
pkgrel=2
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')
license=('GPL' 'LGPL' 'FDL')
depends=('kparts')
2015-05-31 20:56:09 +08:00
makedepends=('extra-cmake-modules' 'python3')
source=("${_mirror}/${pkgname}-${pkgver}.tar.xz"{,.sig})
sha256sums=(`grep ${pkgname}-$_kdever.tar.xz ../kdeapps.sums | cut -d " " -f1`
'SKIP')
validpgpkeys=(${Avalidpgpkeys})
2013-12-21 04:13:04 +08:00
prepare() {
mkdir -p build
2013-12-21 04:13:04 +08:00
}
build() {
cd build
cmake_kf5 ../${pkgname}-${pkgver}
make
2013-12-21 04:13:04 +08:00
}
package() {
cd build
2013-12-21 04:13:04 +08:00
make DESTDIR="${pkgdir}" install
}