summaryrefslogtreecommitdiff
path: root/extra/libjpeg-turbo/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-06-26 23:06:14 +0000
committerroot <root@rshg047.dnsready.net>2011-06-26 23:06:14 +0000
commit715631caf52784c47c8ed3aeb6cbdba2715a08db (patch)
treed1923d66cba8dcf90112f81ca31009202cff25a3 /extra/libjpeg-turbo/PKGBUILD
parent8999fa1750304fb2367fb7743e49e013405e88be (diff)
Sun Jun 26 23:06:14 UTC 2011
Diffstat (limited to 'extra/libjpeg-turbo/PKGBUILD')
-rw-r--r--extra/libjpeg-turbo/PKGBUILD13
1 files changed, 11 insertions, 2 deletions
diff --git a/extra/libjpeg-turbo/PKGBUILD b/extra/libjpeg-turbo/PKGBUILD
index 3623e1dd5..96e9e69b5 100644
--- a/extra/libjpeg-turbo/PKGBUILD
+++ b/extra/libjpeg-turbo/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 124693 2011-05-24 03:40:20Z eric $
+# $Id: PKGBUILD 129225 2011-06-26 02:06:08Z allan $
# Maintainer: Allan McRae <allan@archlinux.org>
# Contributor: Simone Sclavi 'Ito' <darkhado@gmail.com>
pkgname=libjpeg-turbo
pkgver=1.1.1
-pkgrel=1
+pkgrel=3
pkgdesc="libjpeg derivative with accelerated baseline JPEG compression and decompression"
arch=('i686' 'x86_64')
url="http://libjpeg-turbo.virtualgl.org/"
@@ -29,5 +29,14 @@ package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir/" install
+
+ # provide jpegint.h as it is required by various software
+ install -m644 jpegint.h $pkgdir/usr/include/
+
+ # 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"
}