diff options
Diffstat (limited to 'main/pidgin/APKBUILD')
-rw-r--r-- | main/pidgin/APKBUILD | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/main/pidgin/APKBUILD b/main/pidgin/APKBUILD new file mode 100644 index 0000000000..bccd793c12 --- /dev/null +++ b/main/pidgin/APKBUILD @@ -0,0 +1,64 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=pidgin +pkgver=2.7.1 +pkgrel=0 +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 + icq_fix.patch" + +_builddir="$srcdir"/$pkgname-$pkgver +prepare() { + cd "$_builddir" + patch -p0 -i "$srcdir"/icq_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="0dd2adb9e8214ac960f956823c84e7e2 pidgin-2.7.1.tar.bz2 +2ce887cf36e698282b9241832850defd icq_fix.patch" |