diff options
Diffstat (limited to 'extra/libjpeg-turbo/PKGBUILD')
-rw-r--r-- | extra/libjpeg-turbo/PKGBUILD | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/extra/libjpeg-turbo/PKGBUILD b/extra/libjpeg-turbo/PKGBUILD index 742e73b6b..330136d46 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' 'mips64el') 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" } |