summaryrefslogtreecommitdiff
path: root/extra/libwebp/PKGBUILD
blob: 788b645d7bee464da7e210467abdfc8ae6bf0e02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# $Id: PKGBUILD 173085 2012-12-10 13:18:07Z heftig $
# Maintainer: Alexander Rødseth <rodseth@gmail.com>
# Contributor: Jon Nordby <jononor@gmail.com>

pkgname=libwebp
pkgver=0.2.1
pkgrel=1
pkgdesc="WebP library and conversion tools"
arch=('x86_64' 'i686')
url="https://developers.google.com/speed/webp/"
license=('BSD')
depends=('libpng' 'libjpeg')
options=('!libtool')
source=("http://webp.googlecode.com/files/$pkgname-$pkgver.tar.gz")
sha256sums=('894e08b8b0043cf007cc1ca893f33d73784565a6e64b0e7aefb201a687392314')

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"
}

# vim:set ts=2 sw=2 et: