updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / xchatosd / PKGBUILD
blobd84639601abc04dc81e794f0dbc3ad396c5a6220
1 # $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
2 # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
3 # Contributor: Alexander Mieland <dma147@linux-stats.org>
5 pkgname=xchatosd
6 pkgver=5.19
7 pkgrel=1
8 pkgdesc="OSD plugin/Script for xchat"
9 arch=(i686 x86_64)
10 url="http://sourceforge.net/projects/xchatosd/"
11 depends=('xchat' 'xosd')
12 license=('GPL2')
13 source=(http://downloads.sourceforge.net/sourceforge/xchatosd/xchatosd-$pkgver.tar.gz
14         build-fix.patch)
15 md5sums=('d95091553dc19e32aefb03ec46ab641d' '9fa6903a34afc2e9f4b92ea6eb1f56bc')
17 build() {
18   cd $startdir/src/$pkgname-$pkgver
19   patch -Np1 <../build-fix.patch
20     if [ "$CARCH" == "x86_64" ] ; then
21     sed -re 's|-L/usr/local/lib|-L/usr/local/lib -fPIC|' -i Makefile
22     fi
23   make || return 1
24   install -D -m 755 xchatosd.so $startdir/pkg/usr/lib/xchat/plugins/xchatosd.so