blob: 00c87380ee8041984e6fa26c9d2c75ae0fdfe550 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
# Maintainer: aksr <aksr at t-com dot me>
pkgname=bitchx-git
pkgver=1.2.1.r221.g790ba5b
pkgrel=1
pkgdesc="An IRC (Internet Relay Chat) client."
arch=('i686' 'x86_64')
url="http://bitchx.sourceforge.net/"
license=('GPL2')
groups=()
depends=('openssl')
makedepends=('git' 'cpio')
provides=()
conflicts=('ircii-pana' 'bitchx-svn' 'bitchx11-git' 'bitchx12-git' 'bitchx13-git')
replaces=()
backup=()
options=()
install=
source=("$pkgname::git+git://git.code.sf.net/p/bitchx/git")
noextract=()
md5sums=('SKIP')
pkgver () {
cd "$srcdir/$pkgname"
git describe --long | sed -E 's/([^-]*-g)/r\1/;s/-/./g;s/^bitchx\.//'
}
prepare() {
cd "$srcdir/$pkgname"
sed -i '1s/^/#include "irc_std.h"\n#include "irc.h"\n/' include/struct.h
sed -i '1s/^/#include "ircaux.h"\n/' dll/qbx/qbx.c
}
build() {
cd $srcdir/$pkgname
./configure --exec_prefix=/usr \
--prefix=/usr \
--mandir=/usr/share/man \
--enable-ipv6 \
--with-plugins \
--with-ssl
make
}
package() {
cd $srcdir/$pkgname
make DESTDIR="$pkgdir/" install
install -Dm644 COPYRIGHT $pkgdir/usr/share/doc/${pkgname%-*}/COPYRIGHT
}
|