summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJaroslav Lichtblau2014-12-19 16:10:52 +0100
committerJaroslav Lichtblau2014-12-19 16:10:52 +0100
commit4bda4baa39a526e1e5853ff9a6c0fa60867bd22f (patch)
tree104f80f183f2cd4e93c55a501038309870ba17d3
parent2832b12d11ecd1cda85d2e18ecf5611adffde885 (diff)
downloadaur-4bda4baa39a526e1e5853ff9a6c0fa60867bd22f.tar.gz
janet-0.2.4-2
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD20
-rw-r--r--janet.install5
3 files changed, 18 insertions, 12 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 489200206c8c..6e5813b49224 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,9 @@
pkgbase = janet
pkgdesc = A Digital life assistant (DLA) that provides a framework allowing various components to communicate, inspired by Iron Man's JARVIS
pkgver = 0.2.4
- pkgrel = 1
+ pkgrel = 2
url = http://sites.google.com/site/projectjanet
+ install = janet.install
arch = i686
arch = x86_64
license = CCPL:by-nc
@@ -12,7 +13,7 @@ pkgbase = janet
depends = simon
optdepends = htk: For customizing simon
source = http://sourceforge.net/projects/project-janet/files/Binaries/Bin.tar.gz
- sha256sums = f0281fa070afc61d7f2ca2f8eac0cba782b5167b2de93a6267b29242ee40877b
+ sha256sums = da11df7acfaa2f9c77885a576ce2eb9e738ce43722daf9e1c5e332bccf93b43e
pkgname = janet
diff --git a/PKGBUILD b/PKGBUILD
index 6c42cd8b7482..f3876ad7e08f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,28 +3,28 @@
pkgname=janet
pkgver=0.2.4
-pkgrel=1
+pkgrel=2
pkgdesc="A Digital life assistant (DLA) that provides a framework allowing various components to communicate, inspired by Iron Man's JARVIS"
arch=('i686' 'x86_64')
url="http://sites.google.com/site/projectjanet"
license=('CCPL:by-nc' 'GPL')
depends=('monodevelop' 'festival' 'simon')
optdepends=('htk: For customizing simon')
+install=$pkgname.install
source=(http://sourceforge.net/projects/project-janet/files/Binaries/Bin.tar.gz)
-sha256sums=('f0281fa070afc61d7f2ca2f8eac0cba782b5167b2de93a6267b29242ee40877b')
+sha256sums=('da11df7acfaa2f9c77885a576ce2eb9e738ce43722daf9e1c5e332bccf93b43e')
package() {
- cd "${srcdir}"
+ cd "${srcdir}"/Bin
- mkdir -p /usr/share/$pkgname/scripts
- cp -R ./* /usr/share/$pkgname/.
-
-# create jaNET launcher script
- cat <<EOF >>/usr/bin/$pkgname
+ install -d "${pkgdir}"/usr/{bin,share/$pkgname/scripts}
+ cp -R ./* "${pkgdir}"/usr/share/$pkgname/.
+
+#create jaNET launcher script
+ cat <<EOF >>"${pkgdir}"/usr/bin/$pkgname
#!/bin/sh
/usr/bin/mono /usr/share/$pkgname/jaNET.exe "\$\@"
EOF
- chmod a+x /usr/bin/$pkgname
- echo -e 'Take a look at the http://wiki.archlinux.org/index.php/JaNET, to see voice festival and simon settings'
+ chmod a+x "${pkgdir}"/usr/bin/$pkgname
}
diff --git a/janet.install b/janet.install
new file mode 100644
index 000000000000..97648371e0a0
--- /dev/null
+++ b/janet.install
@@ -0,0 +1,5 @@
+post_install() {
+cat <<EOF
+ >> Take a look at the http://wiki.archlinux.org/index.php/JaNET to see voice festival and simon settings
+EOF
+}