summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO29
-rw-r--r--PKGBUILD56
2 files changed, 62 insertions, 23 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 275a8a2b09c..8448f258e69 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,15 +1,32 @@
pkgbase = mbrola-voices-ca2
pkgdesc = A Canadian French male voice for the MBROLA synthesizer
- pkgver = 1
- pkgrel = 2
- url = http://tcts.fpms.ac.be/synthesis/mbrola.html
+ pkgver = 15.6fa9693
+ pkgrel = 1
+ url = https://github.com/numediart/MBROLA-voices/
arch = any
- groups = mbrola-voices-ca
groups = mbrola-voices
license = custom
depends = mbrola
- source = http://tcts.fpms.ac.be/synthesis/mbrola/dba/ca2/ca2.zip
- md5sums = 48934187a27b2b70fffbabe60c6a43cb
+ source = https://github.com/numediart/MBROLA-voices/raw/6fa9693c09bc98f21a519dd9460340db964bacab/data/ca2/ca2
+ source = https://github.com/numediart/MBROLA-voices/raw/6fa9693c09bc98f21a519dd9460340db964bacab/data/ca2/README.txt
+ source = https://github.com/numediart/MBROLA-voices/raw/6fa9693c09bc98f21a519dd9460340db964bacab/data/ca2/license.txt
+ source = https://github.com/numediart/MBROLA-voices/raw/6fa9693c09bc98f21a519dd9460340db964bacab/data/ca2/test/mbroli.ini
+ source = https://github.com/numediart/MBROLA-voices/raw/6fa9693c09bc98f21a519dd9460340db964bacab/data/ca2/test/apres_la_pluise.pho
+ source = https://github.com/numediart/MBROLA-voices/raw/6fa9693c09bc98f21a519dd9460340db964bacab/data/ca2/test/est-ce_Choeur.pho
+ source = https://github.com/numediart/MBROLA-voices/raw/6fa9693c09bc98f21a519dd9460340db964bacab/data/ca2/test/hier.pho
+ source = https://github.com/numediart/MBROLA-voices/raw/6fa9693c09bc98f21a519dd9460340db964bacab/data/ca2/test/ilsepen_good.pho
+ source = https://github.com/numediart/MBROLA-voices/raw/6fa9693c09bc98f21a519dd9460340db964bacab/data/ca2/test/kundera.pho
+ source = https://github.com/numediart/MBROLA-voices/raw/6fa9693c09bc98f21a519dd9460340db964bacab/data/ca2/test/mbrola.pho
+ sha256sums = 7ed9450b8ff8db4af3de15356f158b8e1c0cbe1fb7b4be4e4894147068b1089e
+ sha256sums = 33acfea90c59c2df4b00b360c83173dc2663d249d4f8d09dfb58b7d708a9ad5b
+ sha256sums = 286bca345fa83dd9a6e3b76228e2ba132d6c8ec0c6b12ea86a04368dfd375e62
+ sha256sums = 34e24c153f7b040dea7a16ecd0a207726121744eb09a0fb38bb91d70690688e7
+ sha256sums = 6b76a694e5e727a5ea610ecec2473de928f2a1005894a9be15f53906dac505d0
+ sha256sums = 69b7ec606d3a710d0ea82ea735def94d235338b006f81fd92c75ea82f3c1a093
+ sha256sums = 56414ee29eb4fb7daa92a2a6a0058b42de4d344cfff14bff1a441d98182f3119
+ sha256sums = 9b481c206468d5cf4c6c003fca8432dfd47fa1e68f2b239b6c39b92d312e3733
+ sha256sums = 6e609ceceee9f07490977a115791515526f12f15646b8b76f63dc3ee063aebe1
+ sha256sums = 7ba14963f8783e7c459a83918b5564d78351d4c2ae552720d1685a806146a7b9
pkgname = mbrola-voices-ca2
diff --git a/PKGBUILD b/PKGBUILD
index 23619731f55..5dcc8d1f23a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,25 +1,47 @@
-# Maintainer: Muflone <webreg@vbsimple.net>
+# Maintainer: Muflone http://www.muflone.com/contacts/english/
# Contributor: Changaco <me@changaco.net>
+
pkgname=mbrola-voices-ca2
-pkgver=1
-pkgrel=2
-_pkgfile=ca2
+pkgver=15.6fa9693
+pkgrel=1
+_pkgfile="${pkgname/mbrola-voices-/}"
+_commit=6fa9693c09bc98f21a519dd9460340db964bacab
pkgdesc="A Canadian French male voice for the MBROLA synthesizer"
-arch=(any)
-url="http://tcts.fpms.ac.be/synthesis/mbrola.html"
-groups=(mbrola-voices-ca mbrola-voices)
-depends=(mbrola)
-license=(custom)
-source=("http://tcts.fpms.ac.be/synthesis/mbrola/dba/${_pkgfile}/${_pkgfile}.zip")
-md5sums=('48934187a27b2b70fffbabe60c6a43cb')
+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/mbroli.ini"
+ "https://github.com/numediart/MBROLA-voices/raw/${_commit}/data/${_pkgfile}/test/apres_la_pluise.pho"
+ "https://github.com/numediart/MBROLA-voices/raw/${_commit}/data/${_pkgfile}/test/est-ce_Choeur.pho"
+ "https://github.com/numediart/MBROLA-voices/raw/${_commit}/data/${_pkgfile}/test/hier.pho"
+ "https://github.com/numediart/MBROLA-voices/raw/${_commit}/data/${_pkgfile}/test/ilsepen_good.pho"
+ "https://github.com/numediart/MBROLA-voices/raw/${_commit}/data/${_pkgfile}/test/kundera.pho"
+ "https://github.com/numediart/MBROLA-voices/raw/${_commit}/data/${_pkgfile}/test/mbrola.pho")
+sha256sums=('7ed9450b8ff8db4af3de15356f158b8e1c0cbe1fb7b4be4e4894147068b1089e'
+ '33acfea90c59c2df4b00b360c83173dc2663d249d4f8d09dfb58b7d708a9ad5b'
+ '286bca345fa83dd9a6e3b76228e2ba132d6c8ec0c6b12ea86a04368dfd375e62'
+ '34e24c153f7b040dea7a16ecd0a207726121744eb09a0fb38bb91d70690688e7'
+ '6b76a694e5e727a5ea610ecec2473de928f2a1005894a9be15f53906dac505d0'
+ '69b7ec606d3a710d0ea82ea735def94d235338b006f81fd92c75ea82f3c1a093'
+ '56414ee29eb4fb7daa92a2a6a0058b42de4d344cfff14bff1a441d98182f3119'
+ '9b481c206468d5cf4c6c003fca8432dfd47fa1e68f2b239b6c39b92d312e3733'
+ '6e609ceceee9f07490977a115791515526f12f15646b8b76f63dc3ee063aebe1'
+ '7ba14963f8783e7c459a83918b5564d78351d4c2ae552720d1685a806146a7b9')
package(){
- cd "${srcdir}/${_pkgfile}"
# 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 ca2 Ca2.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" \
+ mbroli.ini apres_la_pluise.pho est-ce_Choeur.pho hier.pho ilsepen_good.pho kundera.pho mbrola.pho
}