blob: 4f5bbc2ba784230ed3da5eca86d24b85a5052250 (
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=pidgin
pkgver=2.10.9
pkgrel=0
pkgdesc="graphical multi-protocol instant messaging client for X"
url="http://pidgin.im/"
arch="all"
license="GPL"
depends=
makedepends="gtk+-dev intltool libsm-dev startup-notification-dev gtkspell-dev
libxml2-dev gstreamer-dev libidn-dev dbus-glib-dev gnutls-dev
cyrus-sasl-dev ncurses-dev nss-dev farstream0.1-dev avahi-dev
autoconf automake libtool"
subpackages="$pkgname-dev $pkgname-doc finch libpurple $pkgname-lang"
source="http://downloads.sourceforge.net/pidgin/pidgin-$pkgver.tar.bz2
http://downloads.sourceforge.net/project/pidgin/Pidgin/$pkgver/pidgin-$pkgver.tar.bz2
pidgin-underlinking.patch
"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
update_config_sub || return 1
for i in $source; do
case "$i" in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
libtoolize || return 1
aclocal -I m4macros && autoconf && automake --add-missing || return 1
}
build() {
cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--enable-avahi \
--disable-doxygen \
--disable-gnutls \
--disable-meanwhile \
--disable-nm \
--disable-perl \
--disable-schemas-install \
--disable-screensaver \
--disable-tcl \
--enable-vv \
--enable-cyrus-sasl \
--enable-nss \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install
find "$pkgdir" -name '*.la' -delete
}
finch() {
pkgdesc="text-based multi-protocol instant messaging client"
mkdir -p "$subpkgdir"/usr/lib "$subpkgdir"/usr/bin
mv "$pkgdir"/usr/lib/gnt "$pkgdir"/usr/lib/libgnt.so.* \
"$pkgdir"/usr/lib/finch \
"$subpkgdir"/usr/lib/
mv "$pkgdir"/usr/bin/finch "$subpkgdir"/usr/bin/
}
libpurple() {
pkgdesc="multi-protocol instant messaging library"
mkdir -p "$subpkgdir"/usr/lib "$subpkgdir"/usr/share/sounds
mv "$pkgdir"/usr/lib/*purple* "$subpkgdir"/usr/lib/
mv "$pkgdir"/usr/share/purple "$pkgdir"/usr/share/sounds \
"$subpkgdir"/usr/share/
}
md5sums="10a4a69d077893f6dd3438cd8af94e81 pidgin-2.10.9.tar.bz2
10a4a69d077893f6dd3438cd8af94e81 pidgin-2.10.9.tar.bz2
9e7f42f8bc4284009dff50e8128bf4f9 pidgin-underlinking.patch"
sha256sums="dc362ed8577f623eea4554a79e917073aa726825074fea402f2e515f0f51f319 pidgin-2.10.9.tar.bz2
dc362ed8577f623eea4554a79e917073aa726825074fea402f2e515f0f51f319 pidgin-2.10.9.tar.bz2
3f086cb668806f3b69af4c7decd6618a16dbfdcd120df984713adafc5bc0aa09 pidgin-underlinking.patch"
sha512sums="5f85d072997bf0e8c668b5a7dc6c9791f7f1b03504eb7a875472186cc70b45e19c61573d84c002f9653570731ed2119e3eddfb66d7484cc1205d4b1ee696c63b pidgin-2.10.9.tar.bz2
5f85d072997bf0e8c668b5a7dc6c9791f7f1b03504eb7a875472186cc70b45e19c61573d84c002f9653570731ed2119e3eddfb66d7484cc1205d4b1ee696c63b pidgin-2.10.9.tar.bz2
307f284a7d1ad5277b8d198d8ee56806f063a8b72356726f89f31fad67aad3e3cd43c597556e7dce1804d2e8d92b350a968fcc851a11d851f70c7a375ab29559 pidgin-underlinking.patch"
|