summaryrefslogtreecommitdiff
path: root/source/l/popt
diff options
context:
space:
mode:
authorPatrick J Volkerding <volkerdi@slackware.com>2020-06-26 19:18:25 +0000
committerEric Hameleers <alien@slackware.com>2020-06-27 08:59:53 +0200
commit93abc85df8a72067aecc72c4773d00b040d6a1e2 (patch)
treec61f7ece039acb850385e181135f89817e8b340d /source/l/popt
parent6cf862d3dc4bb739f05176b134e0da7db6cb4616 (diff)
downloadcurrent-93abc85df8a72067aecc72c4773d00b040d6a1e2.tar.gz
Fri Jun 26 19:18:25 UTC 202020200626191825
a/sysklogd-2.1.2-x86_64-1.txz: Upgraded. Make sure to move the .new init script and config into place for this. ap/undervolt-20200612_07d0c70-x86_64-1.txz: Added. l/popt-1.18-x86_64-1.txz: Upgraded. x/libglvnd-1.3.2-x86_64-1.txz: Upgraded. x/libva-2.8.0-x86_64-1.txz: Upgraded. x/libva-utils-2.8.0-x86_64-1.txz: Upgraded.
Diffstat (limited to 'source/l/popt')
-rwxr-xr-xsource/l/popt/popt.SlackBuild7
-rw-r--r--source/l/popt/popt.url1
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