summaryrefslogtreecommitdiff
path: root/extra/libjpeg-turbo
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-02-12 23:15:07 +0000
committerroot <root@rshg054.dnsready.net>2012-02-12 23:15:07 +0000
commit0020cc650ff973f269f23332e82fc097254d0adc (patch)
tree4eb4ed0d80064cbc09ee64ac2f9a4dc53ef2fb89 /extra/libjpeg-turbo
parentcfceb92e73d7f6a32494f0ba258b98748af43f34 (diff)
Sun Feb 12 23:15:07 UTC 2012
Diffstat (limited to 'extra/libjpeg-turbo')
-rw-r--r--extra/libjpeg-turbo/PKGBUILD19
1 files changed, 13 insertions, 6 deletions
diff --git a/extra/libjpeg-turbo/PKGBUILD b/extra/libjpeg-turbo/PKGBUILD
index 51aa6df6f..d74dd2ca8 100644
--- a/extra/libjpeg-turbo/PKGBUILD
+++ b/extra/libjpeg-turbo/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 145273 2011-12-21 01:12:32Z allan $
+# $Id: PKGBUILD 149986 2012-02-12 02:54:27Z allan $
# Maintainer: Allan McRae <allan@archlinux.org>
# Contributor: Simone Sclavi 'Ito' <darkhado@gmail.com>
pkgname=libjpeg-turbo
-pkgver=1.1.1
-pkgrel=4
+pkgver=1.2.0
+pkgrel=1
pkgdesc="libjpeg derivative with accelerated baseline JPEG compression and decompression"
arch=('i686' 'x86_64')
url="http://libjpeg-turbo.virtualgl.org/"
@@ -16,11 +16,15 @@ conflicts=('libjpeg')
replaces=('libjpeg')
options=('!libtool')
source=(http://sourceforge.net/projects/$pkgname/files/$pkgver/$pkgname-$pkgver.tar.gz)
-md5sums=('03b9c1406c7bfdc204313c2917ce6962')
+md5sums=('5329fa80953938cb4f097afae55059e2')
build() {
cd $srcdir/$pkgname-$pkgver
+ # put documentation in a reasonable directory...
+ sed -i "/docdir = /s#/doc#/doc/libjpeg-turbo#" Makefile.in
+ sed -i "/exampledir = /s#/doc#/doc/libjpeg-turbo#" Makefile.in
+
./configure --prefix=/usr --with-jpeg8 --mandir=/usr/share/man
make
}
@@ -42,7 +46,10 @@ package() {
# do not distributre libturbojpeg as it is unversioned
rm $pkgdir/usr/lib/libturbojpeg.{so,a}
rm $pkgdir/usr/include/turbojpeg.h
- rm $pkgdir/usr/bin/jpgtest
- install -Dm644 LICENSE.txt $pkgdir/usr/share/licenses/libjpeg-turbo/LICENSE
+ install -dm755 $pkgdir/usr/share/licenses/libjpeg-turbo/
+ ln -s ../../doc/libjpeg-turbo/README \
+ $pkgdir/usr/share/licenses/libjpeg-turbo/README
+ ln -s ../../doc/libjpeg-turbo/README-turbo.txt \
+ $pkgdir/usr/share/licenses/libjpeg-turbo/README-turbo.txt
}