Fix path of timing-fix.path
This commit is contained in:
parent
f270a39ed1
commit
30918edfc5
|
@ -1,26 +1,29 @@
|
|||
# Maintainer: Marco Pompili < marcs (dot) pompili (at) gmail (dot) com >
|
||||
# Contributor: Giorgio Gilestro crocowhile@gmail.com
|
||||
# Contributor: Martchus <martchus@gmx.net>
|
||||
# Contributor: Mladen Milinkovic <maxrd2@smoothware.net>
|
||||
|
||||
pkgname=sphinxbase
|
||||
pkgver=5prealpha
|
||||
pkgrel=5
|
||||
pkgdesc='Common library for sphinx speech recognition.'
|
||||
pkgdesc='Common library for sphinx speech recognition'
|
||||
url='http://cmusphinx.sourceforge.net/'
|
||||
arch=('i686' 'x86_64')
|
||||
license=('BSD')
|
||||
makedepends=('bison' 'swig' 'python2' 'python')
|
||||
depends=('lapack' 'libpulse') # not sure if libsamplerate is needed 'libsamplerate'
|
||||
depends=('lapack' 'libpulse')
|
||||
source=("http://downloads.sourceforge.net/project/cmusphinx/${pkgname}/${pkgver}/$pkgname-$pkgver.tar.gz"
|
||||
"https://raw.githubusercontent.com/cmusphinx/sphinxbase/master/LICENSE")
|
||||
md5sums=('ea27ea80bc14b96ad0a55fd5c94025d5'
|
||||
'b15c818b9504393d35df76807094a51c')
|
||||
"https://raw.githubusercontent.com/cmusphinx/sphinxbase/master/LICENSE"
|
||||
'timing-fix.patch')
|
||||
sha256sums=('06971dbe272d2f73bde0ef7b3538c0c8f8ea885cb171fd6b17a5975bced66e64'
|
||||
'8b4bc30d2a57839cba678bb84472a9b0b4c84725ed04b37508e5ed3476f03c19'
|
||||
'5e8b2bac5d9f84a1c7b7fd774ef2b3f8f6cfc9dcb415b10a66ef439f91f3d4c5')
|
||||
options=('!libtool')
|
||||
|
||||
prepare() {
|
||||
cd "$pkgname-$pkgver"
|
||||
cd "$srcdir/$pkgname-$pkgver"
|
||||
|
||||
patch -p1 < ../../timing-fix.patch
|
||||
patch -p1 < "$srcdir/timing-fix.patch"
|
||||
|
||||
msg2 "Reconfiguring project for Automake v1.15"
|
||||
autoreconf -ivf > /dev/null
|
||||
|
@ -32,7 +35,7 @@ prepare() {
|
|||
}
|
||||
|
||||
build() {
|
||||
cd "$pkgname-$pkgver-py2"
|
||||
cd "$srcdir/$pkgname-$pkgver-py2"
|
||||
|
||||
msg2 "Building Sphinxbase with Python 2 bindings..."
|
||||
./configure --prefix=/usr
|
||||
|
@ -46,7 +49,7 @@ build() {
|
|||
}
|
||||
|
||||
package() {
|
||||
cd "$pkgname-$pkgver-py2"
|
||||
cd "$srcdir/$pkgname-$pkgver-py2"
|
||||
|
||||
msg2 "Installing Sphinxbase with Python 2 bindings"
|
||||
make DESTDIR="$pkgdir/" install
|
||||
|
|
Loading…
Reference in New Issue