summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3e85a0f7d6b02319eaff0104e68ac72d0c856efb (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
# Maintainer: iamawacko <iamawacko@protonmail.com>
# Contributor: Rodolphe Bréard <packages@what.tf>
pkgname=mlar
pkgver=1.3.0
pkgrel=1
pkgdesc="A pure rust encrypted and compressed archive file utility"
arch=('x86_64')
url="https://github.com/ANSSI-FR/MLA"
license=('LGPL3')
depends=('gcc-libs')
makedepends=('rust' 'cargo')
source=("$pkgname-$pkgver.tar.gz::https://github.com/ANSSI-FR/MLA/archive/mlar-v$pkgver.tar.gz")
sha256sums=('0160c893651bd322e84bfe06f53f7edda8de3a5757a6155c6e960f73d9caa89c')

build() {
  cd "MLA-mlar-v$pkgver"
  cargo update
  cargo build --release --bin "$pkgname"
}

package() {
  cd "MLA-mlar-v$pkgver"
  install -Dm755 "target/release/$pkgname" "$pkgdir/usr/bin/$pkgname"
}