diff options
author | Muflone | 2015-06-13 18:55:07 +0200 |
---|---|---|
committer | Muflone | 2015-06-13 18:55:07 +0200 |
commit | 52619af83c35f0d7c44219884afb36ae28243afd (patch) | |
tree | a8a2285e1ba0f037bfde08cfff3cd81b84144e98 /PKGBUILD | |
download | aur-52619af83c35f0d7c44219884afb36ae28243afd.tar.gz |
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..c42b74f145c5 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,33 @@ +# Maintainer: Muflone http://www.muflone.com/contacts/english/ +# Contributor: Simone Sclavi 'Ito' <darkhado@gmail.com> +# Contributor: Changaco <changaco@changaco.net> + +pkgname=mbrola +pkgver=3.0.1h +pkgrel=5 +pkgdesc="A phoneme-to-audio converter used by many TTS (Text-to-speech) programs" +arch=('i686' 'x86_64') +url="http://tcts.fpms.ac.be/synthesis/mbrola.html" +license=('custom:Mbrola') +depends_i686=('glibc') +depends_x86_64=('lib32-glibc') +source=("http://tcts.fpms.ac.be/synthesis/${pkgname}/bin/pclinux/mbr${pkgver//./}.zip") +sha256sums=('df402fad97c823206fce68837c1d716b9c0466a4cfb554dfb244df7da5589d6e') + +build() { + # Prepare license file + sed -n '/This program and object/,/2.0 A brief description of MBROLA/p' readme.txt | head -n -1 > "LICENSE" +} + +package() { + # Install executable file + install -m 755 -d "${pkgdir}/usr/bin" + install -m 755 "mbrola-linux-i386" "${pkgdir}/usr/bin/${pkgname}" + # Install license file + install -m 755 -d "${pkgdir}/usr/share/licenses/${pkgname}" + install -m 644 -t "${pkgdir}/usr/share/licenses/${pkgname}" "LICENSE" + # Install documentation file + install -m 755 -d "${pkgdir}/usr/share/doc/${pkgname}" + install -m 644 -t "${pkgdir}/usr/share/doc/${pkgname}" "readme.txt" +} + |