blob: 07e3470ce23d7b810bfac5703281e1411babe731 (
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.10.0
pkgrel=0
pkgdesc="A popular and easy to use graphical IRC (chat) client"
url="http://www.hexchat.org"
arch="all"
license="GPL2+"
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
}
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="4d528dbeb898b9013d81395fd7839419 hexchat-2.10.0.tar.xz"
sha256sums="a0247f1e12379154d0719d9c6861dc22817b588562653bb9d3626863d8eca916 hexchat-2.10.0.tar.xz"
sha512sums="1fb15b5ee05c1048c8143b673775d7fa36c1a3a1f5b0895cd4cbe88c98707875eb2cdbbc12a6b7913532b54e4934734fc23c10b0b02d41ff7d41ffd967ea4936 hexchat-2.10.0.tar.xz"
|