From ee36cc6870ca54d96b42a4bd4c3211cf9db9e3f0 Mon Sep 17 00:00:00 2001 From: Basti Lathe Date: Wed, 24 May 2023 17:01:35 +0200 Subject: [PATCH] intial upload --- README.md | 14 ++++++++++++++ alma-aur/.SRCINFO | 23 +++++++++++++++++++++++ alma-aur/.gitignore | 7 +++++++ alma-aur/PKGBUILD | 35 +++++++++++++++++++++++++++++++++++ alma-aur/README.md | 42 ++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 121 insertions(+) create mode 100644 README.md create mode 100644 alma-aur/.SRCINFO create mode 100644 alma-aur/.gitignore create mode 100644 alma-aur/PKGBUILD create mode 100644 alma-aur/README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..0e61948 --- /dev/null +++ b/README.md @@ -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.
+The source for packages I maintain in my repository. + +05-24-2023 main upload PKGBUILD + +--- + +- **ALMA** - **A**rch **L**inux **M**obile **A**ppliance + +--- diff --git a/alma-aur/.SRCINFO b/alma-aur/.SRCINFO new file mode 100644 index 0000000..c1f2c01 --- /dev/null +++ b/alma-aur/.SRCINFO @@ -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 diff --git a/alma-aur/.gitignore b/alma-aur/.gitignore new file mode 100644 index 0000000..71487c6 --- /dev/null +++ b/alma-aur/.gitignore @@ -0,0 +1,7 @@ +*.tar.xz +*.tar.zst +alma-aur +alma-git +alma +pkg +src diff --git a/alma-aur/PKGBUILD b/alma-aur/PKGBUILD new file mode 100644 index 0000000..d7a84bf --- /dev/null +++ b/alma-aur/PKGBUILD @@ -0,0 +1,35 @@ +# Maintainer: PurpleCow + +_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" +} diff --git a/alma-aur/README.md b/alma-aur/README.md new file mode 100644 index 0000000..927b905 --- /dev/null +++ b/alma-aur/README.md @@ -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 + +---