2 Commits
v3.0 ... v3.1

Author SHA1 Message Date
fbt
840ab9254c export instead of checkout 2015-05-22 17:53:16 +03:00
fbt
b2dc6c01d7 ughx2 2015-02-25 16:30:32 +03:00
2 changed files with 10 additions and 10 deletions

View File

@@ -2,15 +2,15 @@ prm
---
A very simple AUR/ABS helper. Doesn't build packages, only gets the sources.
Usage: prm [flags] <package>
Flags:
-h Show this message.
-s Search for <package>.
-S Search only in the sync db. Implies -s.
-A Search only in AUR. Implies -s.
-d Get the package sources (default). Set twice to also get the dependencies.
-f Force downloading package sources even if they are already present in the working directory.
-w <dir> Set the working directory.
Usage: prm [flags] <package>
Flags:
-h Show this message.
-s Search for <package>.
-S Search only in the sync db. Implies -s.
-A Search only in AUR. Implies -s.
-d Get the package sources (default). Set twice to also get the dependencies.
-f Force downloading package sources even if they are already present in the working directory.
-w <dir> Set the working directory.
You can override any value in the script in \$HOME/.config/prm.rc.sh
By default prm downloads the sources into the current directory. Controlled by `$cfg_workdir`.

2
prm
View File

@@ -131,7 +131,7 @@ abs.get() {
svn_repo='packages';;
esac
svn checkout "svn://svn.archlinux.org/${svn_repo}/${1}/trunk" "${cfg_workdir}/${1}"
svn export "svn://svn.archlinux.org/${svn_repo}/${1}/trunk" "${cfg_workdir}/${1}"
}
set_argv() {