diff options
-rw-r--r-- | libre/claws-mail-libre/PKGBUILD | 6 | ||||
-rw-r--r-- | nonprism/choqok-nonprism/PKGBUILD | 61 | ||||
-rw-r--r-- | nonprism/choqok-nonprism/choqok.install | 11 | ||||
-rw-r--r-- | nonprism/claws-mail-libre-nonprism/PKGBUILD | 8 | ||||
-rw-r--r-- | nonprism/claws-mail-libre-nonprism/claws-mail.install | 16 |
5 files changed, 95 insertions, 7 deletions
diff --git a/libre/claws-mail-libre/PKGBUILD b/libre/claws-mail-libre/PKGBUILD index 5ee1fec05..723f4c5d2 100644 --- a/libre/claws-mail-libre/PKGBUILD +++ b/libre/claws-mail-libre/PKGBUILD @@ -4,14 +4,14 @@ _pkgname=claws-mail pkgname=$_pkgname-libre -pkgver=3.9.1 +pkgver=3.9.2 pkgrel=3 pkgdesc='A GTK+ based e-mail client, without nonfree PalmOS handheld devices support' arch=('i686' 'x86_64' 'mips64el') license=('GPL3') url="http://www.$_pkgname.org" depends=('gtk2' 'gnutls' 'startup-notification' 'enchant' - 'gpgme' 'libetpan>=1.1' 'libsm' 'db' 'dbus-glib' 'hicolor-icon-theme' 'desktop-file-utils') + 'gpgme' 'libetpan>=1.1-4' 'libsm' 'dbus-glib' 'hicolor-icon-theme' 'desktop-file-utils') makedepends=('compface' 'spamassassin' 'bogofilter' 'valgrind' # dependencies for plugins 'libsoup' 'libgdata' 'webkitgtk2' 'libnotify' 'libcanberra' 'poppler-glib' 'pygtk') @@ -38,7 +38,7 @@ provides=("$_pkgname=$pkgver" 'claws') options=(!libtool) install=$_pkgname.install source=(http://downloads.sourceforge.net/sourceforge/sylpheed-claws/$_pkgname-$pkgver.tar.bz2{,.asc}) -md5sums=('8adc734912ff1b83545cb12850100473' +md5sums=('90de2a265e65fbd9dffdbf428bb0ee28' 'SKIP') build() { diff --git a/nonprism/choqok-nonprism/PKGBUILD b/nonprism/choqok-nonprism/PKGBUILD new file mode 100644 index 000000000..9d9e17e21 --- /dev/null +++ b/nonprism/choqok-nonprism/PKGBUILD @@ -0,0 +1,61 @@ +# $Id$ +# 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.3 +pkgrel=4.1 +pkgdesc="A status.net client for KDE, without nonfree Twitter" +url='http://choqok.gnufolks.org/' +license=('GPL') +arch=('i686' 'x86_64' 'mips64el') +depends=('kdebase-runtime' 'qjson' 'qoauth' 'qca-ossl') +makedepends=('cmake' 'automoc4') +optdepends=('kdebase-konqueror-libre: proxy support') +provides=("$_pkgname=$pkgver") +conflicts=$_pkgname +replaces=$_pkgname +install="${_pkgname}.install" +source=("http://downloads.sourceforge.net/${_pkgname}/${_pkgname}-${pkgver}.tar.bz2") +md5sums=('87eea4f2c23467fb021e3e6b794eb37d') + +prepare() { + 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 "${srcdir}" + mkdir build + cd build + cmake ../${_pkgname}-${pkgver} \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr + make +} + +package() { + cd "${srcdir}"/build + make DESTDIR="${pkgdir}" install + + # This is already installed by kdepimlibs >= 4.9.80 + rm "${pkgdir}"/usr/share/apps/cmake/modules/FindQtOAuth.cmake +} diff --git a/nonprism/choqok-nonprism/choqok.install b/nonprism/choqok-nonprism/choqok.install new file mode 100644 index 000000000..e70c054ec --- /dev/null +++ b/nonprism/choqok-nonprism/choqok.install @@ -0,0 +1,11 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} diff --git a/nonprism/claws-mail-libre-nonprism/PKGBUILD b/nonprism/claws-mail-libre-nonprism/PKGBUILD index 871526a56..035fa40bd 100644 --- a/nonprism/claws-mail-libre-nonprism/PKGBUILD +++ b/nonprism/claws-mail-libre-nonprism/PKGBUILD @@ -4,14 +4,14 @@ _pkgname=claws-mail pkgname=$_pkgname-libre-nonprism -pkgver=3.9.1 -pkgrel=3.1 +pkgver=3.9.2 +pkgrel=3 pkgdesc='A GTK+ based e-mail client, without nonfree PalmOS handheld devices and libgdata support' arch=('i686' 'x86_64' 'mips64el') license=('GPL3') url="http://www.$_pkgname.org" depends=('gtk2' 'gnutls' 'startup-notification' 'enchant' - 'gpgme' 'libetpan>=1.1' 'libsm' 'db' 'dbus-glib' 'hicolor-icon-theme' 'desktop-file-utils') + 'gpgme' 'libetpan>=1.1-4' 'libsm' 'dbus-glib' 'hicolor-icon-theme' 'desktop-file-utils') makedepends=('compface' 'spamassassin' 'bogofilter' 'valgrind' # dependencies for plugins 'libsoup' 'webkitgtk2' 'libnotify' 'libcanberra' 'poppler-glib' 'pygtk') @@ -37,7 +37,7 @@ provides=("$_pkgname=$pkgver" 'claws') options=(!libtool) install=$_pkgname.install source=(http://downloads.sourceforge.net/sourceforge/sylpheed-claws/$_pkgname-$pkgver.tar.bz2{,.asc}) -md5sums=('8adc734912ff1b83545cb12850100473' +md5sums=('90de2a265e65fbd9dffdbf428bb0ee28' 'SKIP') build() { diff --git a/nonprism/claws-mail-libre-nonprism/claws-mail.install b/nonprism/claws-mail-libre-nonprism/claws-mail.install new file mode 100644 index 000000000..4d2f155d4 --- /dev/null +++ b/nonprism/claws-mail-libre-nonprism/claws-mail.install @@ -0,0 +1,16 @@ +post_install() { + echo "install \"html2ps\" from AUR to add support for printing html mails with fancy plugin" + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor + update-desktop-database -q +} + +post_upgrade() { + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor + update-desktop-database -q +} + +post_remove() { + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor + update-desktop-database -q +} + |