desktop/kdiff3/PKGBUILD

28 lines
622 B
Bash
Raw Normal View History

2012-11-29 07:51:42 +08:00
# Apps packages for Chakra
pkgname=kdiff3
2014-10-01 00:43:38 +08:00
pkgver=0.9.98
2015-03-08 00:27:43 +08:00
pkgrel=2
2012-11-29 07:51:42 +08:00
pkgdesc="A KDE file comparator/merge tool"
arch=('x86_64')
url="http://kdiff3.sourceforge.net/"
license=('GPL')
depends=('kde-runtime')
2014-10-01 00:43:38 +08:00
makedepends=('cmake' 'automoc4' 'kde-baseapps' 'docbook-xml' 'docbook-xsl')
2012-11-29 07:51:42 +08:00
install=kdiff3.install
2015-03-08 00:27:43 +08:00
source=(http://downloads.sourceforge.net/sourceforge/kdiff3/$pkgname-$pkgver.tar.gz)
2014-10-01 00:43:38 +08:00
sha1sums=('1390b4ca9c58316de49cb0aabb433f14ebf2dc3f')
2012-11-29 07:51:42 +08:00
build() {
2015-03-08 00:27:43 +08:00
cd $pkgname-$pkgver
2012-11-29 07:51:42 +08:00
mkdir build && cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
2015-03-08 00:27:43 +08:00
cd $pkgname-$pkgver/build
make DESTDIR=$pkgdir install
2012-11-29 07:51:42 +08:00
}