summaryrefslogtreecommitdiff
path: root/community-testing/kvirc
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-10-25 23:14:56 +0000
committerroot <root@rshg054.dnsready.net>2011-10-25 23:14:56 +0000
commitd03e905f54857600b3c36af9b221c34ccb11074f (patch)
tree6456a06bc5bed5a6083f02bb468392dc6ba6337e /community-testing/kvirc
parent0d7bab226067a44a9f1b978924e8201a3fa60764 (diff)
Tue Oct 25 23:14:56 UTC 2011
Diffstat (limited to 'community-testing/kvirc')
-rw-r--r--community-testing/kvirc/PKGBUILD24
-rw-r--r--community-testing/kvirc/kvirc.install13
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
+}