desktop/kadu/PKGBUILD

36 lines
994 B
Bash
Raw Normal View History

2010-07-22 04:27:58 +08:00
#
2011-04-15 14:16:53 +08:00
# Apps Packages for Chakra, part of chakra-project.org
2010-07-22 04:27:58 +08:00
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=kadu
2011-05-09 05:16:03 +08:00
pkgver=0.9.2
2011-04-15 14:16:53 +08:00
pkgrel=1
pkgdesc="A Qt-based Jabber/XMPP and Gadu-Gadu client"
2010-07-22 04:27:58 +08:00
arch=('i686' 'x86_64')
url="http://www.kadu.net/"
license=('GPL')
2011-04-15 14:16:53 +08:00
depends=('libgadu' 'libxss' 'aspell' 'phonon' 'qca-ossl' 'libidn')
makedepends=('cmake' 'libao' 'libsndfile' 'libxtst' 'curl')
2010-07-22 04:27:58 +08:00
conflicts=('kadu-svn')
install=$pkgname.install
2011-04-15 14:16:53 +08:00
source=(http://www.kadu.net/download/stable/$pkgname-$pkgver.tar.bz2)
2011-05-09 05:16:03 +08:00
md5sums=('e23d39a2233a0585febe5a8ab50274dc')
2010-07-22 04:27:58 +08:00
build() {
2011-04-15 14:16:53 +08:00
cd $srcdir/kadu-$pkgver
2010-07-22 04:27:58 +08:00
cmake . -DCMAKE_INSTALL_PREFIX=/usr
2011-04-15 14:16:53 +08:00
make
}
2010-07-22 04:27:58 +08:00
2011-04-15 14:16:53 +08:00
package() {
cd $srcdir/kadu-$pkgver
make DESTDIR=$pkgdir install
2010-07-22 04:27:58 +08:00
rm -rf $pkgdir/usr/{lib,include}/{libgadu*,pkgconfig}
rm -rf $pkgdir/usr/share/kadu/{HISTORY,README}
}