[arch-commits] Commit in imlib2/trunk (PKGBUILD)

Ronald van Haren ronald at archlinux.org
Sat Sep 3 09:44:02 UTC 2011


    Date: Saturday, September 3, 2011 @ 05:44:01
  Author: ronald
Revision: 136938

upgpkg: imlib2 1.4.5-1

update to 1.4.5; cleanup PKGBUILD

Modified:
  imlib2/trunk/PKGBUILD

----------+
 PKGBUILD |   16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-09-03 00:52:21 UTC (rev 136937)
+++ PKGBUILD	2011-09-03 09:44:01 UTC (rev 136938)
@@ -4,16 +4,16 @@
 # Contributor: Tom Newsom <Jeepster.gmx.co.uk>
 
 pkgname=imlib2
-pkgver=1.4.4
+pkgver=1.4.5
 pkgrel=1
 pkgdesc="Library that does image file loading and saving as well as rendering, manipulation, arbitrary polygon support"
 url="http://sourceforge.net/projects/enlightenment/"
 arch=('i686' 'x86_64')
 license=('BSD')
-depends=('libtiff>=3.9.2-2' 'giflib' 'bzip2' 'freetype2' 'libxext' 'libpng>=1.4.0' 'libid3tag' 'libjpeg>=8')
+depends=('libtiff' 'giflib' 'bzip2' 'freetype2' 'libxext' 'libpng' 'libid3tag' 'libjpeg-turbo')
 options=('!libtool')
 source=("http://downloads.sourceforge.net/enlightenment/$pkgname-$pkgver.tar.bz2")
-sha1sums=('aca2cf5d40ddcd8a3acfde605f319fccce7c2a2b')
+sha1sums=('af86a2c38f4bc3806db57e64e74dc9814ad474a0')
 
 build() {
   cd $srcdir/$pkgname-$pkgver
@@ -25,10 +25,14 @@
   # Configure and Build
   ./configure --prefix=/usr \
               --sysconfdir=/etc/imlib2 \
-              --x-libraries=/usr/lib $EXTRAOPTS || return 1
-  make || return 1
-  make DESTDIR=$pkgdir install || return 1
+              --x-libraries=/usr/lib $EXTRAOPTS
+  make
+}
 
+package() {
+  cd $srcdir/$pkgname-$pkgver
+  make DESTDIR=$pkgdir install
+
   # Install License
   install -Dm644 COPYING $pkgdir/usr/share/licenses/$pkgname/COPYING
 }




More information about the arch-commits mailing list