# Mantainer: Gustavo Alvarez pkgname=xavs-svn pkgver=51 pkgrel=1 pkgdesc="AVS is the Audio Video Standard of China. This project aims to implement high quality AVS encoder and decoder. (SVN version)" url="http://xavs.sourceforge.net/" license=('GPL') arch=('i686' 'x86_64') depends=('glibc') _svntrunk=https://xavs.svn.sourceforge.net/svnroot/xavs/trunk _svnmod=xavs build() { if [ -d "${_svnmod}" ]; then msg "Updating local SVN repository." (cd "${_svnmod}" && svn up) msg "SVN update done or server timeout." else msg "Checking out SVN repository." svn co "${_svntrunk}" "${_svnmod}" msg "SVN checkout done or server timeout." fi msg "Starting make process." rm -rf "${_svnmod}-build/" cp -r "${_svnmod}" "${_svnmod}-build/" cd ${_svnmod}-build ./configure --enable-shared --prefix=/usr make } package() { cd ${srcdir}/${_svnmod}-build make DESTDIR="${pkgdir}" install }