You are not logged in.
Hi,
here I've gathered some informations
# This is an example PKGBUILD file. Use this as a start to creating your own,
# and remove these comments. For more information, see 'man PKGBUILD'.
# NOTE: Please fill out the license field for your package! If it is unknown,
# then please put 'unknown'.
# Maintainer:
pkgname=simon
pkgver=0.3a3
pkgrel=1
pkgdesc="julius CSR engine based speech recognition, speech modelling, acoustic modelling and voice controll"
arch=('i686' 'x86_64')
url="http://www.simon-listens.org/"
license=('GPL')
groups=()
depends=('htk')
makedepends=('cmake')
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=(http://downloads.sourceforge.net/sourceforge/speech2text/$pkgname-$pkgver.tar.gz)
md5sums=() #generate with 'makepkg -g'
build() {
cd "$srcdir/$pkgname-$pkgver"
./configure --prefix=/usr
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir/" install
}
and here is the build.sh file from the sources
#!/bin/bash
# This script will build and install simon
mkdir build 2> /dev/null
cd build && cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` .. && make ; touch ./julius/gramtools/mkdfa/mkfa-1.44-flex/* && make && su -c 'make install && ldconfig' && kbuildsycoca4 && echo -e "**** Build completed ****\n\nThe executable file \"simon\" is now ready and has been installed.\n\nIssue \"simon\" to start it."
I don't know how to rewrite this to get the PKGBUILD working. Maybe someone else
Last edited by surfhai (2010-07-08 20:18:00)
Offline
Have you tried the AUR package?
Offline
Well... don't try it as it is - version 0.2, out of date etc - but use it as your starting point, amending as required to build the current release.
Offline
oh, I haven't seen that the package already exists...
Offline
Hello i maked correct PKGBUILD for simon here is
# Contributor: Košava <kosava@gmail.com>
pkgname=simon
pkgver=0.3a3
pkgrel=1
pkgdesc="A ready-to-use interface for the julius CSR engine for a handicapped person, which is not able to use the keyboard well."
arch=('i686' 'x86_64')
url="http://simon-listens.org/"
license=('GPL')
depends=('portaudio' 'qt' 'htk')
makedepends=('automoc4' 'cmake')
source=(http://downloads.sourceforge.net/speech2text/simon-${pkgver}.tar.bz2)md5sums=('1f208cd572ffbc9a947ccd47a0cfe3b7')
build() {
cd $srcdir/$pkgname-$pkgvercmake -DCMAKE_INSTALL_PREFIX=/usr .
make || return 1
make DESTDIR=${pkgdir} install
}
Package work build on i686 and for x86_64 but i have problem on x86_64 htk wont to build can someone help with that
Last edited by Kosava (2010-09-05 14:36:58)
Offline