5 url="http://code.google.com/p/myqq3/"
6 pkgdesc="A portable open source qq CLI clien"
10 _svntrunk=http://myqq3.googlecode.com/svn/trunk/
15 msg "Getting source..."
16 if [ -d $_svnmod/.svn ]; then
17 (cd $_svnmod && svn --config-dir ../ up -r $pkgver && cd ..)
19 svn --config-dir ./ co $_svntrunk -r $pkgver $_svnmod
22 msg "SVN checkout done or server timeout"
25 cp -r $_svnmod $_svnmod-build
27 msg "Starting make..."
29 make -C src -flinux.mak CC="${CHOST}-gcc" \
30 CFLAGS="${CFLAGS} -c -Wall" LDFLAGS="${LDFLAGS} -lpthread" \
36 # make DESTDIR="$pkgdir" install
37 mkdir -p $pkgdir/usr/bin
38 cp myqq $pkgdir/usr/bin