summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorKuba Serafinowski2012-04-07 15:18:18 +0200
committerKuba Serafinowski2012-04-07 15:18:18 +0200
commitc8ce2ad8968e6b1a2bb602499a7d4fef57ae0440 (patch)
tree70f4adf646b52ed177eba6af950332132c8c369e
parent7c4c71adc2031e099c490c1e45641ea7730ee43b (diff)
downloadaur-c8ce2ad8968e6b1a2bb602499a7d4fef57ae0440.tar.gz
add a missing if
-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"