blob: d7938b447bec31f65b30f6945f8deccf1651c12a (
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
|
# Maintainer: muttleyxd <mateusz[ at ]szychowski.it>
pkgname=armake2-git
pkgver=87.2e66c92
pkgrel=1
pkgdesc="Rust implementation of Arma modding tools (PAA conversion, binarization/rapification, PBO packing)"
arch=('i686' 'x86_64')
url="https://github.com/KoffeinFlummi/armake2"
license=('GPL2')
depends=('openssl')
makedepends=('rust' 'git')
provides=('armake2')
conflicts=('armake2')
source=("$pkgname::git+https://github.com/KoffeinFlummi/armake2.git")
md5sums=('SKIP')
pkgver()
{
cd "$srcdir/$pkgname"
echo $(git rev-list --count master).$(git rev-parse --short master)
}
build()
{
cd "$srcdir/$pkgname"
cargo build --release
}
package()
{
mkdir -p "$pkgdir/usr/bin"
cp "$srcdir/$pkgname/target/release/armake2" "$pkgdir/usr/bin/armake2"
}
|