public
Created

libqq-svn 161 PKGBUILD

  • Download Gist
PKGBUILD
Shell
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
pkgname=libqq-svn
pkgver=161
pkgrel=1
arch=('i686' 'x86_64')
url="http://code.google.com/p/libqq-pidgin/"
pkgdesc="Latest QQ 2010 protocol for pidgin"
license=('GPLv3')
depends=()
makedepends=('libpurple')
conflicts=('libqq-pidgin')
provides=('libqq-pidgin')
options=('!libtool')
 
_svntrunk=http://libqq-pidgin.googlecode.com/svn/trunk/
_svnmod=libqq
 
build() {
cd $srcdir/
msg "Getting source..."
if [ -d $_svnmod/.svn ]; then
(cd $_svnmod && svn --config-dir ../ up -r $pkgver && cd ..)
else
svn --config-dir ./ co $_svntrunk -r $pkgver $_svnmod
fi
 
msg "SVN checkout done or server timeout"
 
rm -rf $_svnmod-build
cp -r $_svnmod $_svnmod-build
 
msg "Starting make..."
cd $_svnmod-build
sed -i "s/libqq/libqq2010/g" Makefile.am
chmod +x autogen.sh
./autogen.sh
./configure --prefix=/usr --sysconfdir=/etc
make
}
package(){
cd $_svnmod-build
make DESTDIR="$pkgdir" install
}

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.