[arch-commits] Commit in sdl_image/trunk (PKGBUILD)
Jan Steffens
heftig at archlinux.org
Mon Jan 16 11:33:59 UTC 2012
Date: Monday, January 16, 2012 @ 06:33:58
Author: heftig
Revision: 146686
1.2.11
Modified:
sdl_image/trunk/PKGBUILD
----------+
PKGBUILD | 27 +++++++++++++++++----------
1 file changed, 17 insertions(+), 10 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2012-01-16 11:19:17 UTC (rev 146685)
+++ PKGBUILD 2012-01-16 11:33:58 UTC (rev 146686)
@@ -1,22 +1,29 @@
# $Id$
-# Maintainer: Allan McRae <allan at archlinux.org>
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Allan McRae <allan at archlinux.org>
# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
pkgname=sdl_image
-pkgver=1.2.10
-pkgrel=2
+pkgver=1.2.11
+pkgrel=1
pkgdesc="A simple library to load images of various formats as SDL surfaces"
arch=('i686' 'x86_64')
-license=('LGPL')
+license=('custom')
depends=('sdl>=1.2.13' 'libpng' 'libjpeg>=7' 'libtiff' 'zlib')
options=('!libtool')
url="http://www.libsdl.org/projects/SDL_image/"
-source=(http://www.libsdl.org/projects/SDL_image/release/SDL_image-${pkgver}.tar.gz)
-md5sums=('6c06584b31559e2b59f2b982d0d1f628')
+source=(http://www.libsdl.org/projects/SDL_image/release/SDL_image-$pkgver.tar.gz)
+md5sums=('1210d7a7e87ab95abebb4f3e79a0fd31')
build() {
- cd ${srcdir}/SDL_image-${pkgver}
- ./configure --prefix=/usr
- make || return 1
- make DESTDIR=${pkgdir} install
+ cd "$srcdir/SDL_image-$pkgver"
+ ./configure --prefix=/usr --disable-static
+ make
}
+
+package() {
+ cd "$srcdir/SDL_image-$pkgver"
+ make DESTDIR="$pkgdir" install
+
+ install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
More information about the arch-commits
mailing list