1 # Maintainer: Gustavo Alvarez <sl1pkn07@gmail.com>
6 pkgdesc="A portable abstraction library for DVD decryption"
9 url="http://www.videolan.org/libdvdcss"
13 provides=('libdvdcss')
14 conflicts=('libdvdcss')
16 _svntrunk="svn://svn.videolan.org/libdvdcss/trunk"
21 msg "Connecting to SVN server...."
22 if [ -d ${_svnmod}/.svn ]; then
23 cd ${_svnmod} && svn up
26 svn co ${_svntrunk} --config-dir ./ -r ${pkgver} ${_svnmod}
28 msg "SVN checkout done or server timeout"
29 msg "Starting make..."
31 if [ -e ${srcdir}/${_svnmod}-build ]; then
32 rm -rf ${srcdir}/${_svnmod}-build
35 cp -r ${srcdir}/${_svnmod} ${srcdir}/${_svnmod}-build
36 cd ${srcdir}/${_svnmod}-build
38 ./configure --prefix=/usr
42 cd ${srcdir}/${_svnmod}-build
43 make DESTDIR=${pkgdir} install