From d03e905f54857600b3c36af9b221c34ccb11074f Mon Sep 17 00:00:00 2001 From: root Date: Tue, 25 Oct 2011 23:14:56 +0000 Subject: Tue Oct 25 23:14:56 UTC 2011 --- community-testing/kvirc/PKGBUILD | 24 ++++++++++++++++++++++++ community-testing/kvirc/kvirc.install | 13 +++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 community-testing/kvirc/PKGBUILD create mode 100644 community-testing/kvirc/kvirc.install (limited to 'community-testing/kvirc') diff --git a/community-testing/kvirc/PKGBUILD b/community-testing/kvirc/PKGBUILD new file mode 100644 index 000000000..361089ccb --- /dev/null +++ b/community-testing/kvirc/PKGBUILD @@ -0,0 +1,24 @@ +# $Id: PKGBUILD 57235 2011-10-24 20:33:11Z andrea $ +# Maintainer: Sergej Pupykin +# Contributor: Sergej Pupykin + +pkgname=kvirc +pkgver=4.0.4 +pkgrel=4 +pkgdesc="Qt-based IRC client" +url="http://www.kvirc.net" +depends=('python2' 'qt' 'libxss' 'qtwebkit') +arch=(i686 x86_64) +makedepends=('cmake') +license=('GPL') +options=("!libtool") +install=kvirc.install +source=(ftp://ftp.kvirc.de/pub/kvirc/$pkgver/source/kvirc-$pkgver.tar.bz2) +md5sums=('26fd24979ae4a29bac9309b3b0c98788') + +build() { + cd $srcdir/kvirc-$pkgver + [ $NOEXTRACT -eq 1 ] || cmake -DWANT_KDE4=OFF -DWANT_PERL=ON -DWANT_PHONON=OFF -DCMAKE_INSTALL_PREFIX=/usr . + make + make DESTDIR=$pkgdir install +} diff --git a/community-testing/kvirc/kvirc.install b/community-testing/kvirc/kvirc.install new file mode 100644 index 000000000..8f76d007f --- /dev/null +++ b/community-testing/kvirc/kvirc.install @@ -0,0 +1,13 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &>/dev/null + true +} + +post_upgrade() { + post_install +} + +pre_remove() { + xdg-icon-resource forceupdate --theme hicolor &>/dev/null + true +} -- cgit v1.2.3-54-g00ecf