diff --git a/konversation/PKGBUILD b/konversation/PKGBUILD new file mode 100644 index 000000000..a8ea4ebb2 --- /dev/null +++ b/konversation/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: Manuel Tortosa + +pkgname=konversation +pkgver=1.2.3 +pkgrel=1 +pkgdesc="A user friendly IRC client for KDE" +arch=('i686' 'x86_64') +url="http://konversation.kde.org" +depends=('kdebase-runtime' 'kdepimlibs') +makedepends=('automoc4' 'cmake' 'pkgconfig') +license=('GPL2' 'FDL') +install=${pkgname}.install +source=(http://download.kde.org/stable/${pkgname}/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2) +md5sums=('3747187c392f46ee2337add514aec03a') + +build() { + cd ${srcdir} + mkdir build + cd build + cmake ../${pkgname}-${pkgver} \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_SKIP_RPATH=ON \ + -DCMAKE_INSTALL_PREFIX=/usr + make || return 1 +} + +package() { + cd ${srcdir}/build + make DESTDIR=${pkgdir} install || return 1 +} diff --git a/konversation/konversation.install b/konversation/konversation.install new file mode 100644 index 000000000..e70c054ec --- /dev/null +++ b/konversation/konversation.install @@ -0,0 +1,11 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +}