diff options
author | root <root@rshg054.dnsready.net> | 2011-12-18 23:14:50 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-12-18 23:14:50 +0000 |
commit | d8fd24a96ae712b2de3e9b05d937b135f41d016d (patch) | |
tree | d7720f7ed4640d7aff2d5c472aeabcfad87df24f /community-staging/kvirc | |
parent | 146025aa1c838c12fa7b4873414da73816bfb6bd (diff) |
Sun Dec 18 23:14:50 UTC 2011
Diffstat (limited to 'community-staging/kvirc')
-rw-r--r-- | community-staging/kvirc/PKGBUILD | 33 | ||||
-rw-r--r-- | community-staging/kvirc/kvirc.install | 13 |
2 files changed, 46 insertions, 0 deletions
diff --git a/community-staging/kvirc/PKGBUILD b/community-staging/kvirc/PKGBUILD new file mode 100644 index 000000000..bf4263529 --- /dev/null +++ b/community-staging/kvirc/PKGBUILD @@ -0,0 +1,33 @@ +# $Id: PKGBUILD 60754 2011-12-17 14:53:06Z spupykin $ +# Maintainer: 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/$pkgname-$pkgver.tar.bz2) +md5sums=('26fd24979ae4a29bac9309b3b0c98788') + +build() { + cd $srcdir + mkdir build + cd build + cmake ../${pkgname}-${pkgver} \ + -DWANT_KDE4=OFF \ + -DWANT_PERL=ON \ + -DWANT_PHONON=OFF \ + -DCMAKE_INSTALL_PREFIX=/usr + make +} + +package() { + cd ${srcdir}/build + make DESTDIR=$pkgdir install +} diff --git a/community-staging/kvirc/kvirc.install b/community-staging/kvirc/kvirc.install new file mode 100644 index 000000000..8f76d007f --- /dev/null +++ b/community-staging/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 +} |