diff options
Diffstat (limited to '')
-rwxr-xr-x | deps/phonon/phonon.SlackBuild | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/deps/phonon/phonon.SlackBuild b/deps/phonon/phonon.SlackBuild index 4da680d..6104457 100755 --- a/deps/phonon/phonon.SlackBuild +++ b/deps/phonon/phonon.SlackBuild @@ -21,14 +21,16 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# Modified 2010, 2011, 2012, 2014, 2015, 2016, 2017, 2018 Eric Hameleers, Eindhoven, NL +# Modified 2010, 2011, 2012, 2014, 2015, 2016, 2017, 2018, 2019 Eric Hameleers, Eindhoven, NL +cd $(dirname $0) ; CWD=$(pwd) + PKGNAM=phonon -VERSION=${VERSION:-4.10.0} +VERSION=${VERSION:-4.10.2} BUILD=${BUILD:-1} -NUMJOBS=${NUMJOBS:--j7} +NUMJOBS=${NUMJOBS:-"-j$(nproc)"} # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then @@ -61,7 +63,14 @@ else LIBDIRSUFFIX="" fi -CWD=$(pwd) +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PKGNAM-$VERSION-$ARCH-$BUILD$TAG.txz" + exit 0 +fi + TMP=${TMP:-/tmp} PKG=$TMP/package-phonon |