From 1cd1dc90dccbf25e7651eee163b2f3c205e91f06 Mon Sep 17 00:00:00 2001 From: Cecil Hugh Watson Date: Sun, 4 Oct 2009 17:08:33 -0700 Subject: libjpeg6:fixed typo. Added symlink. --- abs/core-testing/libjpeg6/PKGBUILD | 2 +- abs/core-testing/libjpeg6/libjpeg6.install | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/abs/core-testing/libjpeg6/PKGBUILD b/abs/core-testing/libjpeg6/PKGBUILD index a66b92e..098b6b7 100644 --- a/abs/core-testing/libjpeg6/PKGBUILD +++ b/abs/core-testing/libjpeg6/PKGBUILD @@ -3,7 +3,7 @@ # Committer: Judd Vinet pkgname=libjpeg6 pkgver=6b -pkgrel=9 +pkgrel=10 pkgdesc="Library of JPEG support functions" arch=('i686' 'x86_64') url="http://ijg.org" diff --git a/abs/core-testing/libjpeg6/libjpeg6.install b/abs/core-testing/libjpeg6/libjpeg6.install index dfb8ede..9ad4afe 100644 --- a/abs/core-testing/libjpeg6/libjpeg6.install +++ b/abs/core-testing/libjpeg6/libjpeg6.install @@ -1,23 +1,25 @@ # arg 1: the new package version post_install() { - if qrep -q libjpeg6 /etc/ld.so.conf + if grep -q libjpeg6 /etc/ld.so.conf then exit else echo "/opt/libjpeg6/include" >> /etc/ld.so.conf ldconfig fi + ln -s /opt/libjpeg6/lib/libjpeg.so.62 /usr/lib/libjpeg.so.62 } # arg 1: the new package version # arg 2: the old package version post_upgrade() { - if qrep -q libjpeg6 /etc/ld.so.conf + if grep -q libjpeg6 /etc/ld.so.conf then exit else echo "/opt/libjpeg6/include" >> /etc/ld.so.conf ldconfig fi + ln -sf /opt/libjpeg6/lib/libjpeg.so.62 /usr/lib/libjpeg.so.62 } # arg 1: the old package version post_remove() { -- cgit v0.12