summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--PKGBUILD5
1 files changed, 5 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 8dcd09371b26..0b0daf813abe 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -26,6 +26,11 @@ provides=('jreen')
conflicts=('jreen')
options=(!strip)
+# Clean options array to strip pkg if release buildtype is chosen
+if [[ ${_buildtype} == "Release" ]] || [[ ${_buildtype} == "release" ]]; then
+ options=()
+fi
+
_gitroot="git://github.com/euroelessar/jreen.git"
_gitname="jreen"