Skip to content

Commit

Permalink
BUILDING.md: Initial archlinux instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
Eloston committed Mar 1, 2018
1 parent fbf6f14 commit 702a9ac
Showing 1 changed file with 27 additions and 2 deletions.
29 changes: 27 additions & 2 deletions BUILDING.md
Original file line number Diff line number Diff line change
Expand Up @@ -191,14 +191,39 @@ A `.dmg` should appear in `buildspace/`
### Arch Linux
**This is a WIP**
**NOTE**: There is no official maintainer for this platform. If there is a problem, please submit a pull request or issue (after checking the status page in the Wiki first).
There are two methods to build for Arch Linux outlined in the following sections.
#### Use PKGBUILD
These steps are for using a PKGBUILD to create a package. The PKGBUILD handles downloading, unpacking, building, and packaging (which uses a copy of buildkit internally).
For now, see the instructions for Other Linux distributions.
Requirements: Python 3 is needed to generate the PKGBUILD. The PKGBUILD contains build dependency information.
Generate the PKGBUILD:
```
mkdir -p buildspace/tree
python3 buildkit-launcher.py genpkg -b archlinux archlinux
```
A PKGBUILD will be generated in `buildspace/tree/ungoogled_packaging`. It is a standalone file that can be relocated as necessary.
#### Create a compressed tar archive
These steps create an archive of the build outputs.
Requirements: Same as the build dependencies in the PKGBUILD (which can be seen in `resources/packaging/archlinux/PKGBUILD.in`).
The instructions are the same as [Other Linux distributions](#other-linux-distributions), except that the `archlinux` base bundle is used in the `genbun` command.
### Other Linux distributions
These are for building on Linux distributions that do not have support already. It builds without distribution-optimized flags and patches for maximum compatibility.
**NOTE**: There is no official maintainer for this platform. If there is a problem, please submit a pull request or issue (after checking the status page in the Wiki first).
#### Requirements
Debian-based: `# apt install packaging-dev python3 ninja-build`
Expand Down

0 comments on commit 702a9ac

Please sign in to comment.