desktop/kadu/PKGBUILD

36 lines
1001 B
Bash
Raw Normal View History

2010-07-22 04:27:58 +08:00
#
2011-09-08 04:11:34 +08:00
# Apps SC 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
2012-02-06 13:34:16 +08:00
pkgver=0.11.0
2010-07-22 04:27:58 +08:00
pkgrel=1
pkgdesc="A Qt-based Gadu-Gadu client"
arch=('i686' 'x86_64')
url="http://www.kadu.net/"
license=('GPL')
2011-09-08 04:11:34 +08:00
depends=('libgadu' 'aspell' 'phonon' 'libxss' 'qca-ossl' 'libidn')
2012-02-06 13:34:16 +08:00
makedepends=('cmake' 'libao' 'libsndfile' 'libxtst' 'curl' 'libmpdclient')
2010-07-22 04:27:58 +08:00
conflicts=('kadu-svn')
install=$pkgname.install
2011-09-08 04:11:34 +08:00
source=(http://download.kadu.im/stable/$pkgname-$pkgver.tar.bz2)
2012-02-06 13:34:16 +08:00
sha1sums=('2e42cc0dc4a0fef0c352059a72fa753daa24f138')
2010-07-22 04:27:58 +08:00
build() {
2011-09-08 04:11:34 +08:00
cd $srcdir/kadu-$pkgver
2010-07-22 04:27:58 +08:00
cmake . -DCMAKE_INSTALL_PREFIX=/usr
2011-09-08 04:11:34 +08:00
make
}
2010-07-22 04:27:58 +08:00
2011-09-08 04:11:34 +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}
}