diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2017-09-21 18:24:42 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2017-09-21 18:24:42 -0300 |
commit | 1e8dd05a04e3d4faf48bc4507c17bcbd85f352f8 (patch) | |
tree | d2ad868a1da8751af7a3dec6fab3c3d9df80fdd6 | |
parent | f869a4f6d28bc467cfb3b6c8ff664e4414b38e7c (diff) | |
download | stowpkg-1e8dd05a04e3d4faf48bc4507c17bcbd85f352f8.tar.gz stowpkg-1e8dd05a04e3d4faf48bc4507c17bcbd85f352f8.tar.bz2 |
Adds binaries/sources options
-rw-r--r-- | README.md | 15 | ||||
-rwxr-xr-x | stowpkg | 8 |
2 files changed, 17 insertions, 6 deletions
@@ -34,6 +34,9 @@ Usage stowpkg search # list packages available on ports stowpkg install <package> # install packages from source stowpkg build # simple package builder (./configure && make && make install) + stowpkg list # list packages installed + stowpkg sources # list program sources available + stowpkg binaries # list program binaries available Running installed applications ------------------------------ @@ -79,12 +82,12 @@ Further development Other commands can easily be implemented: - stowpkg list # list packages installed - stowpkg remove <package> # remove packages - stowpkg purge <package> # purge packages - stowpkg update # update ports repository - stowpkg upgrade [package] # upgrade packages - stowpkg upstream <package> # check packages versions at upstream + stowpkg remove <package> # remove packages + stowpkg purge <package> # purge packages + stowpkg update # update ports repository + stowpkg upgrade [package] # upgrade packages + stowpkg upstream <package> # check packages versions at upstream + stowpkg switch <package> <version> # switch a package to another available version Also, per-architecture binary package support might be implemented using git-annex and GnuPG signatures, giving us commands like @@ -231,6 +231,14 @@ stowpkg_list () { done | sort | uniq } +stowpkg_binaries () { + ls $BINARIES +} + +stowpkg_sources () { + ls $SOURCES +} + # Dispatch if grep -q "^stowpkg_$ACTION () {$" $0; then __stowpkg_initialize |