mirror of
https://github.com/Erreur32/cheat.git
synced 2024-11-16 00:48:36 +01:00
33 lines
651 B
Text
33 lines
651 B
Text
|
# Sync to newest SlackBuild.org tree
|
||
|
sport r
|
||
|
|
||
|
# Search (fuzzy) SlackBuild tree for packages foo and BaR
|
||
|
sport s foo bar
|
||
|
|
||
|
# Operate from alternate build tree
|
||
|
SBOPATH=/path/to/tree sport s foo
|
||
|
|
||
|
# View info and README of BaR (not fuzzy)
|
||
|
sport c foo BaR
|
||
|
|
||
|
# Build a package
|
||
|
sport i --build-only foo
|
||
|
|
||
|
# Build and install package foo and BaR
|
||
|
sport i foo BaR
|
||
|
|
||
|
# Build and install package from current directory
|
||
|
sport i .
|
||
|
|
||
|
# Upgrade instead of install
|
||
|
INSTALLER=upgradepkg sport i foo
|
||
|
|
||
|
# Build dependency list for baz
|
||
|
echo "foo BaR" >> /tmp/baz.list
|
||
|
|
||
|
# Install list of packages from file
|
||
|
sport i $(< /tmp/baz.list)
|
||
|
|
||
|
# Check if package is installed
|
||
|
sport k foo
|