yeah, like robbie said, it's not that difficult.
2. modify
build.xml
if you're customizing your own package, i'd use the buildMini job as a base:
Code:
<!--=======================================================================-->
<!-- mini -->
<!--=======================================================================-->
<target name="buildMini"
description="execute mini gapps build">
<!-- preparations -->
<property environment="env"/>
<property name="file.name.mini" value="${build.dir}/Slim_mini_gapps.BETA.${PRODUCT_VERSION_MAJOR}.${PRODUCT_VERSION_MINOR}.${PRODUCT_VERSION_MAINTENANCE}-${BUILD_NUMBER}.zip"/>
<delete dir="${work.dir}"/>
<propertyfile file="${build.dir}/gapps.filenames">
<entry key="minifilename" value="${file.name.mini}"/>
</propertyfile>
<!-- copy files -->
<copy todir="${work.dir}">
<fileset dir="${structure.dir}">
[B][COLOR="Red"] <exclude name="system/app/CalendarGoogle/**"/>
<exclude name="system/app/Chrome/**"/>
<exclude name="system/app/Drive/**"/>
<exclude name="system/app/GenieWidget/**"/>
<exclude name="system/app/GoogleHome/**"/>
<exclude name="system/app/GoogleTTS/**"/>
<exclude name="system/app/Keep/**"/>
<exclude name="system/app/Keyboard/**"/>
<exclude name="system/app/Maps/**"/>
<exclude name="system/app/Messenger/**"/>
<exclude name="system/app/Music2/**"/>
<exclude name="system/app/PlusOne/**"/>
<exclude name="system/app/Street/**"/>
<exclude name="system/app/Translate/**"/>
<exclude name="system/app/Wallet/**"/>
<exclude name="system/app/YouTube/**"/>
<exclude name="system/priv-app/Velvet/**"/>[/COLOR][/B]
<exclude name="system/tts/**"/>
<exclude name="system/usr/**"/>
<exclude name="system/vendor/**"/>
</fileset>
</copy>
<copy file="${app.dir}/extras/mini/updater-script" todir="${work.dir}/META-INF/com/google/android"/>
<copy file="${app.dir}/extras/mini/80-gapps.sh" todir="${work.dir}/system/addon.d"/>
<!-- zip and sign it -->
<zip destfile="${build.dir}/unsigned.zip" basedir="${work.dir}"></zip>
<echo message="Signing gapps"/>
<java dir="${build.dir}" fork="true" failonerror="true" maxmemory="128m" jar="${sign.jar}">
<arg value="${sign.pem}"/>
<arg value="${sign.pk8}"/>
<arg value="${build.dir}/unsigned.zip"/>
<arg value="${file.name.mini}"/>
</java>
</target>
the red lines are what you want to edit. these are exclusionary lines, so any of these excluded lines that you want in your package, just comment out the line (by putting <!-- at the beginning of the line and --> at the end of the line) and the app will now be included in the mini gapps package.