summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD10
2 files changed, 5 insertions, 9 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e346f763560..f5d43284e99 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,5 +1,5 @@
# Generated by mksrcinfo v8
-# Tue Jan 24 15:13:07 UTC 2017
+# Wed Feb 22 22:20:21 UTC 2017
pkgbase = pocketsphinx
pkgdesc = Lightweight speech recognition engine, specifically tuned for handheld and mobile devices, though it works equally well on the desktop.
pkgver = 5prealpha
@@ -16,9 +16,7 @@ pkgbase = pocketsphinx
depends = gst-plugins-base-libs
options = !libtool
source = http://downloads.sourceforge.net/cmusphinx/pocketsphinx-5prealpha.tar.gz
- source = https://raw.githubusercontent.com/cmusphinx/pocketsphinx/master/LICENSE
sha256sums = ef5bb5547e2712bdf571f256490ef42a47962033892efd9d7df8eed7fe573ed9
- sha256sums = 49181202f2b991d25f6cac8cd1705994494b9600d4311794ecbb9fcf8b188aef
pkgname = pocketsphinx
diff --git a/PKGBUILD b/PKGBUILD
index ee0b7685e2a..3217658a0b1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -11,10 +11,8 @@ url='http://cmusphinx.sourceforge.net'
license=('BSD')
makedepends=('swig' 'python2' 'python')
depends=('sphinxbase=5prealpha' 'gstreamer' 'gst-plugins-base-libs')
-source=("http://downloads.sourceforge.net/cmusphinx/$pkgname-$pkgver.tar.gz"
- "https://raw.githubusercontent.com/cmusphinx/pocketsphinx/master/LICENSE")
-sha256sums=('ef5bb5547e2712bdf571f256490ef42a47962033892efd9d7df8eed7fe573ed9'
- '49181202f2b991d25f6cac8cd1705994494b9600d4311794ecbb9fcf8b188aef')
+source=("http://downloads.sourceforge.net/cmusphinx/$pkgname-$pkgver.tar.gz")
+sha256sums=('ef5bb5547e2712bdf571f256490ef42a47962033892efd9d7df8eed7fe573ed9')
options=('!libtool')
prepare() {
@@ -53,8 +51,8 @@ package() {
cd "../$pkgname-$pkgver-py2/swig"
make DESTDIR="$pkgdir" install
- install -d -m755 "$pkgdir/usr/share/licenses/$pkgname"
- install -D -m644 "${srcdir}/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ install -d -m755 "${pkgdir}/usr/share/licenses/${pkgname}"
+ install -D -m644 "${srcdir}/${pkgname}-${pkgver}/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
libtool --finish "$pkgdir/usr/lib"
libtool --finish "$pkgdir/usr/lib/gstreamer-1.0"