mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-04-22 06:02:18 +02:00
62 lines
1.6 KiB
Plaintext
62 lines
1.6 KiB
Plaintext
# 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"
|