Date: Monday, November 1, 2021 @ 22:24:40 Author: svenstaro Revision: 1035304
archrelease: copy trunk to community-x86_64 Added: av1an/repos/community-x86_64/ av1an/repos/community-x86_64/PKGBUILD (from rev 1035303, av1an/trunk/PKGBUILD) ----------+ PKGBUILD | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) Copied: av1an/repos/community-x86_64/PKGBUILD (from rev 1035303, av1an/trunk/PKGBUILD) =================================================================== --- community-x86_64/PKGBUILD (rev 0) +++ community-x86_64/PKGBUILD 2021-11-01 22:24:40 UTC (rev 1035304) @@ -0,0 +1,31 @@ +# Maintainer: Sven-Hendrik Haase <svenst...@gmail.com> +# Contributor: Nathaniel Chin <thegamingorangutans+aur at gmail.com> + +pkgname=av1an +pkgver=0.2.0 +pkgrel=1 +pkgdesc='Cross-platform command-line encoding framework with per scene quality encoding' +arch=('x86_64') +url='https://github.com/master-of-zen/Av1an' +license=('GPL3') +makedepends=('rust' 'nasm' 'clang') +depends=('ffmpeg' 'aom' 'vapoursynth') +optdepends=('svt-av1: SVT-AV1 encoder support' + 'rav1e: rav1e encoder support' + 'libvpx: vpx encoder support' + 'vmaf: VMAF calculation support' + 'mkvtoolnix-cli: mkvmerge support' + 'ffms2: FFMS2 chunk detection support' + 'vapoursynth-plugin-lsmashsource: L-SMASH chunk detection support') +source=("$pkgname-$pkgver.tar.gz"::https://github.com/master-of-zen/Av1an/archive/refs/tags/$pkgver.tar.gz) +sha256sums=('68169f0c8760cb7d42ab484a969ca5f092551352998d89c602ac3527542e6538') + +build() { + cd "Av1an-${pkgver}" + cargo build --release --locked +} + +package() { + cd "Av1an-${pkgver}" + install -Dm755 target/release/av1an "${pkgdir}/usr/bin/av1an" +}