1
0
Fork 0
forked from murx/murx

Document package builds for each supported OS

This commit is contained in:
Johannes Findeisen 2026-11-23 12:50:17 +01:00
commit 2da5312982
11 changed files with 124 additions and 86 deletions

View file

@ -7,11 +7,11 @@ arch=('x86_64' 'aarch64')
url='https://codeberg.org/armin/murx'
license=('Apache-2.0')
depends=('glibc')
source=('murx.c' 'Makefile' 'murx.1' 'README.md' 'LICENSE' 'AUTHORS')
source=('murx.c' 'Makefile' 'murx.1' 'MURX-README.md' 'LICENSE' 'AUTHORS')
sha256sums=('358d39eed410a9657ef811892288ef407fe8f17709cb1b4b5e0405635594b70d'
'ee889dd531e7a3632032815a21ab26012a6ea882b50b56f86230bb3b9d9e5cad'
'7fee28fdd2016230d02cc7fee8a4cc759083d8dbe3d82b42a7353f883dd1774c'
'953966bfdd0b49cb26c11220e1e2bf6b5862aaa1b2d0bf002cde9d276f0ae96b'
'dc82161e37e6800fa14561bc261e7cc3b0ea2165de42601085353a92a6153f08'
'e2056cacb32df2fd2e49990d0db5900e777128792a55f382565b5b50da160b94'
'31c5556be4cdd9bf52bb55f18ead0c68a4f0e793c2c2dab0a2a2c6d92407d0d4'
'dbc8a4fc569d4cd7bcd45516ccc98c1396fce0682c262103069c8f5150538cdb')
@ -28,7 +28,7 @@ check() {
package() {
cd "$srcdir"
make DESTDIR="$pkgdir" PREFIX=/usr install
install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
install -Dm644 MURX-README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
install -Dm644 AUTHORS "$pkgdir/usr/share/doc/$pkgname/AUTHORS"
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}

24
arch/README.md Normal file
View file

@ -0,0 +1,24 @@
# Build the Arch Linux package
Install `base-devel` and `pacman-contrib`. As a regular user, run this from
the murx checkout root:
```sh
make pkgarch
```
The target prepares local sources for [PKGBUILD](PKGBUILD), updates their
checksums, and runs `makepkg`. The package is written to `arch/` unless you
configured a different `PKGDEST`. Install it with `pacman -U` and the package
path.
To build and install in one step, run these commands from the checkout root:
```sh
make pkgsources
cd arch
updpkgsums
makepkg -si
```
The recipe supports x86_64 and aarch64.