1 # Maintainer: Simone Sclavi 'Ito' <darkhado@gmail.com>
2 # Contributor: Ross Melin <rdmelin@yahoo.com>
4 pkgname=libjpeg-turbo-svn
7 pkgdesc="A derivative of libjpeg which uses SIMD instructions to accelerate baseline JPEG compression and decompression"
9 url="http://libjpeg-turbo.virtualgl.org/"
10 license=('GPL' 'custom')
11 makedepends=('subversion' 'nasm')
12 provides=('libjpeg-turbo' 'libjpeg=8')
13 conflicts=('libjpeg-turbo')
17 md5sums=('8b3f4d426b97ea335b053353f9f220b2')
18 _svntrunk=https://libjpeg-turbo.svn.sourceforge.net/svnroot/libjpeg-turbo/trunk
22 if [ -d $_svnmod/.svn ]; then
23 (cd $_svnmod && svn up -r $pkgver)
25 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
28 msg "SVN checkout done or server timeout"
29 msg "Starting make..."
32 cp -r $_svnmod $_svnmod-build
37 ./configure --with-jpeg8 --prefix=/usr
41 install -Dm644 LICENSE $pkgdir/usr/share/licenses/${pkgname}/LICENSE
43 make DESTDIR="$pkgdir/" install