diff options
-rw-r--r-- | .SRCINFO | 19 | ||||
-rw-r--r-- | PKGBUILD | 45 |
2 files changed, 42 insertions, 22 deletions
@@ -1,16 +1,23 @@ pkgbase = mbrola-voices-cz2 pkgdesc = A Czech male voice for the MBROLA synthesizer - pkgver = 001009 + pkgver = 15.6fa9693 pkgrel = 1 - url = http://tcts.fpms.ac.be/synthesis/mbrola.html + epoch = 1 + url = https://github.com/numediart/MBROLA-voices/ arch = any - groups = mbrola-voices-cz groups = mbrola-voices - groups = gespeaker-mbrola-voices license = custom depends = mbrola - source = http://tcts.fpms.ac.be/synthesis/mbrola/dba/cz2/cz2-001009.zip - md5sums = e9d28a9ec9ff4e6e43fa8bb3bc1577c3 + source = https://github.com/numediart/MBROLA-voices/raw/6fa9693c09bc98f21a519dd9460340db964bacab/data/cz2/cz2 + source = https://github.com/numediart/MBROLA-voices/raw/6fa9693c09bc98f21a519dd9460340db964bacab/data/cz2/README.txt + source = https://github.com/numediart/MBROLA-voices/raw/6fa9693c09bc98f21a519dd9460340db964bacab/data/cz2/license.txt + source = https://github.com/numediart/MBROLA-voices/raw/6fa9693c09bc98f21a519dd9460340db964bacab/data/cz2/Test/jednach_niz.pho + source = https://github.com/numediart/MBROLA-voices/raw/6fa9693c09bc98f21a519dd9460340db964bacab/data/cz2/Test/musimrict_niz.pho + sha256sums = 23f78d232781ce0785fbe1a7549efabc44b92fe7a64f8f2bff0d9aa743455d1f + sha256sums = 10c60ab223752776e41e9dac1817f8bb791a0454ed83de76b6544033371446ea + sha256sums = d63b1b1e6ef5f251c3044410fc2aa46f8fa7372a60c8f49092cd73785f0380dd + sha256sums = b2dbb9531b3aa5eafd112b4a32b7887c87ec46a3918c56f9363c108424f79f51 + sha256sums = 9006d041e71b922b947ce84b0fea01e2ffe80d1c86b4d9f1c7913b74f49a5e54 pkgname = mbrola-voices-cz2 @@ -1,24 +1,37 @@ -# Maintainer: Muflone <webreg@vbsimple.net> +# Maintainer: Muflone http://www.muflone.com/contacts/english/ + pkgname=mbrola-voices-cz2 -pkgver=001009 +epoch=1 +pkgver=15.6fa9693 pkgrel=1 -_pkgfile=cz2 +_pkgfile="${pkgname/mbrola-voices-/}" +_commit=6fa9693c09bc98f21a519dd9460340db964bacab pkgdesc="A Czech male voice for the MBROLA synthesizer" -arch=(any) -url="http://tcts.fpms.ac.be/synthesis/mbrola.html" -groups=(mbrola-voices-cz mbrola-voices gespeaker-mbrola-voices) -depends=(mbrola) -license=(custom) -source=("http://tcts.fpms.ac.be/synthesis/mbrola/dba/${_pkgfile}/${_pkgfile}-${pkgver}.zip") -md5sums=('e9d28a9ec9ff4e6e43fa8bb3bc1577c3') +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}/license.txt" + "https://github.com/numediart/MBROLA-voices/raw/${_commit}/data/${_pkgfile}/Test/jednach_niz.pho" + "https://github.com/numediart/MBROLA-voices/raw/${_commit}/data/${_pkgfile}/Test/musimrict_niz.pho") +sha256sums=('23f78d232781ce0785fbe1a7549efabc44b92fe7a64f8f2bff0d9aa743455d1f' + '10c60ab223752776e41e9dac1817f8bb791a0454ed83de76b6544033371446ea' + 'd63b1b1e6ef5f251c3044410fc2aa46f8fa7372a60c8f49092cd73785f0380dd' + 'b2dbb9531b3aa5eafd112b4a32b7887c87ec46a3918c56f9363c108424f79f51' + '9006d041e71b922b947ce84b0fea01e2ffe80d1c86b4d9f1c7913b74f49a5e54') package(){ - cd "${srcdir}" # Install license file - install -D -m 644 "license.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + install -m 644 -D "license.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" # Install files - for file in cz2 cz2.txt Test/* - do - install -D -m 644 "${file}" "${pkgdir}/usr/share/mbrola/${_pkgfile}/${file}" - done + 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" \ + jednach_niz.pho musimrict_niz.pho } |