diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 20 |
1 files changed, 15 insertions, 5 deletions
@@ -1,4 +1,8 @@ # Maintainer: Tim Visee <tim@visee.me> +# +# This PKGBUILD is managed externally, and is automatically updated here: +# - https://gitlab.com/timvisee/ffsend/blob/master/pkg/aur/ffsend/PKGBUILD +# - Mirror: https://github.com/timvisee/ffsend/blob/master/pkg/aur/ffsend/PKGBUILD pkgname=ffsend pkgver=0.2.42 @@ -6,13 +10,19 @@ pkgrel=1 pkgdesc="Easily and securely share files from the command line. A Firefox Send client." url="https://gitlab.com/timvisee/ffsend" license=('GPL3') -conflicts=('ffsend-git') -source=("ffsend::https://github.com/timvisee/ffsend/releases/download/v$pkgver/ffsend-v$pkgver-linux-x64-static") -sha256sums=('SKIP') -arch=('x86_64') +source=('ffsend-v$pkgver.tar.gz::https://gitlab.com/timvisee/ffsend/-/archive/v0.2.42/ffsend-v0.2.42.tar.gz') +sha256sums=('59e42d03f4e7a1092ce7b5bbaebd57d9810671cefa8805f027bf2b7d62f4e1fc') +arch=('x86_64' 'i686') +provides=('ffsend') depends=('ca-certificates') +makedepends=('openssl>=1.0' 'rust>=1.32' 'cargo' 'cmake') optdepends=('xclip: clipboard support') +build() { + cd "ffsend-v$pkgver" + env CARGO_INCREMENTAL=0 cargo build --release +} + package() { - install -D "$srcdir/ffsend" "$pkgdir/usr/bin/ffsend" + install -Dm755 "$srcdir/ffsend-v$pkgver/target/release/ffsend" "$pkgdir/usr/bin/ffsend" } |