aboutsummaryrefslogtreecommitdiffstats
path: root/main/gd/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/gd/APKBUILD')
-rw-r--r--main/gd/APKBUILD12
1 files changed, 8 insertions, 4 deletions
diff --git a/main/gd/APKBUILD b/main/gd/APKBUILD
index 7fec613cd4..128a0c6cbf 100644
--- a/main/gd/APKBUILD
+++ b/main/gd/APKBUILD
@@ -2,14 +2,14 @@
# Maintainer: Carlo Landmeter <clandmeter@gmail.com>
pkgname=gd
pkgver=2.2.4
-pkgrel=1
+pkgrel=2
_pkgreal=lib$pkgname
pkgdesc="Library for the dynamic creation of images by programmers"
url="http://libgd.github.io/"
arch="all"
license="custom"
depends=
-makedepends="libpng-dev libjpeg-turbo-dev libwebp-dev libxpm-dev freetype-dev zlib-dev"
+makedepends="bash libpng-dev libjpeg-turbo-dev libwebp-dev freetype-dev zlib-dev"
subpackages="$pkgname-dev $_pkgreal:libs"
source="https://github.com/$_pkgreal/$_pkgreal/releases/download/$pkgname-$pkgver/$_pkgreal-$pkgver.tar.xz
CVE-2016-7568.patch"
@@ -30,9 +30,13 @@ build() {
make || return 1
}
+check() {
+ make -C "$builddir" check
+ return 0
+}
+
package() {
- cd "$builddir"
- make DESTDIR="$pkgdir" install || return 1
+ make -C "$builddir" DESTDIR="$pkgdir" install || return 1
}
dev() {