summaryrefslogtreecommitdiffstats
path: root/libjpeg6/PKGBUILD
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xssn.at>2010-03-01 20:37:34 +0100
committerFlorian Pritz <bluewind@xssn.at>2010-03-01 20:39:39 +0100
commit351991ce3e10dfae9cf57e7cf79fcca9b01c585b (patch)
treeb04cbcb9316474b71c8ba8570661cacee07dcb2d /libjpeg6/PKGBUILD
parentfb7ca9fcebda89c0f78dbc8200e35c4dd5d7c71d (diff)
downloadaur-packages-351991ce3e10dfae9cf57e7cf79fcca9b01c585b.tar.gz
aur-packages-351991ce3e10dfae9cf57e7cf79fcca9b01c585b.tar.xz
update
Signed-off-by: Florian Pritz <bluewind@xssn.at>
Diffstat (limited to 'libjpeg6/PKGBUILD')
-rw-r--r--libjpeg6/PKGBUILD13
1 files changed, 9 insertions, 4 deletions
diff --git a/libjpeg6/PKGBUILD b/libjpeg6/PKGBUILD
index 50f5701..6a24d66 100644
--- a/libjpeg6/PKGBUILD
+++ b/libjpeg6/PKGBUILD
@@ -5,7 +5,7 @@
pkgname=libjpeg6
pkgver=6b
-pkgrel=7
+pkgrel=9
pkgdesc="Library of JPEG support functions"
arch=('i686' 'x86_64')
url="http://www.ijg.org/"
@@ -13,15 +13,18 @@ license=('custom')
depends=('glibc')
makedepends=('libtool')
options=(!libtool)
-source=(ftp://ftp.debian.org/debian/pool/main/libj/libjpeg6b/libjpeg6b_6b.orig.tar.gz)
-md5sums=('dbd5f3b47ed13132f04c685d608a7547')
+source=("ftp://ftp.debian.org/debian/pool/main/libj/libjpeg6b/libjpeg6b_6b.orig.tar.gz"
+ "locale-fixes.patch")
+md5sums=('dbd5f3b47ed13132f04c685d608a7547'
+ 'a0910de4ba7bb7526032d86bb0297de4')
build() {
cd $srcdir/jpeg-$pkgver
cp /usr/share/libtool/config/config.{guess,sub} .
sed -i "s#./libtool#libtool#" configure
+ patch -p1 -i "$srcdir/locale-fixes.patch"
./configure --prefix=/usr --enable-shared --enable-static
- make || return 1
+ make LIBTOOL="libtool --tag=CC" || return 1
mkdir -p $pkgdir/usr/{bin,lib,include,share/man/man1}
make prefix=$pkgdir/usr mandir=$pkgdir/usr/share/man/man1 install
install -m644 jpegint.h $pkgdir/usr/include
@@ -36,3 +39,5 @@ build() {
mkdir -p $pkgdir/usr/include/libjpeg6
mv $pkgdir/usr/include/*.h $pkgdir/usr/include/libjpeg6
}
+
+# vim:set ts=2 sw=2 et: