updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / libsquish-svn / PKGBUILD
blob2d884dc1b98a367662f76aa33d8b1eb5cdc7d01c
1 # Contributor: F0ruD<fzerorubigd{AT}gmail{DOT}com>
2 pkgname=libsquish-svn
3 pkgver=26
4 pkgrel=1
5 pkgdesc="DXT compression library - svn build"
6 arch=('i686' 'x86_64')
7 url="http://code.google.com/p/libsquish"
8 makedepends=('subversion' )
9 license=('MIT')
10 provides=('libsquish')
11 conflicts=('libsquish')
13 source=(gcc440.patch
14         config
15         LICENSE)
16 md5sums=('6c3d8e3651bcfaf36fc48504f97a0ca4'
17          '5d55cb015b694c2a9e19d6aa868e61db'
18          '513ad70d68b1d1ca771814f77d57b310')
20 _svntrunk='http://libsquish.googlecode.com/svn/trunk/'
21 _svnmod=squish-$pkgver
24 build() {
25   svn co $_svntrunk $_svnmod
27   cd "$srcdir/squish-$pkgver"
28   cp $srcdir/config ./
29   
30   patch -Np0 -i $srcdir/gcc440.patch
31   
32   make || return 1
33   
34   mkdir -p $pkgdir/usr/{include,lib}
35   
36   install -Dm 644 squish.h $pkgdir/usr/include/squish.h
37   install -Dm 644 libsquish.a $pkgdir/usr/lib/libsquish.a
38   
39   install -Dm 644 $srcdir/LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
42 # vim:set ts=2 sw=2 et: