summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7ed121e2df2549d43a03541a56320cdd3333d42c (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
# Maintainer: blek <me@blek.codes>
pkgname=rage-bin
pkgver='0.9.2'
pkgrel=1
pkgdesc="A simple, secure and modern file encryption tool (and Rust library) with small explicit keys, no config options, and UNIX-style composability."
url="https://github.com/str4d/rage"
source_x86_64=( "https://github.com/str4d/rage/releases/download/v$pkgver/rage-v$pkgver-x86_64-linux.tar.gz" )
source_aarch64=( "https://github.com/str4d/rage/releases/download/v$pkgver/rage-v$pkgver-arm64-linux.tar.gz" )
source_armv7h=(  "https://github.com/str4d/rage/releases/download/v$pkgver/rage-v$pkgver-armv7-linux.tar.gz" )
arch=('x86_64' 'aarch64' 'armv7h')
license=('Apache-2.0 OR MIT')
depends=()
optdepends=('pinentry: GPG password prompt')
sha256sums_x86_64=(  '405b9b65397bad43ee481250472a8b0dfa8d62aaedbb7355590ca68077570e27' )
sha256sums_aarch64=( '50ed9f2acc88dfc437498c3d9acadabda6c1ffce22cae7879a07c24ae563e857' )
sha256sums_armv7h=(  '5be8b2bdb94ec9345b8d32b410c9dd3afa59b2148f6d16d4794fe7895e3e7c15' )

# wget $source_aarch64 &
# wget $source_armv7h &
# wait

# exit 0

package() {
  cd "$srcdir/rage"

  install -Dm755 rage "${pkgdir}/usr/bin/rage"
  install -Dm755 rage-mount "${pkgdir}/usr/bin/rage-mount"
  install -Dm755 rage-keygen "${pkgdir}/usr/bin/rage-keygen"
}