mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
31 lines
561 B
Bash
31 lines
561 B
Bash
# Contributions from ArchLinux
|
|
|
|
pkgname=kdiff3
|
|
pkgver=0.9.98
|
|
pkgrel=3
|
|
_commit=1c8cde9367a57b9e8884f858ae28b3acb226b728
|
|
pkgdesc="A KDE file comparator/merge tool"
|
|
arch=('x86_64')
|
|
url="http://kdiff3.sourceforge.net/"
|
|
license=('GPL')
|
|
depends=(kparts hicolor-icon-theme)
|
|
makedepends=(extra-cmake-modules kdoctools git)
|
|
source=(git://git.kde.org/kdiff3#commit=$_commit)
|
|
sha256sums=('SKIP')
|
|
|
|
prepare() {
|
|
mkdir -p build
|
|
}
|
|
|
|
build() {
|
|
cd build
|
|
cmake ../$pkgname \
|
|
-DCMAKE_INSTALL_PREFIX=/usr
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd build
|
|
make DESTDIR="$pkgdir" install
|
|
}
|