desktop/kadu/PKGBUILD
2012-09-15 01:50:27 +00:00

33 lines
912 B
Bash

#
# Apps Packages for Chakra, part of chakra-project.org
#
# maintainer abveritas@chakra-project.org
pkgname=kadu
pkgver=0.12.3
pkgrel=1
pkgdesc="A Qt-based Gadu-Gadu client"
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')
conflicts=('kadu-svn')
screenshot=('http://www.kadu.im/wiki/images/thumb/2/24/Screen_mainpage_pl.png/450px-Screen_mainpage_pl.png')
install=$pkgname.install
source=(http://download.kadu.im/stable/$pkgname-$pkgver.tar.bz2)
md5sums=('c5d6f0bd384cd96090819ea018eb8ad8')
build() {
cd $srcdir/kadu-$pkgver
cmake . -DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
cd $srcdir/kadu-$pkgver
make DESTDIR=$pkgdir install
rm -rf $pkgdir/usr/{lib,include}/{libgadu*,pkgconfig}
rm -rf $pkgdir/usr/share/kadu/{HISTORY,README}
}