summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorZhuoyun Wei2015-02-12 10:30:14 +0800
committerZhuoyun Wei2015-02-12 10:30:14 +0800
commit3fca1be2409a788cd46d77f3ea4885d94aae1b91 (patch)
treeb2838d86f2d858145e041190abff977836e2e04a
downloadaur-3fca1be2409a788cd46d77f3ea4885d94aae1b91.tar.gz
Add pidgin-mini
-rw-r--r--.SRCINFO26
-rw-r--r--PKGBUILD51
-rw-r--r--pidgin.install11
3 files changed, 88 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..ff692235b74
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,26 @@
+pkgbase = pidgin-mini
+ pkgdesc = A minimal version of Pidgin for sane XMPP / IRC users
+ pkgver = 2.10.11
+ pkgrel = 1
+ url = http://pidgin.im/
+ install = pidgin.install
+ arch = i686
+ arch = x86_64
+ license = GPL
+ makedepends = ca-certificates
+ makedepends = python
+ depends = gtk2
+ depends = startup-notification
+ depends = libxss
+ depends = nss
+ depends = hicolor-icon-theme
+ provides = pidgin
+ provides = libpurple
+ conflicts = pidgin
+ conflicts = libpurple
+ options = !libtool
+ source = https://downloads.sourceforge.net/pidgin/pidgin-2.10.11.tar.bz2
+ md5sums = 7c8bb6f997e05e7929104439872c2844
+
+pkgname = pidgin-mini
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..648a711544b
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,51 @@
+# 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.10.11
+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)
+md5sums=('7c8bb6f997e05e7929104439872c2844')
+
+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-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"
+}
diff --git a/pidgin.install b/pidgin.install
new file mode 100644
index 00000000000..1a05f573e59
--- /dev/null
+++ b/pidgin.install
@@ -0,0 +1,11 @@
+post_install() {
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}