Want more features on Pastebin? Sign Up, it's FREE!
Guest

PKGBUILD libsquish 1.10

By: a guest on May 1st, 2010  |  syntax: None  |  size: 0.84 KB  |  views: 189  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. pkgname=libsquish
  2. pkgver=1.10
  3. pkgrel=3
  4. pkgdesc="DXT compression library"
  5. depends=('gcc-libs')
  6. makedepends=('cmake')
  7. arch=('i686' 'x86_64')
  8. url="http://code.google.com/p/libsquish"
  9. license=('MIT')
  10. source=(http://libsquish.googlecode.com/files/squish-$pkgver.tar.gz
  11.         gcc440.patch
  12.         LICENSE
  13.         CMakeLists.txt)
  14. md5sums=('53b171007aaaaf96ee277e833bb756eb'
  15.          '6c3d8e3651bcfaf36fc48504f97a0ca4'
  16.          '513ad70d68b1d1ca771814f77d57b310'
  17.          '856944396fb13ac6bac2ab992cc67f03')
  18.  
  19. build() {
  20.   cp CMakeLists.txt "${srcdir}/squish-${pkgver}"
  21.  
  22.   cd "$srcdir/squish-$pkgver"
  23.   patch -Np0 -i $srcdir/gcc440.patch
  24.   cmake -DCMAKE_INSTALL_PREFIX=/usr .
  25.  
  26.   make || return 1
  27.   make install DESTDIR=${pkgdir}
  28.   install -Dm 644 ${srcdir}/LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
  29. }
  30.  
  31. # vim:set ts=2 sw=2 et:
clone this paste RAW Paste Data