blob: 80148895a19f9ca78f7f3b63dd5624da53dce298 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
# Maintainer: Zhuoyun Wei <wzyboy@wzyboy.org>
# Contributor: Max Nemeth <max.nemeth@gmail.com>
# Contributor: Henri Häkkinen <henuxd@gmail.com>
pkgname=pidgin-mini
pkgver=2.14.13
pkgrel=1
pkgdesc="A minimal version of Pidgin for sane XMPP / IRC users"
arch=('i686' 'x86_64')
url="http://pidgin.im/"
license=('GPL')
depends=('gtk2' 'startup-notification' 'libxss' 'nss' 'hicolor-icon-theme')
makedepends=('ca-certificates' 'python')
provides=("pidgin" "libpurple")
conflicts=('pidgin' 'libpurple')
options=('!libtool')
install=pidgin.install
source=(https://downloads.sourceforge.net/pidgin/pidgin-${pkgver}.tar.bz2)
sha256sums=('120049dc8e17e09a2a7d256aff2191ff8491abb840c8c7eb319a161e2df16ba8')
build() {
cd "$srcdir/pidgin-$pkgver"
./configure --prefix=/usr --sysconfdir=/etc --disable-schemas-install \
--disable-meanwhile --disable-nm --disable-perl --disable-gnutls \
--disable-doxygen --disable-gtkspell --disable-gestures \
--disable-gevolution \
--disable-consoleui --disable-tk --disable-tcl --disable-avahi \
--disable-gstreamer --disable-farstream --disable-idn --disable-mono \
--disable-vv --disable-nls --with-dynamic-prpls=jabber,irc \
--with-system-ssl-certs=/etc/ssl/certs
make
}
package() {
cd "$srcdir/pidgin-$pkgver"
make DESTDIR="$pkgdir" install
sed -e 's/_//g' pidgin/data/pidgin.desktop.in > pidgin.desktop
install -Dm644 pidgin.desktop "$pkgdir"/usr/share/applications/pidgin.desktop
# Remove GConf schema file
rm -rf "$pkgdir/etc"
# Remove libpurple and pidgin development headers
#rm -rf "$pkgdir/usr/include"
# Remove pkgconfig scripts
#rm -rf "$pkgdir/usr/lib/pkgconfig"
# Remove libpurple aclocal macro file
#rm -rf "$pkgdir/usr/share/aclocal"
}
|