blob: 168b7a8f26214118939e2dac3339747149358003 (
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
# Maintainer: Maxime Gauduin <alucryd@archlinux.org>
pkgname=oxyromon-git
pkgver=0.7.0.r7.3a885be
pkgrel=1
pkgdesc='Rusty ROM OrgaNizer'
arch=(x86_64)
url=https://github.com/alucryd/oxyromon
license=(GPL3)
depends=(
gcc-libs
glibc
)
makedepends=(
git
mame-tools
maxcso
p7zip
rust
)
optdepends=(
'mame-tools: CHD support'
'maxcso: CSO support'
'p7zip: 7Z and ZIP support'
)
provides=(oxyromon)
conflicts=(oxyromon)
source=(git+https://github.com/alucryd/oxyromon.git)
validpgpkeys=(9437DD3815A7A9169E3D3946AFF5D95098BC6FF5) # Maxime Gauduin <alucryd@archlinux.org>
b2sums=(SKIP)
prepare() {
cargo fetch \
--locked \
--manifest-path oxyromon/Cargo.toml
}
pkgver() {
cd oxyromon
git describe --tags | sed 's/-/.r/; s/-g/./'
}
build() {
cargo build \
--release \
--frozen \
--manifest-path oxyromon/Cargo.toml
}
check() {
cargo test \
--release \
--frozen \
--manifest-path oxyromon/Cargo.toml
}
package() {
cargo install \
--frozen \
--offline \
--no-track \
--path oxyromon \
--root "${pkgdir}"/usr
}
# vim: ts=2 sw=2 et:
|