summaryrefslogtreecommitdiffstats
path: root/main/pidgin/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-05-29 16:31:11 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-05-29 16:31:11 +0000
commite26ad95a03e076ef2003647120b584f47313ca00 (patch)
treeaff5bfa6ae8d0089356638b6a79bd1a1ee28dbcb /main/pidgin/APKBUILD
parent9c0e50a29937432e6158b0ed64a54afff292cc7f (diff)
downloadaports-e26ad95a03e076ef2003647120b584f47313ca00.tar.bz2
aports-e26ad95a03e076ef2003647120b584f47313ca00.tar.xz
main/pidgin: moved form testing
Diffstat (limited to 'main/pidgin/APKBUILD')
-rw-r--r--main/pidgin/APKBUILD64
1 files changed, 64 insertions, 0 deletions
diff --git a/main/pidgin/APKBUILD b/main/pidgin/APKBUILD
new file mode 100644
index 000000000..bff483fc0
--- /dev/null
+++ b/main/pidgin/APKBUILD
@@ -0,0 +1,64 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=pidgin
+pkgver=2.7.0
+pkgrel=1
+pkgdesc="graphical multi-protocol instant messaging client for X"
+url="http://pidgin.im/"
+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"
+subpackages="$pkgname-dev $pkgname-doc finch libpurple"
+source="http://downloads.sourceforge.net/pidgin/$pkgver/pidgin-$pkgver.tar.bz2
+ msn_fix.patch"
+
+_builddir="$srcdir"/$pkgname-$pkgver
+prepare() {
+ cd "$_builddir"
+ patch -Np0 -i ""$srcdir"/msn_fix.patch" || return 1
+}
+
+build() {
+ cd "$_builddir"
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --disable-avahi \
+ --disable-doxygen \
+ --disable-gnutls \
+ --disable-meanwhile \
+ --disable-nm \
+ --disable-perl \
+ --disable-schemas-install \
+ --disable-screensaver \
+ --disable-tcl \
+ --disable-vv \
+ --enable-cyrus-sasl \
+ --enable-nss \
+ || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+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="63a36f91d29f5ac5a402ffd2d7dbbb72 pidgin-2.7.0.tar.bz2
+bbf9d6f6fc19342af7e059dc13432d27 msn_fix.patch"