summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3f33da7bc839fc1b6f1017f0181d55b93c5e9b61 (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
# Maintainer: Sematre <sematre at gmx dot de>
pkgname=eac3to
pkgver=3.36
pkgrel=1

pkgdesc="Audio/Video processing software with focus on new generation HD formats, Blu-ray and HD DVD."
arch=('x86_64')
url="https://forum.doom9.org/showthread.php?t=125966"
license=('custom')
depends=('wine')
source=("${pkgname}-${pkgver}.zip::http://madshi.net/eac3to.zip"
        "start-eac3to.sh")
sha256sums=('e7977cf3e87310619986b3d1d30385f66b297b189594ead3d6518b0673c05905'
            '4f432b56086214d16e38687db5fd077fddebd7c0e6586980e3b4df35a42021d0')

package() {
	cd "${srcdir}/${pkgname}"

	# Install the executable
	install -Dm644 "eac3to.exe"      -t "${pkgdir}/usr/share/eac3to"
	install -Dm755 "${srcdir}/start-eac3to.sh"    "${pkgdir}/usr/bin/eac3to"

	# Install the DLLs
	find . -name '*.dll' -exec install -Dm644 "{}" -t "${pkgdir}/usr/share/eac3to" \;

	# Install the sound files
	find . -name '*.wav' -exec install -Dm644 "{}" -t "${pkgdir}/usr/share/eac3to" \;

	# License
	install -Dm644 "license.txt"    "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}