blob: 252e37fbc9a7ab78c80374ce590d1292d806ad0d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# Maintainer: Julien Savard <juju@juju2143.ca>
pkgname=aloevera
pkgver=0.2.3
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')
optdepends=('cc65: compile assembly and header files'
'x16-emulator: run BASIC and bin files')
source=("$pkgname-$pkgver.tar.gz::https://github.com/yeastplume/$pkgname/archive/v$pkgver.tar.gz")
md5sums=('4595bce344d2a9cf30fe59110c8f373e')
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/{}" \;
}
|