summaryrefslogtreecommitdiff
path: root/community/xchat-systray-integration/PKGBUILD
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/xchat-systray-integration/PKGBUILD
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/xchat-systray-integration/PKGBUILD')
-rw-r--r--community/xchat-systray-integration/PKGBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/community/xchat-systray-integration/PKGBUILD b/community/xchat-systray-integration/PKGBUILD
new file mode 100644
index 000000000..78317d324
--- /dev/null
+++ b/community/xchat-systray-integration/PKGBUILD
@@ -0,0 +1,37 @@
+# $Id: PKGBUILD 3695 2009-10-07 08:53:45Z spupykin $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Contributor: Tuxbubling <tuxbubling)jabber.fr>
+
+pkgname=xchat-systray-integration
+pkgver=2.4.5
+pkgrel=2
+pkgdesc="Systray integration for xchat"
+arch=(i686 x86_64)
+url="http://www.blight.tk/"
+license=("GPL")
+depends=('xchat' 'gtk2')
+makedepends=('gcc' 'gtk2' 'gdk-pixbuf')
+source=(http://downloads.sourceforge.net/sourceforge/xchat2-plugins/$pkgname-$pkgver-src.tar.gz \
+ default-icons.patch \
+ segfault-fix.patch)
+md5sums=('f7068053ff7cc63d5bf2fd8cfabe0c82'
+ '9f7924b9423d5dd78ca8832026c9bb8e'
+ 'f9fec2befb2bf0b3888f017d37a36a17')
+
+build() {
+ cd $startdir/src/$pkgname-$pkgver
+ patch -Np1 <$startdir/src/default-icons.patch
+ patch -Np1 <$startdir/src/segfault-fix.patch
+ if [ "$CARCH" == "x86_64" ] ; then
+ sed -re 's/-Wall/-fPIC -Wall/' -i Makefile
+ fi
+ make || return 1
+
+ mkdir -p $startdir/pkg/usr/lib/xchat/plugins/
+ cp $startdir/src/$pkgname-$pkgver/systray.so $startdir/pkg/usr/lib/xchat/plugins || return 1
+ mkdir -p $startdir/pkg/usr/share/xchat-systray-integration
+ cp -r src/images/{GTKTray,Menu} $startdir/pkg/usr/share/xchat-systray-integration || return 1
+
+ chmod 0644 $startdir/pkg/usr/share/xchat-systray-integration/{GTKTray,Menu}/* && \
+ find $pkgdir -type d -exec chmod 0755 {} \;
+}