summaryrefslogtreecommitdiff
path: root/community/choqok
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/choqok
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/choqok')
-rw-r--r--community/choqok/PKGBUILD34
-rw-r--r--community/choqok/choqok.install11
2 files changed, 45 insertions, 0 deletions
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 <andrea@archlinux.org>
+# Contributor: Emanuele Rossi <newdna1510@yahoo.it>
+# Contributor: Bram Schoenmakers <me@bramschoenmakers.nl>
+
+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
+}