Add a shortcut to a local Slackware repo.
[pkgusr] / etc / pkgusr / bash_profile
index f1997e8..cc5895b 100644 (file)
@@ -54,9 +54,21 @@ SUPPRESSLOCALEDIR=1
 #  Override this in ~/.pkgusrrc.
 CHECKUPDATES=1
 
+## Slackware PKG local repo
+#  Having a shortcut to a local Slackware PKG repo is very useful.
+#  Pat Volkerding and his team are of a minority who actually know
+#  what they are doing.  I always check Slackware for patches.
+#
+#  I get the Slack source via rsync.
+#  See https://mirrors.slackware.com/mirrorlist/
+#
+#  Use:  find ${SLACKPKG} -iname pkgname\*
+SLACKPKG=/home/steve/download/Slackware/slackware64-current/source
+#  Obviously edit to suit your situation
+
 ### export everything
 export LC_ALL PATH LESS LESSCHARSET LESSOPEN TZ PKG_CONFIG_PATH QTDIR
-export SUPPRESSLOCALEDIR CHECKUPDATES
+export SUPPRESSLOCALEDIR CHECKUPDATES SLACKPKG
 
 # Make prompt reflect that we are a package user.
 export PROMPT_COMMAND='PS1="[pkgusr (\u)] \w> "'