summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorMarco Pompili2017-02-22 23:21:25 +0100
committerMarco Pompili2017-02-22 23:21:25 +0100
commitf2705433e50340932974845d9634c359505ac647 (patch)
tree66f33e2e843cd21ed9757bd340c20ccd8765956a /PKGBUILD
parent4fe6c5341b971c0b7b478ea46dce7e38e7470d23 (diff)
downloadaur-f2705433e50340932974845d9634c359505ac647.tar.gz
Remove LICENSE from source
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD10
1 files changed, 4 insertions, 6 deletions
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"