summaryrefslogtreecommitdiff
path: root/user/sdl2_image/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/sdl2_image/APKBUILD')
-rw-r--r--user/sdl2_image/APKBUILD6
1 files changed, 2 insertions, 4 deletions
diff --git a/user/sdl2_image/APKBUILD b/user/sdl2_image/APKBUILD
index e29ebdf53..fb0af1ea6 100644
--- a/user/sdl2_image/APKBUILD
+++ b/user/sdl2_image/APKBUILD
@@ -1,13 +1,14 @@
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer:
pkgname=sdl2_image
+_pkgname=SDL2_image
pkgver=2.0.5
pkgrel=0
-_pkgname=SDL2_image
pkgdesc="Library to load images of various formats as SDL surfaces"
url="https://www.libsdl.org/projects/SDL_image/"
arch="all"
license="zlib"
+depends=""
makedepends="sdl2-dev libjpeg-turbo-dev libpng-dev libwebp-dev tiff-dev
zlib-dev"
subpackages="$pkgname-dev"
@@ -24,7 +25,6 @@ builddir="$srcdir/$_pkgname-$pkgver"
# - CVE-2019-12221
build() {
- cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -39,12 +39,10 @@ build() {
}
check() {
- cd "$builddir"
make check
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
}