1 # Maintainer: George Rawlinson <grawlinson@archlinux.org>
2 # Maintainer: Caleb Maclennan <caleb@alerque.com>
3 # Contributor: Joost Bremmer <contact at madeofmagicandwires dot online>
4 # Contributor: Eliezio Oliveira <eliezio@pm.me>
5 # Contributor: Matthew Gamble <internet@matthewgamble.net>
10 pkgdesc='Space Age seD'
12 url='https://github.com/ms-jpq/sad'
15 makedepends=('git' 'rust')
18 'diff-so-fancy: for diff colourizer'
19 'git-delta: for diff colourizer'
22 _commit='3d709fc2d8c1f504e92378c46f19360b91c65828'
23 source=("$pkgname::git+$url#commit=$_commit")
29 git describe --tags | sed 's/^v//'
35 # download dependencies
36 cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
41 cargo build --frozen --release --all-features
46 cargo test --frozen --all-features
53 install -vDm755 -t "$pkgdir/usr/bin" "target/release/$pkgname"
56 install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
59 install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" README.md
62 # vim: set ts=2 sts=2 sw=2 et :