# Maintainer: Roey Darwish Dror pkgname=alma pkgver=0.6.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=('6b7cda499977c03f4c5a44610e9e1e5e9c4e1ffd0a1ff537130084eaf6523391') 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" }