diff options
Diffstat (limited to 'community-testing/kvirc')
-rw-r--r-- | community-testing/kvirc/PKGBUILD | 24 | ||||
-rw-r--r-- | community-testing/kvirc/kvirc.install | 13 |
2 files changed, 37 insertions, 0 deletions
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 <pupykin.s+arch@gmail.com> +# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com> + +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 +} |