From 415856bdd4f48ab4f2732996f0bae58595092bbe Mon Sep 17 00:00:00 2001 From: Parabola Date: Tue, 5 Apr 2011 14:26:38 +0000 Subject: Tue Apr 5 14:26:38 UTC 2011 --- community/choqok/PKGBUILD | 34 ++++++++++++++++++++++++++++++++++ community/choqok/choqok.install | 11 +++++++++++ 2 files changed, 45 insertions(+) create mode 100644 community/choqok/PKGBUILD create mode 100644 community/choqok/choqok.install (limited to 'community/choqok') diff --git a/community/choqok/PKGBUILD b/community/choqok/PKGBUILD new file mode 100644 index 000000000..272064aeb --- /dev/null +++ b/community/choqok/PKGBUILD @@ -0,0 +1,34 @@ +# $Id: PKGBUILD 38484 2011-01-27 17:01:24Z andrea $ +# Maintainer: Andrea Scarpino +# Contributor: Emanuele Rossi +# Contributor: Bram Schoenmakers + +pkgname=choqok +pkgver=1.0 +pkgrel=1 +pkgdesc="A Twitter/identi.ca/laconica client for KDE" +url="http://choqok.gnufolks.org/" +license=('GPL') +arch=('i686' 'x86_64') +depends=('kdebase-runtime' 'qjson' 'qoauth' 'qca-ossl') +makedepends=('cmake' 'automoc4' 'docbook-xsl') +optdepends=('kdebase-konqueror: proxy support') +install="${pkgname}.install" +source=("http://choqok.gnufolks.org/pkgs/${pkgname}-${pkgver}.tar.bz2") +md5sums=('536e05d26dd5cea43c6d8dc17c283104') + +build() { + cd ${srcdir} + mkdir build + cd build + cmake ../${pkgname}-${pkgver} \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DKWEBKITPART_LIBRARIES=/usr/lib/kde4/ + make +} + +package() { + cd ${srcdir}/build + make DESTDIR=${pkgdir} install +} diff --git a/community/choqok/choqok.install b/community/choqok/choqok.install new file mode 100644 index 000000000..e70c054ec --- /dev/null +++ b/community/choqok/choqok.install @@ -0,0 +1,11 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} -- cgit v1.2.3-54-g00ecf