diff options
author | Marco Pompili | 2017-02-22 23:28:44 +0100 |
---|---|---|
committer | Marco Pompili | 2017-02-22 23:28:44 +0100 |
commit | 2adaa85d1d333ff874a052cac263b04e7301db14 (patch) | |
tree | d916b29130ab428fd99cfdf0eb11142d6591a424 | |
parent | 3fc221a2ab195d015f41253df29bbc32d4d83168 (diff) | |
download | aur-2adaa85d1d333ff874a052cac263b04e7301db14.tar.gz |
Version 5prealpha-9, fix pkg vars
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 28 |
2 files changed, 16 insertions, 16 deletions
@@ -1,9 +1,9 @@ # Generated by mksrcinfo v8 -# Wed Feb 22 22:14:19 UTC 2017 +# Wed Feb 22 22:28:10 UTC 2017 pkgbase = sphinxbase pkgdesc = Common library for sphinx speech recognition. pkgver = 5prealpha - pkgrel = 8 + pkgrel = 9 url = http://cmusphinx.sourceforge.net/ arch = i686 arch = x86_64 @@ -5,21 +5,21 @@ pkgname=sphinxbase pkgver=5prealpha -pkgrel=8 +pkgrel=9 pkgdesc='Common library for sphinx speech recognition.' url='http://cmusphinx.sourceforge.net/' arch=('i686' 'x86_64') license=('BSD') makedepends=('bison' 'swig') depends=('python2' 'python' 'lapack' 'libpulse') # not sure if libsamplerate is needed 'libsamplerate' -source=("http://downloads.sourceforge.net/project/cmusphinx/${pkgname}/${pkgver}/$pkgname-$pkgver.tar.gz" +source=("http://downloads.sourceforge.net/project/cmusphinx/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz" "timing-fix.patch") sha256sums=('f72bdb59e50b558bed47cc2105777200d2b246a0f328e913de16a9b22f9a246f' '5e8b2bac5d9f84a1c7b7fd774ef2b3f8f6cfc9dcb415b10a66ef439f91f3d4c5') options=('!libtool') prepare() { - cd "$pkgname-$pkgver" + cd "${pkgname}-${pkgver}" #as release 6 seems the patch is no longer needed #msg2 "Applying timing fix patch" @@ -30,18 +30,18 @@ prepare() { cd .. - cp -R "$pkgname-$pkgver" "$pkgname-$pkgver-py2" - cp -R "$pkgname-$pkgver" "$pkgname-$pkgver-py3" + cp -R "${pkgname}-${pkgver}" "${pkgname}-${pkgver}-py2" + cp -R "${pkgname}-${pkgver}" "${pkgname}-${pkgver}-py3" } build() { - cd "$pkgname-$pkgver-py2" + cd "${pkgname}-${pkgver}-py2" msg2 "Building Sphinxbase with Python 2 bindings..." ./configure --prefix=/usr make - cd "../$pkgname-$pkgver-py3" + cd "../${pkgname}-${pkgver}-py3" msg2 "Building Sphinxbase with Python 3 bindings..." export PYTHON=/usr/bin/python2 ./configure --prefix=/usr @@ -49,20 +49,20 @@ build() { } package() { - cd "$pkgname-$pkgver-py2" + cd "${pkgname}-${pkgver}-py2" msg2 "Installing Sphinxbase with Python 2 bindings" - make DESTDIR="$pkgdir/" install + make DESTDIR="${pkgdir}/" install msg2 "Installing Python 3 bindings" - cd "../$pkgname-$pkgver-py3/swig" - make DESTDIR="$pkgdir/" install + cd "../${pkgname}-${pkgver}-py3/swig" + make DESTDIR="${pkgdir}/" install install -d "${pkgdir}/usr/share/licenses/${pkgname}" install -m644 "${srcdir}/${pkgname}-${pkgver}/LICENSE" \ "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" - libtool --finish "$pkgdir/usr/lib" - libtool --finish "$pkgdir/usr/lib/python2.7/site-packages/sphinxbase" - libtool --finish "$pkgdir/usr/lib/python3.6/site-packages/sphinxbase" + libtool --finish "${pkgdir}/usr/lib" + libtool --finish "${pkgdir}/usr/lib/python2.7/site-packages/sphinxbase" + libtool --finish "${pkgdir}/usr/lib/python3.6/site-packages/sphinxbase" } |