desktop/libkomparediff2/PKGBUILD

31 lines
707 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}
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')
license=('GPL' 'LGPL' 'FDL')
depends=('kparts')
makedepends=('extra-cmake-modules')
2014-03-26 20:37:59 +08:00
source=("${_mirror}/${pkgname}-${pkgver}.tar.xz")
sha256sums=(`grep ${pkgname}-$_kdever.tar.xz ../checksums.txt | cut -d" " -f1`)
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
}