summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: fdd4eb92652d6e068fba55b244d2f99db0e95f78 (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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# Maintainer: Muflone http://www.muflone.com/contacts/english/
# Contributor: Changaco <me@changaco.net>

pkgname=mbrola-voices-fr1
pkgver=15.6fa9693
pkgrel=1
epoch=1
_pkgfile="${pkgname/mbrola-voices-/}"
_commit=6fa9693c09bc98f21a519dd9460340db964bacab
pkgdesc="A French male voice for the MBROLA synthesizer"
arch=('any')
url="https://github.com/numediart/MBROLA-voices/"
groups=('mbrola-voices')
depends=('mbrola')
license=('custom')
source=("https://github.com/numediart/MBROLA-voices/raw/${_commit}/data/${_pkgfile}/${_pkgfile}"
        "https://github.com/numediart/MBROLA-voices/raw/${_commit}/data/${_pkgfile}/README.txt"
        "https://github.com/numediart/MBROLA-voices/raw/${_commit}/data/${_pkgfile}/TEST/mbroli.ini"
        "https://github.com/numediart/MBROLA-voices/raw/${_commit}/data/${_pkgfile}/TEST/bonjour.pho"
        "https://github.com/numediart/MBROLA-voices/raw/${_commit}/data/${_pkgfile}/TEST/ceserait.pho"
        "https://github.com/numediart/MBROLA-voices/raw/${_commit}/data/${_pkgfile}/TEST/claire.pho"
        "https://github.com/numediart/MBROLA-voices/raw/${_commit}/data/${_pkgfile}/TEST/coup.pho"
        "https://github.com/numediart/MBROLA-voices/raw/${_commit}/data/${_pkgfile}/TEST/ileenf.pho"
        "https://github.com/numediart/MBROLA-voices/raw/${_commit}/data/${_pkgfile}/TEST/jaiete.pho"
        "https://github.com/numediart/MBROLA-voices/raw/${_commit}/data/${_pkgfile}/TEST/mavoix.pho"
        "https://github.com/numediart/MBROLA-voices/raw/${_commit}/data/${_pkgfile}/TEST/nouspouv.pho"
        "https://github.com/numediart/MBROLA-voices/raw/${_commit}/data/${_pkgfile}/TEST/tagada.pho"
        "https://github.com/numediart/MBROLA-voices/raw/${_commit}/data/${_pkgfile}/TEST/trenet.pho")
sha256sums=('b2e9693ab8712c027adf30393aec58291c162be97f5164a209a6a5a7835a53da'
            '8dbcb02ff04d66b1aa83aec0fe410820672bb1ed0ab2b8bd5f781d99e2ae561e'
            '1f321b99e41c8bbbf8c5a507dca6979f23a1bc5d2aec766ce1ba3c860fede259'
            '088baa3cd4bdccd5c824feb3cc2d3d1109b58c74778e9a34533e52bfb7655320'
            '619c50c94fe47b24643c6c2aff523ac657195bffd1d9648f9e6dde8436552097'
            'c99ee394ef98e9f132c7b040bb48be81975d8a667db7f03599f8eb17af1b6617'
            '69aaa2dc9ef453d33bf5920a790752cff85dd10f5ed04c82854cbda2fcfe21e2'
            '44a56c3860f2796afed49105d0533e07c8ee9e69a7e26326d26de54939553aff'
            '3c31a8bdc9143ff06568de2c06165d654aec5132a8062d5af490e97b7be9acd3'
            '5687f69ce2e2c5afa6bf34c43f487b01da7ae6d365cf543135d667077a77af64'
            'c4611c1e7b2b58aed7f16defc93b85cbb91d29e3856cd6326172e4acb3191e25'
            '8988c2702321a715a94856785cce69e464565feb7679de2187ac10100a0b1699'
            'a2ea1730e019a77bf0a6742652ad1a262b2758e226235455f6901fc46f6ef400')

package(){
  # Install license file
  install -m 755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
  ln -s "../../mbrola/${_pkgfile}/README.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
  # Install files
  install -m 755 -d "${pkgdir}/usr/share/mbrola/${_pkgfile}"
  install -m 644 -t "${pkgdir}/usr/share/mbrola/${_pkgfile}" \
    "${_pkgfile}" README.txt
  # Install test files
  install -m 755 -d "${pkgdir}/usr/share/mbrola/${_pkgfile}/TEST"
  install -m 644 -t "${pkgdir}/usr/share/mbrola/${_pkgfile}/TEST" \
    mbroli.ini bonjour.pho ceserait.pho claire.pho coup.pho ileenf.pho \
    jaiete.pho mavoix.pho nouspouv.pho tagada.pho trenet.pho
}