blob: 952fdf74d5ca292821a07a30b0d1539c251c3863 (
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
37
38
|
# Maintainer: desbma
pkgname=abchr
pkgver=0.5b
pkgrel=3
pkgdesc='Tool to do ABC/HR or ABX blind tests on audio files'
arch=('any')
url='http://www.rarewares.org/others.php#java-abc-hr'
license=('LGPL')
depends=('bash' 'java-runtime>=6')
optdepends=('faad2: AAC (MP4, M4A) decoding support'
'flac: FLAC decoding support'
'lame: MP3 decoding support'
'mac: Monkeys Audio (APE) decoding support'
'musepack-tools: Musepack (MPC) decoding support'
'opus-tools: Opus decoding support'
'vorbis-tools: Vorbis (OGG) decoding support'
'wavpack: WavPack (WV) decoding support')
source=("http://www.rarewares.org/files/others/${pkgname}-java-${pkgver}.zip"
'abchr'
'clicodecs.cfg.patch')
sha512sums=('322b3ba473dd39ed3c75a82d932ba67f8d651492e7a2adb2ea8d106372e79ac4b002452e06da56fa36ebfd5282d7bd2986d8f5bf079695bbfb2992011aaea889'
'4bfe670dee0f44bf137599f99b3238f6dee16bc4e9edb47dff75d88f9dd2a005809a48dbe6a8228cb87d750b5e15dd2447e4d200b1ce113d62265303795ec9bf'
'40c74828e6d63829945c9d5660f925c85acf721ebe5e61451fcd7386a31583917bbae319ce3d7a1f1b6d9dfe2cfd93f7e6b593caa5deb98c85bab641e3aeb02f')
prepare() {
cd "abchr-java"
patch -i "${srcdir}/clicodecs.cfg.patch" clicodecs.cfg
}
package() {
cd "abchr-java"
install -Dm 644 -t "${pkgdir}/usr/share/java/${pkgname}" *.jar
install -Dm 644 -t "${pkgdir}/usr/share/${pkgname}" clicodecs.cfg
cd "${srcdir}"
install -Dm 755 -t "${pkgdir}/usr/bin" abchr
}
|