You are not logged in.

#1 2010-07-08 20:17:27

surfhai
Member
Registered: 2010-06-26
Posts: 6

PKGBUILD simon

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 smile

Last edited by surfhai (2010-07-08 20:18:00)

Offline

#2 2010-07-08 21:01:10

tdy
Member
From: Sacremende
Registered: 2008-12-14
Posts: 440

Re: PKGBUILD simon

Have you tried the AUR package?

http://aur.archlinux.org/packages.php?ID=14718

Offline

#3 2010-07-08 21:19:00

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: PKGBUILD simon

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

#4 2010-07-08 21:21:43

surfhai
Member
Registered: 2010-06-26
Posts: 6

Re: PKGBUILD simon

oh, I haven't seen that the package already exists...

Offline

#5 2010-09-05 14:33:49

Kosava
Member
From: Serbia
Registered: 2008-08-19
Posts: 127

Re: PKGBUILD simon

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-$pkgver

  cmake -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

Board footer

Powered by FluxBB