summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Vágner2015-10-29 09:25:27 +0100
committerPeter Vágner2015-10-29 09:25:27 +0100
commitb18a20ed06e004fac953643b651921221ecdb383 (patch)
treeb166657bc9ada5b2531cc56e7b4dbd9e48b33a54
parent0576d795fc5ae5c5a78cc78f7a4e06c3a6787ec3 (diff)
downloadaur-b18a20ed06e004fac953643b651921221ecdb383.tar.gz
Also install speechd-log-extractor script and add makedepends packages
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD13
2 files changed, 13 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 0c68e0d316f..cae6dd90f70 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,14 +1,18 @@
pkgbase = emacs-speechd-el-git
pkgdesc = Emacs speech and Braille output interface
pkgver = 20141025.3d72981
- pkgrel = 1
+ pkgrel = 2
url = http://devel.freebsoft.org/speechd-el
install = emacs-speechd-el-git.install
arch = any
license = GPL
+ makedepends = git
+ makedepends = make
+ makedepends = texinfo
depends = emacs
optdepends = speech-dispatcher: for speech output
optdepends = brltty: for braille support
+ optdepends = perl: for speechd-log-extractor script
provides = emacs-speechd-el=$pkgver
conflicts = emacs-speechd-el
source = git://git.freebsoft.org/git/speechd-el
diff --git a/PKGBUILD b/PKGBUILD
index f961949cc04..07357bd9ab9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,14 +2,16 @@
pkgname=emacs-speechd-el-git
pkgver=20141025.3d72981
-pkgrel=1
+pkgrel=2
pkgdesc="Emacs speech and Braille output interface"
url="http://devel.freebsoft.org/speechd-el"
arch=('any')
license=('GPL')
depends=('emacs')
+makedepends=('git' 'make' 'texinfo')
optdepends=('speech-dispatcher: for speech output'
- 'brltty: for braille support')
+ 'brltty: for braille support'
+ 'perl: for speechd-log-extractor script')
conflicts=('emacs-speechd-el')
provides=('emacs-speechd-el=$pkgver')
install=emacs-speechd-el-git.install
@@ -24,15 +26,16 @@ pkgver() {
build() {
cd $srcdir/$_gitname
- make compile
- make info
+ make
}
package() {
cd $srcdir/$_gitname
el_dir=/usr/share/emacs/site-lisp/speechd-el
info_dir=/usr/share/info
- install -m 755 -d $pkgdir{$el,$info}_dir
+ bin_dir=/usr/bin
+ install -m 755 -d $pkgdir{$el,$info,$bin}_dir
install -m 644 -t $pkgdir$el_dir *.el{,c}
install -m 644 -t $pkgdir$info_dir *.info
+ install -m 755 -t $pkgdir/usr/bin/ speechd-log-extractor
}