desktop/kadu/PKGBUILD

33 lines
924 B
Bash
Raw Normal View History

2010-07-22 04:27:58 +08:00
#
# Apps SC Packages for Chakra, part of chakra-project.org
2010-07-22 04:27:58 +08:00
#
# maintainer abveritas@chakra-project.org
2010-07-22 04:27:58 +08:00
pkgname=kadu
pkgver=0.11.3
2011-04-15 14:16:53 +08:00
pkgrel=1
pkgdesc="A Qt-based Gadu-Gadu client"
2010-07-22 04:27:58 +08:00
arch=('i686' 'x86_64')
url="http://www.kadu.net/"
license=('GPL')
depends=('libgadu' 'aspell' 'phonon' 'libxss' 'qca-ossl' 'libidn')
makedepends=('cmake' 'libao' 'libsndfile' 'libxtst' 'curl' 'libmpdclient')
2010-07-22 04:27:58 +08:00
conflicts=('kadu-svn')
screenshot=('http://www.kadu.im/wiki/images/thumb/2/24/Screen_mainpage_pl.png/450px-Screen_mainpage_pl.png')
2010-07-22 04:27:58 +08:00
install=$pkgname.install
source=(http://download.kadu.im/stable/$pkgname-$pkgver.tar.bz2)
sha1sums=('224f44a88ecafe3abab60d719f914b6efa0f6ec9')
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}
}