updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / cwirc / PKGBUILD
blobfdd0013cabd78396199753b189436c81e9dd3f24
1 #Maintainer: Bob Finch <w9ya@arparci.net>
3 pkgname=cwirc
4 pkgver=2.0.0
5 pkgrel=1
6 pkgdesc="X-Chat plugin for sending and receiving raw morse code over IRCxchat"
7 url="http://users.skynet.be/ppc/cwirc/"
8 makedepends=('pkgconfig')
9 depends=('xchat')
10 source=(http://users.skynet.be/ppc/$pkgname/download/$pkgname-$pkgver.tar.gz)
11 arch=('i686' 'x86_64')
12 license=('GPL')
13 md5sums=('08930a01c0d94b730e184a79bee7fe0c')
15 build() {
16   cd $startdir/src/$pkgname-$pkgver
18   patch -p0 < ../../diff.Makefile
20   make all || return 1
22   mkdir -p $startdir/pkg/usr/lib/xchat/plugins
23   cp cwirc.so $startdir/pkg/usr/lib/xchat/plugins
25   mkdir -p $startdir/pkg/usr/bin
26   cp cwirc_frontend $startdir/pkg/usr/bin
28   mkdir -p $startdir/pkg/usr/lib/cwirc/extensions
29   
30   install -D -m644 README $startdir/pkg/usr/share/$pkgname/README
31   install -m644 schematics/* $startdir/pkg/usr/share/$pkgname/