intial upload

This commit is contained in:
PurpleCow 2023-05-24 17:01:35 +02:00
commit ee36cc6870
5 changed files with 121 additions and 0 deletions

14
README.md Normal file
View File

@ -0,0 +1,14 @@
# PKGBUILDS for Arch based Systems
[![Maintenance](https://img.shields.io/maintenance/yes/2023.svg)]()
PKGBUILDS **of interest** to Arch based Systems.<br>
The source for packages I maintain in my repository.
05-24-2023 main upload PKGBUILD
---
- **ALMA** - **A**rch **L**inux **M**obile **A**ppliance
---

23
alma-aur/.SRCINFO Normal file
View File

@ -0,0 +1,23 @@
pkgbase = alma-aur
pkgdesc = Create Arch Linux based live USB
pkgver = r138.14899eb
pkgrel = 1
url = https://git.spaeth.biz/Lila-Kuh/alma
arch = x86_64
license = GPL3
makedepends = git
makedepends = rust
depends = gptfdisk
depends = parted
depends = arch-install-scripts
depends = dosfstools
depends = coreutils
depends = util-linux
optdepends = cryptsetup: for root filesystem encryption
provides = alma
conflicts = alma
conflicts = alma-git
source = git+https://git.spaeth.biz/Lila-Kuh/alma
sha256sums = SKIP
pkgname = alma-aur

7
alma-aur/.gitignore vendored Normal file
View File

@ -0,0 +1,7 @@
*.tar.xz
*.tar.zst
alma-aur
alma-git
alma
pkg
src

35
alma-aur/PKGBUILD Normal file
View File

@ -0,0 +1,35 @@
# Maintainer: PurpleCow <sebastian@spaeth.biz>
_pkgname="alma"
pkgname="alma-aur"
pkgver=r138.14899eb
pkgrel=1
pkgdesc='Create Arch Linux based live USB'
arch=('x86_64')
url='https://git.spaeth.biz/Lila-Kuh/alma'
license=('GPL3')
makedepends=('git' 'rust')
depends=('gptfdisk' 'parted' 'arch-install-scripts' 'dosfstools' 'coreutils' 'util-linux')
optdepends=('cryptsetup: for root filesystem encryption')
source=("git+https://git.spaeth.biz/Lila-Kuh/${_pkgname}")
provides=('alma')
conflicts=('alma' 'alma-git')
sha256sums=('SKIP')
pkgver() {
cd "${srcdir}/${_pkgname}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "${srcdir}/${_pkgname}"
cargo build --release
}
package() {
cd "${srcdir}/${_pkgname}"
install -Dm755 target/release/${_pkgname} "${pkgdir}/usr/bin/${_pkgname}"
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE"
}

42
alma-aur/README.md Normal file
View File

@ -0,0 +1,42 @@
# alma-aur
## About
alma-aur is a PKGBUILD for ALMA.
## Which Package?
**ALMA** - **A**rch **L**inux **M**obile **A**ppliance
ALMA is a persistent live system for flash drives (USB,.img), based on Arch-Linux.
## Building the Package
### Requirements for Building the Package
* Is required: *git* and *rust* (`sudo pacman -S git rust`)
### Cloning the Repository
~~~ csh
$ git clone https://git.spaeth.biz/Lila-Kuh/PKGBUILD/alma-aur.git
~~~
### Building the Packages with *makepkg*
#### Preparation
Change directory to alma-aur and run *makepkg`
- -s = sync
- -i = install automatic after build
- -L = with output logfile
~~~ csh
$ cd alma-aur
$ makepkg -siL
~~~
#### Building
By default, the build script builds a 64-bit (x86_64) package.
For a aarch64 package set `ARCH=aarch64` or `ARCH=any` accordingly in `PGKBUILD`.
### Current Version
---
05-24-2023 version: **alma-aur-r138.14899eb-1-x86_64.pkg.tar.zst**
- with alma version 0.11.0
---