1 # Contributor: F0ruD<fzerorubigd{AT}gmail{DOT}com>
5 pkgdesc="DXT compression library - svn build"
7 url="http://code.google.com/p/libsquish"
8 makedepends=('subversion' )
10 provides=('libsquish')
11 conflicts=('libsquish')
16 md5sums=('6c3d8e3651bcfaf36fc48504f97a0ca4'
17 '5d55cb015b694c2a9e19d6aa868e61db'
18 '513ad70d68b1d1ca771814f77d57b310')
20 _svntrunk='http://libsquish.googlecode.com/svn/trunk/'
21 _svnmod=squish-$pkgver
25 svn co $_svntrunk $_svnmod
27 cd "$srcdir/squish-$pkgver"
30 patch -Np0 -i $srcdir/gcc440.patch
34 mkdir -p $pkgdir/usr/{include,lib}
36 install -Dm 644 squish.h $pkgdir/usr/include/squish.h
37 install -Dm 644 libsquish.a $pkgdir/usr/lib/libsquish.a
39 install -Dm 644 $srcdir/LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
42 # vim:set ts=2 sw=2 et: