diff options
Diffstat (limited to 'source/l')
-rwxr-xr-x | source/l/popt/popt.SlackBuild | 7 | ||||
-rw-r--r-- | source/l/popt/popt.url | 1 |
2 files changed, 4 insertions, 4 deletions
diff --git a/source/l/popt/popt.SlackBuild b/source/l/popt/popt.SlackBuild index a55da813..d65c0e27 100755 --- a/source/l/popt/popt.SlackBuild +++ b/source/l/popt/popt.SlackBuild @@ -1,6 +1,6 @@ #!/bin/bash -# Copyright 2006, 2007, 2008, 2009, 2013, 2018 Patrick J. Volkerding, Sebeka, MN, USA +# Copyright 2006, 2007, 2008, 2009, 2013, 2018, 2020 Patrick J. Volkerding, Sebeka, MN, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,8 +23,8 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=popt -VERSION=${VERSION:-1.16} -BUILD=${BUILD:-3} +VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} +BUILD=${BUILD:-1} NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "} @@ -146,4 +146,3 @@ cat $CWD/slack-desc > $PKG/install/slack-desc cd $PKG makepkg -l y -c n $TMP/${PKGNAM}-$VERSION-$ARCH-$BUILD.txz - diff --git a/source/l/popt/popt.url b/source/l/popt/popt.url new file mode 100644 index 00000000..6a351f8a --- /dev/null +++ b/source/l/popt/popt.url @@ -0,0 +1 @@ +ftp://ftp.rpm.org/pub/rpm/popt/releases |