summaryrefslogtreecommitdiff
path: root/nonprism/pidgin-nonprism/PKGBUILD
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-09-04 01:57:36 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-09-04 01:57:36 -0300
commit0be822175bb3cef0534b9a0597e84ae1ee6374ec (patch)
treec9a4fb91c61309280fd8201c7cb52789ce02a7c6 /nonprism/pidgin-nonprism/PKGBUILD
parent468e115b1432c745ce9ccf06d2fcca6b3cfb7227 (diff)
remove nonprism suffix and add complex pkgrel on nonprism packages
Diffstat (limited to 'nonprism/pidgin-nonprism/PKGBUILD')
-rw-r--r--nonprism/pidgin-nonprism/PKGBUILD137
1 files changed, 0 insertions, 137 deletions
diff --git a/nonprism/pidgin-nonprism/PKGBUILD b/nonprism/pidgin-nonprism/PKGBUILD
deleted file mode 100644
index d6ae8811d..000000000
--- a/nonprism/pidgin-nonprism/PKGBUILD
+++ /dev/null
@@ -1,137 +0,0 @@
-# $Id: PKGBUILD 213831 2014-05-29 19:02:38Z foutrelis $
-# Maintainer (Arch): Evangelos Foutras <evangelos@foutrelis.com>
-# Contributor (Arch): Ionut Biru <ibiru@archlinux.org>
-# Contributor (Arch): Andrea Scarpino <andrea@archlinux.org>
-# Contributor (Arch): Alexander Fehr <pizzapunk gmail com>
-# Contributor (Arch): Lucien Immink <l.immink@student.fnt.hvu.nl>
-
-_pkgname=pidgin
-pkgname=('pidgin-nonprism' 'libpurple-nonprism' 'finch-nonprism')
-pkgver=2.10.9
-pkgrel=2
-arch=('i686' 'x86_64' 'mips64el')
-url="http://pidgin.im/"
-license=('GPL')
-makedepends=('startup-notification' 'gtkspell' 'libxss' 'nss' 'libsasl' 'libsm'
- 'libidn' 'python2' 'hicolor-icon-theme' 'farstream-0.1' 'avahi'
- 'tk' 'ca-certificates' 'intltool' 'networkmanager')
-source=(https://downloads.sourceforge.net/project/$_pkgname/Pidgin/$pkgver/$_pkgname-$pkgver.tar.bz2{,.asc}
- nonprism.patch)
-sha256sums=('dc362ed8577f623eea4554a79e917073aa726825074fea402f2e515f0f51f319'
- 'SKIP'
- 'f7acfb852cdecfed16e8b116546b643cad1c44d28b56f28ff5485f92af68e9e2')
-
-prepare() {
- cd "$srcdir/$_pkgname-$pkgver"
-
- msg 'remove Google Talk and Facebook protocols'
- patch -Np1 -i "$srcdir/nonprism.patch"
- msg 'remove wrong OS term'
- sed -i 's|on Linux|on GNU/Linux|' libpurple/valgrind.h
- sed -i 's|On Linux|On GNU/Linux|' libpurple/connection.h
-
- # Use Python 2
- sed -i 's/env python$/&2/' */plugins/*.py \
- libpurple/purple-{remote,notifications-example,url-handler}
-}
-
-build() {
- cd "$srcdir/$_pkgname-$pkgver"
-
- ./configure \
- --prefix=/usr \
- --sysconfdir=/etc \
- --disable-schemas-install \
- --disable-meanwhile \
- --disable-gnutls \
- --enable-cyrus-sasl \
- --disable-doxygen \
- --enable-nm \
- --with-python=/usr/bin/python2 \
- --with-system-ssl-certs=/etc/ssl/certs \
- --with-dynamic-prpls=bonjour,irc,jabber,silc,simple,zephyr
- make
-}
-
-package_pidgin-nonprism(){
- pkgdesc="Multi-protocol instant messaging client, without support for unsafe and dangerous for privacy protocols"
- depends=('libpurple' 'startup-notification' 'gtkspell' 'libxss' 'libsm'
- 'hicolor-icon-theme')
- optdepends=('aspell: for spelling correction')
- provides=("$_pkgname=$pkgver")
- conflicts=$_pkgname
- replaces=$_pkgname
- install=pidgin.install
-
- cd "$srcdir/pidgin-$pkgver"
-
- # For linking
- make -C libpurple DESTDIR="$pkgdir" install-libLTLIBRARIES
-
- make -C pidgin DESTDIR="$pkgdir" install
- make -C doc DESTDIR="$pkgdir" install
-
- # Remove files that are packaged in libpurle
- make -C libpurple DESTDIR="$pkgdir" uninstall-libLTLIBRARIES
-
- install -Dm644 pidgin.desktop "$pkgdir"/usr/share/applications/pidgin.desktop
-
- rm "$pkgdir/usr/share/man/man1/finch.1"
-
- msg "Removing PRISM images"
- rm -v "$pkgdir"/usr/share/pixmaps/pidgin/emblems/{16/aol-client.png,scalable/aol-client.svg}
- rm -v "$pkgdir"/usr/share/pixmaps/pidgin/emotes/default/msn{,-away,-busy,_online}.png
- rm -v "$pkgdir"/usr/share/pixmaps/pidgin/protocols/{16,22}/google-talk.png
- rm -v "$pkgdir"/usr/share/pixmaps/pidgin/protocols/{16,22,48}/{aim,facebook,gadu-gadu,icq,meanwhile,msn,mxit,myspace,novell,yahoo}.png
- rm -v "$pkgdir"/usr/share/pixmaps/pidgin/protocols/scalable/{aim,gadu-gadu,google-talk,icq,meanwhile,msn,mxit,novell,yahoo}.svg
-
- msg "patch pidgin desktop"
- sed -i "\|Comment\[|d
- s|Supports AIM, Google Talk, Jabber/XMPP, MSN, Yahoo and more|Supports Jabber/XMPP and more|
- " "$pkgdir"/usr/share/applications/pidgin.desktop
-}
-
-package_libpurple-nonprism(){
- pkgdesc="IM library extracted from Pidgin, without support for unsafe and dangerous for privacy protocols"
- depends=('farstream-0.1' 'libsasl' 'libidn' 'dbus-glib' 'nss')
- optdepends=('avahi: Bonjour protocol support'
- 'ca-certificates: SSL CA certificates'
- 'python2-dbus: for purple-remote and purple-url-handler'
- 'tk: Tcl/Tk scripting support')
- provides=("${pkgname%-nonprism}=$pkgver")
- conflicts=${pkgname%-nonprism}
- replaces=${pkgname%-nonprism}
-
- cd "$srcdir/pidgin-$pkgver"
-
- for _dir in libpurple share/sounds share/ca-certs m4macros po; do
- make -C "$_dir" DESTDIR="$pkgdir" install
- done
-
- # Remove GConf schema file
- rm "$pkgdir/etc/gconf/schemas/purple.schemas"
- rmdir "$pkgdir"/etc{/gconf{/schemas,},}
-}
-
-package_finch-nonprism(){
- pkgdesc="A ncurses-based messaging client, without support for unsafe and dangerous for privacy protocols"
- depends=("libpurple=$pkgver-$pkgrel" 'libx11' 'python2')
- provides=("${pkgname%-nonprism}=$pkgver")
- conflicts=${pkgname%-nonprism}
- replaces=${pkgname%-nonprism}
-
- cd "$srcdir/pidgin-$pkgver"
-
- # For linking
- make -C libpurple DESTDIR="$pkgdir" install-libLTLIBRARIES
-
- make -C finch DESTDIR="$pkgdir" install
- make -C doc DESTDIR="$pkgdir" install
-
- # Remove files that are packaged in libpurle
- make -C libpurple DESTDIR="$pkgdir" uninstall-libLTLIBRARIES
-
- rm "$pkgdir"/usr/share/man/man1/pidgin.1
-}
-
-# vim:set ts=2 sw=2 et: