aboutsummaryrefslogblamecommitdiffstats
path: root/main/xchat/APKBUILD
blob: 54c0e6f7727d046c41c68b114ef49deb5b9da9b3 (plain) (tree)
1
2
3
4
5
6
7
8
9
10

                                                   
            
        

                                 
          
             

                                                                  
                                                                         
                    
         
 


                                    



                                                                           
            

 

                       











                                                 



                       


                                                  

                                                              
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xchat
pkgver=2.8.8
pkgrel=2
pkgdesc="A GTK+ based IRC client"
url="http://www.xchat.org/"
arch="all"
license="GPL"
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
	midori.patch
	"

_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
	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-gnome \
		--disable-textfe \
		--disable-perl \
		--disable-python \
		--enable-ipv6 \
		--enable-shm \
		--enable-spell=static || return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
}

md5sums="6775c44f38e84d06c06c336b32c4a452  xchat-2.8.8.tar.bz2
759fd786be3a2546be33f7533632b5a2  midori.patch"