# Maintainer: Roey Darwish Dror pkgname=alma pkgver=0.8.0 pkgrel=1 pkgdesc='Create Arch Linux based live USB' arch=('x86_64') url='https://github.com/r-darwish/alma' license=('GPL3') makedepends=('rust') depends=('gptfdisk' 'parted' 'arch-install-scripts' 'dosfstools' 'coreutils' 'util-linux') optdepends=('cryptsetup: for root filesystem encryption') source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz") sha256sums=('5c6dc45fd339eff0da9477c0da268b044385f506e2705ee9dcb1d6ee57c7e99e') build() { cd "$pkgname-$pkgver" cargo build --release } package() { cd "$pkgname-$pkgver" install -Dm755 target/release/$pkgname "$pkgdir/usr/bin/$pkgname" install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" }