summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0a19336dd94c9a29a3676b4ba8c062dcd509ebf4 (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
31
32
33
34
35
36
# Maintainer: demon-rem <demonicrem@gmail.com>
pkgname=auto-sub
pkgver=0.0.1
pkgrel=1
pkgdesc="A tool to batch add subtitles, chapters, tags, attachments to media files. Uses FFmpeg in backend"
arch=('x86_64')
url="https://github.com/demon-rem/${pkgname}"
license=('MIT')
groups=()
depends=('ffmpeg')
makedepends=('git')
provides=('auto-sub')
conflicts=('auto-sub')
replaces=()
backup=()
options=()
install=
source=(
	"${pkgname}_${pkgver}.gz::${url}/releases/download/${pkgver}/${pkgname}_${pkgver}_linux_x86_64.gz" 
	"${pkgname}::git+${url}"
)
noextract=()
validpgpkeys=()

package() {
	install -Dm 777 "${pkgname}_${pkgver}" "${pkgdir}/usr/bin/${pkgname}"

	cd $pkgname
	install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
	install -Dm644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md"
}

sha256sums=(
	'14fdd8fcb05d0b58e2630b64342157fc4d541759aa9fc3364c22763ec8b980b7'
	'SKIP'
)