1 # This is an example PKGBUILD file. Use this as a start to creating your own,
2 # and remove these comments. For more information, see 'man PKGBUILD'.
3 # NOTE: Please fill out the license field for your package! If it is unknown,
4 # then please put 'unknown'.
6 # Contributor: Your Name <youremail@domain.com>
10 pkgdesc="DXT compression library"
11 arch=('i686' 'x86_64')
12 url="http://code.google.com/p/libsquish"
14 source=(http://libsquish.googlecode.com/files/squish-$pkgver.tar.gz
18 md5sums=('53b171007aaaaf96ee277e833bb756eb'
19 '6c3d8e3651bcfaf36fc48504f97a0ca4'
20 '5d55cb015b694c2a9e19d6aa868e61db'
21 '513ad70d68b1d1ca771814f77d57b310')
24 cd "$srcdir/squish-$pkgver"
27 patch -Np0 -i $srcdir/gcc440.patch
31 mkdir -p $pkgdir/usr/{include,lib}
33 install -Dm 644 squish.h $pkgdir/usr/include/squish.h
34 install -Dm 644 libsquish.a $pkgdir/usr/lib/libsquish.a
36 install -Dm 644 $srcdir/LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
39 # vim:set ts=2 sw=2 et: