Adding konversation

This commit is contained in:
Manuel Tortosa 2010-05-31 17:56:52 +00:00
parent 1ed1d36230
commit eb8cd95f80
2 changed files with 41 additions and 0 deletions

30
konversation/PKGBUILD Normal file
View File

@ -0,0 +1,30 @@
# Maintainer: Manuel Tortosa <manutortosa@gmail.com>
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
}

View File

@ -0,0 +1,11 @@
post_install() {
xdg-icon-resource forceupdate --theme hicolor &> /dev/null
}
post_upgrade() {
post_install
}
post_remove() {
post_install
}