diff options
Diffstat (limited to 'src/fullpkg/fullpkg')
-rwxr-xr-x | src/fullpkg/fullpkg | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/src/fullpkg/fullpkg b/src/fullpkg/fullpkg deleted file mode 100755 index e053c6e..0000000 --- a/src/fullpkg/fullpkg +++ /dev/null @@ -1,54 +0,0 @@ -#!/usr/bin/env bash -# Builds packages from ABS recursively. It tries to find dependencies that -# aren't built or need update and then makepkg them in order. - -# Copyright (C) 2011 Nicolás Reynolds <fauno@parabola.nu> -# Copyright (C) 2011-2012 Joshua Ismael Haase Hernández (xihh) <hahj87@gmail.com> -# -# License: GNU GPLv3+ -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see <http://www.gnu.org/licenses/>. - -. libremessages - -usage() { - print "Usage: %s [OPTIONS] [BUILD_DIR]" "${0##*/}" - print "A (libre)makepkg wrapper that will also build dependencies" - echo - prose "More directly, it wraps fullpkg-find and fullpkg-build; - fullpkg-find finds the dependencies, and sets them up in - BUILD_DIR; then fullpkg-build builds them." - echo - prose "This script will check dependencies, build them if possible and - stage the packages on its repo." - echo - prose "If no BUILD_DIR is specified, it will create a temporary - directory." - echo - print "Options:" - flag '-h' "Show this message" -} - -while getopts 'h' arg; do - case "$arg" in - h) usage; exit 0 ;; - esac -done - -shift $(( OPTIND - 1 )) - -build_dir="${1:-$(mktemp --tmpdir -d fullpkg.XXXXXXXXXX)}" -fullpkg-find "$build_dir" && fullpkg-build -N "$build_dir" - -exit 0 |