mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-25 02:52:13 +08:00
28 lines
662 B
Bash
28 lines
662 B
Bash
# Apps packages for Chakra
|
|
|
|
pkgname=kdiff3
|
|
pkgver=0.9.98
|
|
pkgrel=1
|
|
pkgdesc="A KDE file comparator/merge tool"
|
|
arch=('x86_64')
|
|
url="http://kdiff3.sourceforge.net/"
|
|
license=('GPL')
|
|
depends=('kde-runtime')
|
|
makedepends=('cmake' 'automoc4' 'kde-baseapps' 'docbook-xml' 'docbook-xsl')
|
|
install=kdiff3.install
|
|
source=(http://downloads.sourceforge.net/sourceforge/kdiff3/${pkgname}-${pkgver}.tar.gz)
|
|
sha1sums=('1390b4ca9c58316de49cb0aabb433f14ebf2dc3f')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
|
|
mkdir build && cd build
|
|
cmake .. -DCMAKE_INSTALL_PREFIX=/usr
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}/build"
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|