diff options
author | Joshua Ismael Haase Hernández <hahj87@gmail.com> | 2011-04-07 16:12:37 -0500 |
---|---|---|
committer | Joshua Ismael Haase Hernández <hahj87@gmail.com> | 2011-04-07 16:12:37 -0500 |
commit | 6c9b2af1bf30486f69ef49bf43c7e9af4eb35bde (patch) | |
tree | f973cb15876ae770bf79fbf7b8e6c5b3bcf1aedb /librerepkg | |
parent | 70f5afd5d2cefaea0796288de3a94d2a5cad26df (diff) |
Librerepkg for testing
Diffstat (limited to 'librerepkg')
-rw-r--r-- | librerepkg | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -19,4 +19,23 @@ # along with Parabola. If not, see <http://www.gnu.org/licenses/>. source /etc/libretools.conf +custom_config=$XDG_CONFIG_HOME/libretools/libretools.conf +if [ -x $custom_config ]; then + source $custom_config; + unset $custom_config +fi +[[ ! -r rePKGBUILD ]] && { + error "This build does not contains a rePKGBUILD." + exit 1 +} + +source /etc/makepkg.conf +source /etc/abs.conf + +stdnull "tempdir=$(mktemp -d /tmp/$(basename $PWD).XXXXX)" + +cp rePKGBUILD ${tempdir}/PKGBUILD +pushd ${tempdir} +msg Building using libremakepkg +sudo libremakepkg |