summaryrefslogtreecommitdiffstats
path: root/extra/speech-dispatcher/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'extra/speech-dispatcher/Pkgfile')
-rw-r--r--extra/speech-dispatcher/Pkgfile14
1 files changed, 7 insertions, 7 deletions
diff --git a/extra/speech-dispatcher/Pkgfile b/extra/speech-dispatcher/Pkgfile
index 51ab76016..0570aece9 100644
--- a/extra/speech-dispatcher/Pkgfile
+++ b/extra/speech-dispatcher/Pkgfile
@@ -7,7 +7,7 @@
name=speech-dispatcher
version=0.7.1
-release=3
+release=4
source=( http://devel.freebsoft.org/pub/projects/speechd/$name-$version.tar.gz speechd.rc )
build ()
@@ -20,13 +20,13 @@ build ()
make DESTDIR=$PKG install
install -Dm755 $SRC/speechd.rc $PKG/etc/rc.d/init.d/speechd
- install -d ${pkgdir}/var/log/speech-dispatcher
+ install -d $PKG/var/log/speech-dispatcher
- sed -i -e 's|#!/usr/bin/python|#!/usr/bin/python2|' ${pkgdir}/usr/bin/spd-conf
- sed -i -e 's|#!/usr/bin/env python|#!/usr/bin/env python2|' ${pkgdir}/usr/lib/python2.7/site-packages/speechd/_test.py
+ sed -i -e 's|#!/usr/bin/python|#!/usr/bin/python2|' $PKG/usr/bin/spd-conf
+ sed -i -e 's|#!/usr/bin/env python|#!/usr/bin/env python2|' $PKG/usr/lib/python2.7/site-packages/speechd/_test.py
- rm -f ${pkgdir}/usr/share/info/dir
- gzip -9nf ${pkgdir}/usr/share/info/*
- rm -r ${pkgdir}/usr/bin/run_test
+ rm -f $PKG/usr/share/info/dir
+ gzip -9nf $PKG/usr/share/info/*
+ mv $PKG/usr/bin/run_test $PKG/usr/bin/spd-run_test
}