diff --git a/main/xulrunner/APKBUILD b/main/xulrunner/APKBUILD
index 8f4c5e0504cac72d82eb14704ae7176cdf4bb7f5..aa238b8d30d52485a31d379a1eb21c09a9042713 100644
--- a/main/xulrunner/APKBUILD
+++ b/main/xulrunner/APKBUILD
@@ -1,9 +1,9 @@
 # Contributor: William Pitcock <nenolod@dereferenced.org>
-# Maintainer: William Pitcock <nenolod@dereferenced.org>
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
 pkgname=xulrunner
 pkgver=16.0.2
 _ffoxver=$pkgver
-pkgrel=1
+pkgrel=2
 pkgdesc="runtime environment for xul-based applications"
 url="http://developer.mozilla.org/en/XULRunner"
 arch="all"
@@ -24,7 +24,7 @@ depends_dev="nspr-dev
 	     libevent-dev
 	     libvpx-dev
 	     libxt-dev
-	     jpeg-dev
+	     libjpeg-turbo-dev
 	     bzip2-dev
 	     hunspell-dev
 	     startup-notification-dev
@@ -38,6 +38,7 @@ makedepends="$depends_dev
 	     python
 	     zip
 	     yasm
+	     paxctl
 
 	     autoconf
 	     automake
@@ -86,6 +87,10 @@ build() {
 
 package() {
 	cd "$_builddir"
+
+	# only used for startupcache creation.
+	paxctl -c -m */dist/bin/xpcshell || return 1
+
 	make -j1 DESTDIR="$pkgdir" -f client.mk install || return 1
 
 	# make install does not install xpt.py but its needed by firefox