[arch-commits] Commit in libjpeg-turbo/trunk (PKGBUILD)
Allan McRae
allan at archlinux.org
Wed Dec 21 01:10:52 UTC 2011
Date: Tuesday, December 20, 2011 @ 20:10:52
Author: allan
Revision: 145272
upgpkg: libjpeg-turbo 1.1.1-4
signing rebuild, add check function
Modified:
libjpeg-turbo/trunk/PKGBUILD
----------+
PKGBUILD | 16 +++++++++++-----
1 file changed, 11 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2011-12-20 22:21:28 UTC (rev 145271)
+++ PKGBUILD 2011-12-21 01:10:52 UTC (rev 145272)
@@ -4,7 +4,7 @@
pkgname=libjpeg-turbo
pkgver=1.1.1
-pkgrel=3
+pkgrel=4
pkgdesc="libjpeg derivative with accelerated baseline JPEG compression and decompression"
arch=('i686' 'x86_64')
url="http://libjpeg-turbo.virtualgl.org/"
@@ -19,16 +19,22 @@
md5sums=('03b9c1406c7bfdc204313c2917ce6962')
build() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd $srcdir/$pkgname-$pkgver
./configure --prefix=/usr --with-jpeg8 --mandir=/usr/share/man
make
}
+check() {
+ 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/
@@ -38,5 +44,5 @@
rm $pkgdir/usr/include/turbojpeg.h
rm $pkgdir/usr/bin/jpgtest
- install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/libjpeg-turbo/LICENSE"
+ install -Dm644 LICENSE.txt $pkgdir/usr/share/licenses/libjpeg-turbo/LICENSE
}
More information about the arch-commits
mailing list