summaryrefslogtreecommitdiff
path: root/nonprism/choqok-nonprism
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-01-28 03:27:16 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-01-28 03:27:16 +0000
commit462391357aa5e749dc9908c15f3baa0b4416f3d8 (patch)
tree11d4d3f054aae9ffd869adc634054f64a16d83b8 /nonprism/choqok-nonprism
parent748e32a3a886569b58a27003e85b76be5746153d (diff)
Tue Jan 28 03:22:21 UTC 2014
Diffstat (limited to 'nonprism/choqok-nonprism')
-rw-r--r--nonprism/choqok-nonprism/PKGBUILD58
-rw-r--r--nonprism/choqok-nonprism/choqok.install11
2 files changed, 0 insertions, 69 deletions
diff --git a/nonprism/choqok-nonprism/PKGBUILD b/nonprism/choqok-nonprism/PKGBUILD
deleted file mode 100644
index cf5c374b0..000000000
--- a/nonprism/choqok-nonprism/PKGBUILD
+++ /dev/null
@@ -1,58 +0,0 @@
-# $Id: PKGBUILD 96779 2013-09-04 22:09:55Z andrea $
-# Maintainer: Peter Richard Lewis <plewis@aur.archlinux.org>
-# Contributor: Andrea Scarpino <andrea@archlinux.org>
-# Contributor: Emanuele Rossi <newdna1510@yahoo.it>
-# Contributor: Bram Schoenmakers <me@bramschoenmakers.nl>
-# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com>
-
-_pkgname=choqok
-pkgname=choqok-nonprism
-pkgver=1.4
-pkgrel=1
-pkgdesc="A status.net client for KDE, without Twitter support"
-url='http://choqok.gnufolks.org/'
-license=('GPL')
-arch=('i686' 'x86_64' 'mips64el')
-optdepends=('kdebase-konqueror-libre: proxy support')
-provides=("$_pkgname=$pkgver")
-conflicts=$_pkgname
-depends=('kdebase-runtime' 'qjson' 'qoauth' 'qca-ossl')
-makedepends=('cmake' 'automoc4')
-optdepends=('kdebase-konqueror-libre: proxy support')
-install="${_pkgname}.install"
-source=("http://downloads.sourceforge.net/${_pkgname}/${_pkgname}-${pkgver}.tar.xz")
-md5sums=('2efe34ed903b448a21d9233d8033dbdb')
-
-prepare() {
- mkdir build
-
- cd "${srcdir}/${_pkgname}-${pkgver}"
-
- # remove twitter service and keep only twitterapi (choqok software) for status.net and open collaboration services
- sed -i '\|add_subdirectory(twitter)|d' microblogs/CMakeLists.txt
- sed -i 's|twitter[.]com|status.net|' microblogs/laconica/laconicamicroblog.cpp
- sed -i 's|twitter[.]com|status.net|' microblogs/laconica/laconicasearch.cpp
-
- # remove uploaders plugin (with only nonprivacy services)
- sed -i '\|add_subdirectory(uploaders)|d' plugins/CMakeLists.txt
- sed -i 's|Comment||' plugins/searchaction/choqok_searchaction.desktop
-
- # remove twitter on docbook
- sed -i 's| and Twitter.com||
- s| and another with the alias|.</para>|
- s|while a post using Twitter is called a tweet||
- \|Twitter|d;\|twitter|d' doc/index.docbook
-}
-
-build() {
- cd build
- cmake ../${_pkgname}-${pkgver} \
- -DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_INSTALL_PREFIX=/usr
- make
-}
-
-package() {
- cd build
- make DESTDIR="${pkgdir}" install
-}
diff --git a/nonprism/choqok-nonprism/choqok.install b/nonprism/choqok-nonprism/choqok.install
deleted file mode 100644
index e70c054ec..000000000
--- a/nonprism/choqok-nonprism/choqok.install
+++ /dev/null
@@ -1,11 +0,0 @@
-post_install() {
- xdg-icon-resource forceupdate --theme hicolor &> /dev/null
-}
-
-post_upgrade() {
- post_install
-}
-
-post_remove() {
- post_install
-}