diff options
Diffstat (limited to 'extra/kdesdk-kompare')
-rw-r--r-- | extra/kdesdk-kompare/PKGBUILD | 31 | ||||
-rw-r--r-- | extra/kdesdk-kompare/kdesdk-kompare.install | 12 |
2 files changed, 43 insertions, 0 deletions
diff --git a/extra/kdesdk-kompare/PKGBUILD b/extra/kdesdk-kompare/PKGBUILD new file mode 100644 index 000000000..ebb9025dc --- /dev/null +++ b/extra/kdesdk-kompare/PKGBUILD @@ -0,0 +1,31 @@ +# $Id$ +# Maintainer: Andrea Scarpino <andrea@archlinux.org> + +pkgname=kdesdk-kompare +pkgver=4.11.0 +pkgrel=1 +pkgdesc='Diff/Patch Frontend' +url='http://kde.org/applications/development/kompare/' +arch=('i686' 'x86_64') +license=('GPL' 'LGPL' 'FDL') +groups=('kde' 'kdesdk') +depends=('kdebase-runtime') +makedepends=('cmake' 'automoc4') +install=${pkgname}.install +source=("http://download.kde.org/stable/${pkgver}/src/kompare-${pkgver}.tar.xz") +sha1sums=('6a9f483bfbbdf7df1d1178400c67435cfdb103bb') + +build() { + mkdir build + cd build + cmake ../kompare-${pkgver} \ + -DCMAKE_BUILD_TYPE=Release \ + -DKDE4_BUILD_TESTS=OFF \ + -DCMAKE_INSTALL_PREFIX=/usr + make +} + +package() { + cd build + make DESTDIR=$pkgdir install +} diff --git a/extra/kdesdk-kompare/kdesdk-kompare.install b/extra/kdesdk-kompare/kdesdk-kompare.install new file mode 100644 index 000000000..5495fb1b5 --- /dev/null +++ b/extra/kdesdk-kompare/kdesdk-kompare.install @@ -0,0 +1,12 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} |