PKGBUILD 602 Bytes
Newer Older
1
pkgname=libwebp
2
pkgver=0.3.0
3 4 5 6 7 8 9 10
pkgrel=1
pkgdesc="WebP library and conversion tools"
arch=('x86_64' 'i686')
url="http://code.google.com/intl/en/speed/webp/"
license=('BSD')
depends=('libpng' 'libjpeg')
options=('!libtool')
source=("http://webp.googlecode.com/files/$pkgname-$pkgver.tar.gz")
11
sha256sums=('8903fca40ece603b9cb20d32105168da7e2a33bebbd4d89001a3c8741ef03ddb')
12 13 14 15 16 17 18 19 20 21 22 23 24

build() {
  cd "$srcdir/$pkgname-$pkgver"

  ./configure --prefix=/usr
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"

  make DESTDIR="$pkgdir/" install
  install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
25
}