summaryrefslogtreecommitdiff
path: root/community-testing/kvirc
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-06-01 22:46:45 +0000
committerroot <root@rshg047.dnsready.net>2011-06-01 22:46:45 +0000
commite7b9c9697e6a50c3b9e78941fa95ba11c716d238 (patch)
tree4df601d78b5a2009ebeea5f01afe1f6e2beb8ca4 /community-testing/kvirc
parent311d0420d77867bdb1066d38743e68e596a17ce5 (diff)
Wed Jun 1 22:46:45 UTC 2011
Diffstat (limited to 'community-testing/kvirc')
-rw-r--r--community-testing/kvirc/PKGBUILD25
-rw-r--r--community-testing/kvirc/kvirc.install13
2 files changed, 38 insertions, 0 deletions
diff --git a/community-testing/kvirc/PKGBUILD b/community-testing/kvirc/PKGBUILD
new file mode 100644
index 000000000..a53dbed2c
--- /dev/null
+++ b/community-testing/kvirc/PKGBUILD
@@ -0,0 +1,25 @@
+# $Id: PKGBUILD 47455 2011-05-23 15:33:39Z tdziedzic $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
+
+pkgname=kvirc
+pkgver=4.0.4
+pkgrel=2
+pkgdesc="Qt-based IRC client"
+url="http://www.kvirc.net"
+depends=('python2' 'esound' 'qt' 'libxss')
+optdepends=('esound: needed for snd plugin')
+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
+}