# Maintainer: Julien Savard pkgname=aloevera pkgver=0.2.0 pkgrel=1 pkgdesc="Graphical asset processing pipeline for the Commander X16" arch=('x86_64') url="https://github.com/yeastplume/aloevera" license=('Apache') depends=('gcc-libs') makedepends=('cargo') source=("$pkgname-$pkgver.tar.gz::https://github.com/yeastplume/$pkgname/archive/v$pkgver.tar.gz") md5sums=('2bfda79f95d01654749003d2b3f8eb3e') build() { cd "$pkgname-$pkgver" cargo build --release --locked --all-features } package() { cd "$pkgname-$pkgver" install -Dm755 "target/release/aloevera" "$pkgdir/usr/bin/aloevera" install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md" find docs -type f -exec install -Dm644 "{}" "$pkgdir/usr/share/doc/$pkgname/{}" \; find samples -type f -exec install -Dm644 "{}" "$pkgdir/usr/share/doc/$pkgname/{}" \; }