summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3ed4217de5c7b93ea5a0dce9057f9d70492b9a84 (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
# Maintainer: 
# Contributor: Fabio 'Lolix' Loli <fabio.loli@disroot.org>
# Contributor: Mogeko <zhengjunyi@live.com>

pkgname=alass
pkgver=2.0.0
pkgrel=2
pkgdesc="Automatic Language-Agnostic Subtitle Synchronization"
arch=('x86_64')
url='https://github.com/kaegi/alass'
license=('GPL3')
depends=('ffmpeg')
makedepends=('cargo')
options=(!lto)
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/kaegi/alass/archive/refs/tags/v${pkgver}.tar.gz")
sha256sums=('ce88f92c7a427b623edcabb1b64e80be70cca2777f3da4b96702820a6cdf1e26')

build() {
  cd "$srcdir/$pkgname-$pkgver"
  cargo build --release
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  install -Dm755 target/release/alass-cli "${pkgdir}/usr/bin/alass"
}