desktop/libwebp/PKGBUILD

26 lines
602 B
Bash
Raw Normal View History

2012-11-11 12:28:43 +08:00
pkgname=libwebp
2013-04-02 16:27:20 +08:00
pkgver=0.3.0
2012-11-11 12:28:43 +08:00
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")
2013-04-02 16:27:20 +08:00
sha256sums=('8903fca40ece603b9cb20d32105168da7e2a33bebbd4d89001a3c8741ef03ddb')
2012-11-11 12:28:43 +08:00
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"
2013-04-02 16:27:20 +08:00
}