blob: 130a45e02b5fec72b1962d1d3863c309a37b2a62 (
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
50
51
52
53
54
55
56
57
58
59
60
61
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=hexchat
pkgver=2.9.5
pkgrel=0
pkgdesc="A popular and easy to use graphical IRC (chat) client"
url="http://www.hexchat.org"
arch="all"
license="GPLv2+"
depends=""
makedepends="gtk+2.0-dev openssl-dev dbus-glib-dev perl-dev
libsexy-dev python-dev libnotify-dev libproxy-dev
bash libtool autoconf automake"
install=""
subpackages="$pkgname-doc $pkgname-lang $pkgname-python:_python"
source="http://dl.hexchat.org/hexchat/hexchat-$pkgver.tar.xz"
_builddir="$srcdir"/hexchat-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
NOCONFIGURE=1 ./autogen.sh
}
build() {
cd "$_builddir"
./configure --prefix=/usr \
--sysconfdir=/etc \
--enable-openssl \
--enable-dbus \
--disable-textfe \
--disable-perl \
--enable-python \
--enable-ipv6 \
--enable-shm \
--enable-spell=libsexy || return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
rm "$pkgdir"/usr/lib/hexchat/plugins/*.la || return 1
# not worth a -dev pkg
rm -r "$pkgdir"/usr/include
}
_python() {
pkgdesc="Python plugin for hexchat"
mkdir -p "$subpkgdir"/usr/lib/hexchat/plugins
mv "$pkgdir"/usr/lib/hexchat/plugins/python.so \
"$subpkgdir"/usr/lib/hexchat/plugins
}
md5sums="e9b678e439890f9842a94f657ce7ae3f hexchat-2.9.5.tar.xz"
sha256sums="11dfd0fbfb88d8dbb38f631fab8a7dffbb179f7f7dafe316953ed6f513ac623d hexchat-2.9.5.tar.xz"
sha512sums="67eee124b6d0b690d3a43b921826af11730f995de5a697bbcac0d9dca13d44df6e33f3f2273ff1f7f86cc7dca34c091e70c4c481de49a83688522648e3252b9e hexchat-2.9.5.tar.xz"
|