mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
33 lines
1.4 KiB
Bash
33 lines
1.4 KiB
Bash
# $Id: PKGBUILD 53432 2009-09-30 22:41:06Z eric $
|
|
# Maintainer: Eric Belanger <eric@archlinux.org>
|
|
|
|
pkgname=xchat
|
|
pkgver=2.8.6
|
|
pkgrel=5
|
|
pkgdesc="A GTK+ based IRC client"
|
|
arch=('i686' 'x86_64')
|
|
url="http://www.xchat.org/"
|
|
license=('GPL')
|
|
depends=('gtk2>=2.10.9' 'openssl>=0.9.8b' 'dbus-glib>=0.7.2')
|
|
makedepends=('tcl' 'perl' 'python')
|
|
optdepends=('enchant: for spell checking support' 'tcl: for tcl plugin')
|
|
options=('!libtool')
|
|
source=(http://www.xchat.org/files/source/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2 \
|
|
http://www.xchat.org/files/source/2.8/patches/xc286-smallfixes.diff
|
|
xchat-gtk2.patch xchat-2.8.4-shm-pixmaps.patch)
|
|
md5sums=('1f2670865d43a23a9abc596dde999aca' 'eb68b6261bf6740cb5f223627eb8f384'\
|
|
'f3fe00982c0bec93152ed0b32438ef87' 'a0b3889d160ddf21eebd25b645bd1e48')
|
|
sha1sums=('7a7463e65cb26c680ed70dd96cec98bcc05435a4' 'b13eb421f6d72fca195b398c606d9413aec57fc4'\
|
|
'cf9c5d93af262474e0855f2965210a4a3600acc7' '7647815270fac1a58109cb3b4000bc9187871399')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
patch -p1 < ../xc286-smallfixes.diff || return 1
|
|
patch -p1 < ../xchat-gtk2.patch || return 1
|
|
patch -p1 < ../xchat-2.8.4-shm-pixmaps.patch || return 1
|
|
./configure --prefix=/usr --sysconfdir=/etc --enable-openssl --enable-dbus \
|
|
--disable-gnome --disable-textfe --enable-ipv6 --enable-shm \
|
|
--enable-spell=static || return 1
|
|
make || return 1
|
|
make DESTDIR="${pkgdir}" install || return 1
|
|
}
|