diff options
Diffstat (limited to 'nonprism/choqok/PKGBUILD')
-rw-r--r-- | nonprism/choqok/PKGBUILD | 45 |
1 files changed, 18 insertions, 27 deletions
diff --git a/nonprism/choqok/PKGBUILD b/nonprism/choqok/PKGBUILD index 51c712329..a294609af 100644 --- a/nonprism/choqok/PKGBUILD +++ b/nonprism/choqok/PKGBUILD @@ -1,52 +1,43 @@ -# $Id: PKGBUILD 174227 2016-05-07 18:29:37Z arojas $ -# Maintainer (Arch): Peter Richard Lewis <plewis@aur.archlinux.org> +# $Id: PKGBUILD 197385 2016-11-29 12:58:20Z arojas $ +# Contributor (Arch): Peter Richard Lewis <plewis@aur.archlinux.org> # Contributor (Arch): Andrea Scarpino <andrea@archlinux.org> # Contributor (Arch): Emanuele Rossi <newdna1510@yahoo.it> # Contributor (Arch): Bram Schoenmakers <me@bramschoenmakers.nl> # Maintainer: Márcio Silva <coadde@parabola.nu> pkgname=choqok -pkgver=1.5 -pkgrel=5.nonprism1 +pkgver=1.6.0 +pkgrel=1.nonprism1 pkgdesc="A Pump.io/GNU social client for KDE, without Twitter support" url='http://choqok.gnufolks.org/' license=('GPL') arch=('i686' 'x86_64') conflicts=(${pkgname}-nonprism) replaces=(${pkgname}-nonprism) -depends=('kdebase-runtime' 'qjson' 'qoauth') -makedepends=('cmake' 'automoc4' 'telepathy-qt') -optdepends=('kdebase-konqueror: proxy support' - 'telepathy-qt: IMstatus plugin') -source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.xz") -md5sums=('f2efdd76199f8276e8ac2f76dc600596') +depends=('qoauth' 'knotifyconfig' 'kcmutils' 'kemoticons' 'kdewebkit' 'hicolor-icon-theme') +makedepends=('extra-cmake-modules' 'telepathy-qt' 'kdoctools' 'python') +optdepends=('telepathy-qt: IMstatus plugin') +source=("http://download.kde.org/stable/${pkgname}/${pkgver%.*}/src/${pkgname}-${pkgver}.tar.xz"{,.sig} + 'nonprism.patch') +md5sums=('f61ff13a748a78bb01433c5419c7cc13' + 'SKIP' + 'f68bf572317277170b397347b928493f') +validpgpkeys=('2C7849767F14C23890B12791918F7DDFFD8D0B6E') # Andrea Scarpino <me@andreascarpino.it> prepare() { - mkdir build + mkdir -p build cd "${srcdir}/${pkgname}-${pkgver}" - - # remove twitter service and keep only twitterapi (choqok software) for Pump.io, GNU social and libre 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 nonprivacy services only) - 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 + patch -p1 -i ../nonprism.patch } build() { cd build cmake ../${pkgname}-${pkgver} \ -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_INSTALL_PREFIX=/usr + -DCMAKE_INSTALL_PREFIX=/usr \ + -DKDE_INSTALL_LIBDIR=lib \ + -DBUILD_TESTING=OFF make } |