# maintainer abveritas[at]chakra-project[dot]org> pkgname=choqok pkgver=1.4 pkgrel=1 pkgdesc="A Twitter/identi.ca/laconica client for KDE" url="http://choqok.gnufolks.org/" license=('GPL') arch=('x86_64') depends=('kdebase-runtime' 'qjson' 'qoauth' 'qca-ossl') makedepends=('cmake' 'automoc4' 'docbook-xsl') optdepends=('kde-baseapps-konqueror: proxy support') categories=('communication') screenshot=('http://choqok.gnufolks.org/uploads/choqok.png') install=${pkgname}.install changelog=${pkgname}.changelog source=("http://sourceforge.net/projects/choqok/files/Choqok/${pkgname}-${pkgver}.tar.xz") sha256sums=('70c8cfab14a691514d12c9c75d7009f27e3c26364ccbd81a541fea0ab76a92b7') prepare() { cd ${pkgname}-${pkgver} # Install current changelog. install -Dm644 changelog "${startdir}/${pkgname}.changelog" } build() { mkdir -p build && cd build cmake ../${pkgname}-${pkgver} \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr make } package() { cd build make DESTDIR="${pkgdir}" install }