summaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2014-11-26 12:34:58 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-11-28 14:07:12 +0700
commit7f13c773c847ccfdf217f2c9c10625b70c1c5239 (patch)
treeb3ff50a21d1798fde231d4c7f46c349eba2c338f /system
parent6565a70501baffb485870be06ebd495eef084eeb (diff)
downloadslackbuilds-7f13c773c847ccfdf217f2c9c10625b70c1c5239.tar.gz
system/slpkg: Updated for version 2.0.9.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
Diffstat (limited to 'system')
-rw-r--r--system/slpkg/doinst.sh5
-rw-r--r--system/slpkg/slpkg.SlackBuild17
-rw-r--r--system/slpkg/slpkg.info6
3 files changed, 14 insertions, 14 deletions
diff --git a/system/slpkg/doinst.sh b/system/slpkg/doinst.sh
index 236b3a62a7..c06beaa646 100644
--- a/system/slpkg/doinst.sh
+++ b/system/slpkg/doinst.sh
@@ -8,7 +8,10 @@ config() {
fi
}
-config /etc/slpkg/slpkg.conf.new
+CONFIGS="slpkg.conf blacklist slackware-mirrors"
+for file in $CONFIGS; do
+ config /etc/slpkg/${file}.new
+done
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
diff --git a/system/slpkg/slpkg.SlackBuild b/system/slpkg/slpkg.SlackBuild
index bc5824bac8..bc74acc137 100644
--- a/system/slpkg/slpkg.SlackBuild
+++ b/system/slpkg/slpkg.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=slpkg
-VERSION=${VERSION:-2.0.6}
+VERSION=${VERSION:-2.0.9}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -78,14 +78,11 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/etc/slpkg
-
-# check if blacklist file if already exist in /etc/slpkg
-if [ ! -f "/etc/$PRGNAM/blacklist" ]; then
- install -D -m0644 conf/blacklist $PKG/etc/$PRGNAM/blacklist
-fi
-
-# install configuration file
-install -D -m0644 conf/slpkg.conf $PKG/etc/slpkg/slpkg.conf.new
+# install configurations files
+CONFIGS="slpkg.conf blacklist slackware-mirrors"
+for file in $CONFIGS; do
+ install -D -m0644 conf/$file $PKG/etc/slpkg/${file}.new
+done
# install man page
mkdir -p $PKG/usr/man/man8
@@ -93,7 +90,7 @@ gzip -9 man/$PRGNAM.8
install -D -m0644 man/$PRGNAM.8.gz $PKG/usr/man/man8/$PRGNAM.8.gz
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a README.rst CHANGELOG LICENSE CONTRIBUTING ISSUES $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a README.rst CHANGELOG LICENSE TESTING ISSUES $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/system/slpkg/slpkg.info b/system/slpkg/slpkg.info
index 7d670fe4ee..03370364fa 100644
--- a/system/slpkg/slpkg.info
+++ b/system/slpkg/slpkg.info
@@ -1,8 +1,8 @@
PRGNAM="slpkg"
-VERSION="2.0.6"
+VERSION="2.0.9"
HOMEPAGE="https://github.com/dslackw/slpkg"
-DOWNLOAD="https://github.com/dslackw/slpkg/archive/v2.0.6.tar.gz"
-MD5SUM="cee4e3046d1afe901fbe6b32ccc95d24"
+DOWNLOAD="https://github.com/dslackw/slpkg/archive/v2.0.9.tar.gz"
+MD5SUM="521093a1793a8d4d71d529c55f06299c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""