summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md20
1 files changed, 20 insertions, 0 deletions
diff --git a/README.md b/README.md
index 03c4c51..779182e 100644
--- a/README.md
+++ b/README.md
@@ -8,9 +8,29 @@ Feel free to open issues/PRs in this repository for fixes to be merged into the
## Usage
+The management of this repository is implemented using [git subtree](https://git.kernel.org/cgit/git/git.git/plain/contrib/subtree/git-subtree.txt) which allows all changes to be tracked in this single repo, as well as publish changes to each separate AUR package remote.
+
Use the `pkg.sh` wrapper script to run the common commands:
+### Add New Package
+
```bash
$ ./pkg.sh add pkgname
+```
+
+### Update Package
+
+Edit the relevant files in `aur/$pkgname` and then
+
+```bash
+$ git commit -m "Bumped $pkgname to v1.2.3"
$ ./pkg.sh update pkgname
```
+
+### Import Packages
+
+Many packages can be initially imported by running
+
+```bash
+$ ./pkg.sh import pkgname1 pkgname2 pkgname3
+```