updated on Wed Jan 25 16:08:47 UTC 2012
[aur-mirror.git] / pchat / PKGBUILD
blob72de9049dea667b4fbda324c3d6f38a334ab3f84
1 # Contributer: Zach Thibeau <zachthibeau@pchat-irc.com>
3 pkgname='pchat'
4 pkgver=8
5 pkgrel=1
6 pkgdesc="PChat is an IRC Client that is designed to run on most major operating systems, forked from the code XChat, but with changes to the core to be less dependent on gtk and a new interface for better cross platform capabilities, as well as striving to be more functional than XChat. Latest hg pull."
7 url="http://bitbucket.org/ZachThibeau/pchat-irc/"
8 license='GPL'
9 arch=('i686' 'x86_64')
10 groups=('pchat-hg')
11 depends=('gtk2' 'openssl')
12 makedepends=('mercurial')
14 _hgroot='http://bitbucket.org/ZachThibeau'
15 _hgrepo='pchat-irc'
17 build() {
19   cd "${srcdir}"
21   if [ -d $_hgrepo ]; then
22     cd $_hgrepo && hg pull -u
23   else
24     hg clone "${_hgroot}/${_hgrepo}"
25     cd $_hgrepo
26   fi
28   make
29   make install DESTDIR="${pkgdir}" prefix=/usr
30