... | ... | @@ -61,7 +61,7 @@ When generating distro-specific files, mirror the respective layout of `distro/` |
|
|
|
|
|
```
|
|
|
project
|
|
|
└── packages
|
|
|
└── package-sources
|
|
|
├── arch
|
|
|
│ └── arch_files
|
|
|
├── deb
|
... | ... | @@ -82,12 +82,28 @@ Let's start with common packaging operations such as: |
|
|
* `PKGBUILD` for Arch
|
|
|
* in general whatever is needed to build a package somewhere
|
|
|
|
|
|
Example:
|
|
|
Examples:
|
|
|
|
|
|
```
|
|
|
$> apkg get-package-source debian
|
|
|
$> apkg get-package-source deb
|
|
|
```
|
|
|
Results in `package-sources/debian/package_*`
|
|
|
Results in `package-sources/deb/*` (source tree copy with `debian/` dir included - ready for package build)
|
|
|
|
|
|
```
|
|
|
$> apkg get-package-source rpm
|
|
|
```
|
|
|
Results in `package-sources/rpm/package-*.src.rpm` (source RPM ready to be built)
|
|
|
|
|
|
|
|
|
```
|
|
|
$> apkg get-package-source ubuntu
|
|
|
```
|
|
|
Is an equivalent of `apkg get-package-source deb` - `apkg` should accept both packaging types (`rpm`, `deb`, ...) and distro names (`debian`, `ubuntu`, `fedora`, `suse`, `arch`, ...).
|
|
|
|
|
|
```
|
|
|
$> apkg get-package-source
|
|
|
```
|
|
|
Results in package sources for current distribution in respective directory in `package-sources/`.
|
|
|
|
|
|
|
|
|
### build a package from current commit locally
|
... | ... | @@ -104,4 +120,4 @@ Results in `packages/ubuntu/package_*.deb` (depending on current distro) |
|
|
$> apkg status
|
|
|
```
|
|
|
|
|
|
should print useful information about current packaging status. |
|
|
\ No newline at end of file |
|
|
should print useful information about the state of packaging at current commit such as supported packaging types/distros, versions and whatever else will prove useful to packagers. |
|
|
\ No newline at end of file |