core/sdl_image/PKGBUILD
2012-11-01 23:01:21 +00:00

31 lines
799 B
Bash

#
# Platform Packages for Chakra, part of chakra-project.org
#
# maintainer abveritas[at]chakra-project[dot]org>
pkgname=sdl_image
pkgver=1.2.12
pkgrel=1
pkgdesc="A simple library to load images of various formats as SDL surfaces"
arch=('x86_64')
license=('custom')
depends=('sdl>=1.2.13' 'libpng' 'libjpeg-turbo' '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=('a0f9098ebe5400f0bdc9b62e60797ecb')
build() {
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"
}