Commit e11b5060 authored by Natanael Copa's avatar Natanael Copa

main/xchat: build fix

depend on libxext-dev instead of xextproto
headers seems to have moved
parent 962c3987
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xchat
pkgver=2.8.6
pkgrel=0
pkgrel=1
pkgdesc="A GTK+ based IRC client"
url="http://www.xchat.org/"
license="GPL"
makedepends="pkgconfig gtk+-dev openssl-dev dbus-glib-dev xextproto perl-dev"
makedepends="pkgconfig gtk+-dev openssl-dev dbus-glib-dev perl-dev
libxext-dev"
source="http://www.$pkgname.org/files/source/2.8/$pkgname-$pkgver.tar.bz2
http://www.$pkgname.org/files/source/2.8/patches/xc286-smallfixes.diff
$pkgname-gtk2.patch"
build ()
{
cd "$srcdir"/$pkgname-$pkgver
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
patch -p1 < ../xc286-smallfixes.diff || return 1
patch -p1 < ../xchat-gtk2.patch || return 1
}
build() {
cd "$_builddir"
./configure --prefix=/usr \
--sysconfdir=/etc \
--enable-openssl \
......@@ -27,6 +33,10 @@ build ()
--enable-shm \
--enable-spell=static || return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment