summaryrefslogtreecommitdiff
path: root/pcr/spectrum/PKGBUILD
diff options
context:
space:
mode:
authorAndreas Grapentin <andreas@grapentin.org>2019-02-09 15:08:18 +0100
committerAndreas Grapentin <andreas@grapentin.org>2019-02-09 15:08:18 +0100
commit648d712adbf21b455889c473230e20e70780b051 (patch)
tree80753b68723a2b80a0af6c5f6fa098de0a3d0d09 /pcr/spectrum/PKGBUILD
parent9fe323608abcf4ddf3276a5e9855e8a45ea7b3be (diff)
downloadabslibre-648d712adbf21b455889c473230e20e70780b051.tar.gz
abslibre-648d712adbf21b455889c473230e20e70780b051.tar.bz2
abslibre-648d712adbf21b455889c473230e20e70780b051.zip
pcr/spectrum: unmaintained, unbuilt. removed
Diffstat (limited to 'pcr/spectrum/PKGBUILD')
-rw-r--r--pcr/spectrum/PKGBUILD81
1 files changed, 0 insertions, 81 deletions
diff --git a/pcr/spectrum/PKGBUILD b/pcr/spectrum/PKGBUILD
deleted file mode 100644
index a58992bc9..000000000
--- a/pcr/spectrum/PKGBUILD
+++ /dev/null
@@ -1,81 +0,0 @@
-# Maintainer (Arch): Clément Démoulins <clement@archivel.fr>
-# Contributor (Arch): Sonny Piers <sonny.piers@gmail.com>
-# Contributor (Arch): Tim Besard <tim.besard@gmail.com>
-# Contributor (Arch): miniature <miniature@archlinux.us>
-
-pkgname=spectrum
-pkgver=1.4.8
-pkgrel=4
-pkgdesc="XMPP libpurple transport/gateway."
-arch=('i686' 'x86_64')
-url="http://spectrum.im"
-license=('GPL')
-depends=('gloox' 'libpurple-minimal' 'poco' 'python2' libev)
-replaces=('spectrum-git')
-makedepends=('cmake' 'gettext')
-optdepends=('mysql: MySQL database backend support'
- 'postgresql-libs: PostgreSQL database backend support'
- 'sqlite3: SQLite database backend support'
- 'libevent: support for libevent'
- 'imagemagick: support for avatars synchronization with legacy networks'
-
- # Protocols plugins
- 'mbpurple-svn: microblogging services support like Twitter or identi.ca/StatusNet'
- 'msn-pecan: a different implementation of the MSN protocol for libpurple'
- 'pidgin-facebookchat: Facebook support, with more features than Facebook XMPP server'
- 'pidgin-sipe: SIPE protocol support'
-)
-backup=('etc/conf.d/spectrum')
-install='spectrum.install'
-
-source=('https://github.com/downloads/hanzz/libtransport/spectrum-1.4.8.tar.gz'
- 'logrotate.spectrum'
- 'gcc47.patch'
- 'spectrum@.service'
- 'spectrum.tmpfiles')
-md5sums=('edd88e1e70f86fe9aa4b43d787529a47'
- '4f9cbfe3878fe5f4137d1bb5acc9e850'
- '7a3de7e91d581b6c9119965ac34b9510'
- '8abfd4926fec074847c4d28465af22bb'
- '21dc715b3b2fb90c5349a12966277bc6')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- msg "Starting make..."
-
- sed -i -e 's/${PYTHON_EXECUTABLE}/python2/g' CMakeLists.txt
- patch -p1 < ../gcc47.patch
- cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr .
- make
-
- cd spectrumctl
- python2 setup.py build
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- # Various needed folders -- correct permissions are set in spectrum.install
- install -d "${pkgdir}/etc/spectrum"
- install -d "${pkgdir}/var/log/spectrum"
- install -d "${pkgdir}/var/lib/spectrum"
-
- # Install binaries and Python control script
- make DESTDIR="${pkgdir}" install
-
- cd spectrumctl
- python2 setup.py install --root="${pkgdir}"
-
- # Install initscript and logrotate config
- install -Dm755 "${srcdir}/${pkgname}-${pkgver}/initscripts/archlinux/spectrum-rc.d" "${pkgdir}/etc/rc.d/spectrum"
- install -Dm644 "${srcdir}/${pkgname}-${pkgver}/initscripts/archlinux/spectrum-conf.d" "${pkgdir}/etc/conf.d/spectrum"
- install -Dm644 "${srcdir}/logrotate.spectrum" "${pkgdir}/etc/logrotate.d/spectrum"
-
- # Install systemd related files
- install -Dm644 "${srcdir}/spectrum@.service" "${pkgdir}/usr/lib/systemd/system/spectrum@.service"
- install -Dm644 "${srcdir}/spectrum.tmpfiles" "${pkgdir}/usr/lib/tmpfiles.d/spectrum.conf"
-
- # Patch to use python2
- sed -i -e "s|#!/usr/bin/env python|#!/usr/bin/env python2|" "${pkgdir}/usr/bin/spectrumctl"
-}