diff options
author | root <root@rshg054.dnsready.net> | 2012-07-05 00:02:54 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-07-05 00:02:54 +0000 |
commit | 7f6f69dc52c8601768ba48fa7b69507a80d532cb (patch) | |
tree | 028dd3e49c2080a2ab59860c0a20b3a8dfe5cdbf /extra/libjpeg-turbo/PKGBUILD | |
parent | 298f654d4656dcc1e8d78c37dd77ae2ebfc1bf5f (diff) |
Thu Jul 5 00:02:54 UTC 2012
Diffstat (limited to 'extra/libjpeg-turbo/PKGBUILD')
-rw-r--r-- | extra/libjpeg-turbo/PKGBUILD | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/extra/libjpeg-turbo/PKGBUILD b/extra/libjpeg-turbo/PKGBUILD index 1dc364c17..f8825590b 100644 --- a/extra/libjpeg-turbo/PKGBUILD +++ b/extra/libjpeg-turbo/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 158594 2012-05-05 02:02:44Z allan $ +# $Id: PKGBUILD 162914 2012-07-03 20:59:56Z eric $ # Maintainer: Allan McRae <allan@archlinux.org> # Contributor: Simone Sclavi 'Ito' <darkhado@gmail.com> pkgname=libjpeg-turbo -pkgver=1.2.0 -pkgrel=2 +pkgver=1.2.1 +pkgrel=1 pkgdesc="libjpeg derivative with accelerated baseline JPEG compression and decompression" arch=('i686' 'x86_64') url="http://libjpeg-turbo.virtualgl.org/" @@ -16,10 +16,10 @@ conflicts=('libjpeg') replaces=('libjpeg') options=('!libtool') source=(http://sourceforge.net/projects/$pkgname/files/$pkgver/$pkgname-$pkgver.tar.gz) -md5sums=('5329fa80953938cb4f097afae55059e2') +sha1sums=('a4992e102c6d88146709e8e6ce5896d5d0b5a361') build() { - cd $srcdir/$pkgname-$pkgver + cd "$srcdir/$pkgname-$pkgver" # put documentation in a reasonable directory... sed -i "/docdir = /s#/doc#/doc/libjpeg-turbo#" Makefile.in @@ -30,27 +30,27 @@ build() { } check() { - cd $srcdir/$pkgname-$pkgver + cd "$srcdir/$pkgname-$pkgver" make test } package() { - cd $srcdir/$pkgname-$pkgver + cd "$srcdir/$pkgname-$pkgver" - make DESTDIR=$pkgdir/ install + make DESTDIR="$pkgdir/" install # provide jpegint.h as it is required by various software - install -m644 jpegint.h $pkgdir/usr/include/ + 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/tjbench + rm "$pkgdir"/usr/lib/libturbojpeg.{so,a} + rm "$pkgdir/usr/include/turbojpeg.h" + rm "$pkgdir/usr/bin/tjbench" - install -dm755 $pkgdir/usr/share/licenses/libjpeg-turbo/ + install -dm755 "$pkgdir/usr/share/licenses/libjpeg-turbo/" ln -s ../../doc/libjpeg-turbo/README \ - $pkgdir/usr/share/licenses/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 + "$pkgdir/usr/share/licenses/libjpeg-turbo/README-turbo.txt" } |