summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorThorben Günther2018-06-12 11:43:21 +0200
committerThorben Günther2018-06-12 11:43:21 +0200
commit4e97c3bc2016fa2055315d395179b3ca966cef58 (patch)
tree0031227a63082e5f46bcd6996b4977821efdb410
parent5494cddb1f9daa6e3749b1ec34834b08558fdc2e (diff)
downloadaur-4e97c3bc2016fa2055315d395179b3ca966cef58.tar.gz
New version and a patch for disabling notify-send.
-rw-r--r--.SRCINFO10
-rw-r--r--.gitignore1
-rw-r--r--PKGBUILD19
-rw-r--r--mycroft-core.install1
-rw-r--r--notify.patch12
5 files changed, 33 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index fd27b44ba94f..0f7fc9722e68 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = mycroft-core
pkgdesc = Mycroft Core, the Mycroft Artificial Intelligence platform.
- pkgver = 18.2.7
+ pkgver = 18.2.8
pkgrel = 1
url = https://github.com/MycroftAI/mycroft-core
install = mycroft-core.install
@@ -34,14 +34,16 @@ pkgbase = mycroft-core
depends = mimic
depends = jq
depends = fann
- source = https://github.com/MycroftAI/mycroft-core/archive/release/v18.2.7.tar.gz
+ source = https://github.com/MycroftAI/mycroft-core/archive/release/v18.2.8.tar.gz
source = mycroft-core.install
source = venv_init
source = mycroft.service
- sha512sums = c673e331a76f6a759b1d57deb0591331899a34236c9350f32ff67fd7737b6d35ad0b3d76891ee154cffdc8132c188b06b0a7fb5e1ea3e2236ac067b0a088dac3
- sha512sums = 7d387018b88974db86307edc951e347c4fd45f6929df0f5f2ea47b03aafda0f5b6335d1b742642fb5fcca08cbe20586ca2b543aaa3404f0e75bcb62914be568e
+ source = notify.patch
+ sha512sums = 8233a1537a299cf663af88b395a9bd4cdff36d8a19064a20b15d57e1511f98841b42fe0affca618a0937148ea1ec1b8997e1d81dbe0ff52c44a599391fa815fd
+ sha512sums = f4649e20c2c9f220ac15d8abcade267a3e40e61e2c82175802fc2e5da726dd051c281c21a96641f41f671bef51d44c5f034a87968f8d747909bc979270ce9baa
sha512sums = 6773fd4dbf852d4129a97041677311cff0c25e8b9cf1e822a8b63df6fcb16c4af1d1afc128c375488b479f1892e6173d37accf57c28a0f9ceb6e643dd906ecc6
sha512sums = 67c228fb4a25d1ce529d1689e81703284015ab2721cecdac8264a94e1a41e629e6b6cb82566d41744ebce0d84b7e5c54156cc62c447f7b10b41e012682d0e146
+ sha512sums = 650503ad33d7b7f8f5d6bbeb20fc0c8b887f2a20d6009bc67c9a75e38d882df9c1edee550d4d16fc4d34e0dd56689c398c6e832230844bd9f0dfedd770d0b925
pkgname = mycroft-core
diff --git a/.gitignore b/.gitignore
index cd7b1b2c08e4..5b45f018319d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
*.pkg.tar.xz
+*.tar.gz
mycroft-core/
src/
diff --git a/PKGBUILD b/PKGBUILD
index f99f8b6e5d6b..274f4ad0f3e0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Thorben Guenther <echo YWRtaW5AeGVucm94Lm5ldAo= | base64 -d>
pkgname=mycroft-core
-pkgver=18.2.7
+pkgver=18.2.8
pkgrel=1
pkgdesc="Mycroft Core, the Mycroft Artificial Intelligence platform."
arch=('i686' 'x86_64')
@@ -41,11 +41,18 @@ install=mycroft-core.install
source=("https://github.com/MycroftAI/mycroft-core/archive/release/v${pkgver}.tar.gz"
"mycroft-core.install"
"venv_init"
- "mycroft.service")
-sha512sums=('c673e331a76f6a759b1d57deb0591331899a34236c9350f32ff67fd7737b6d35ad0b3d76891ee154cffdc8132c188b06b0a7fb5e1ea3e2236ac067b0a088dac3'
- '7d387018b88974db86307edc951e347c4fd45f6929df0f5f2ea47b03aafda0f5b6335d1b742642fb5fcca08cbe20586ca2b543aaa3404f0e75bcb62914be568e'
- '6773fd4dbf852d4129a97041677311cff0c25e8b9cf1e822a8b63df6fcb16c4af1d1afc128c375488b479f1892e6173d37accf57c28a0f9ceb6e643dd906ecc6'
- '67c228fb4a25d1ce529d1689e81703284015ab2721cecdac8264a94e1a41e629e6b6cb82566d41744ebce0d84b7e5c54156cc62c447f7b10b41e012682d0e146')
+ "mycroft.service"
+ "notify.patch")
+sha512sums=('8233a1537a299cf663af88b395a9bd4cdff36d8a19064a20b15d57e1511f98841b42fe0affca618a0937148ea1ec1b8997e1d81dbe0ff52c44a599391fa815fd'
+ 'f4649e20c2c9f220ac15d8abcade267a3e40e61e2c82175802fc2e5da726dd051c281c21a96641f41f671bef51d44c5f034a87968f8d747909bc979270ce9baa'
+ '6773fd4dbf852d4129a97041677311cff0c25e8b9cf1e822a8b63df6fcb16c4af1d1afc128c375488b479f1892e6173d37accf57c28a0f9ceb6e643dd906ecc6'
+ '67c228fb4a25d1ce529d1689e81703284015ab2721cecdac8264a94e1a41e629e6b6cb82566d41744ebce0d84b7e5c54156cc62c447f7b10b41e012682d0e146'
+ '650503ad33d7b7f8f5d6bbeb20fc0c8b887f2a20d6009bc67c9a75e38d882df9c1edee550d4d16fc4d34e0dd56689c398c6e832230844bd9f0dfedd770d0b925')
+
+prepare() {
+ cd $srcdir/$pkgname-release-v$pkgver
+ patch -N -i "${srcdir}/notify.patch"
+}
package() {
mkdir -p ${pkgdir}/usr/share/
diff --git a/mycroft-core.install b/mycroft-core.install
index 186a85b1aeeb..99e4d453c91a 100644
--- a/mycroft-core.install
+++ b/mycroft-core.install
@@ -32,4 +32,5 @@ post_remove() {
groupdel mycroft-core
userdel mycroft-core
rm -rf /usr/share/mycroft-core
+ rm -rf /opt/mycroft
}
diff --git a/notify.patch b/notify.patch
new file mode 100644
index 000000000000..6d409d3732f5
--- /dev/null
+++ b/notify.patch
@@ -0,0 +1,12 @@
+--- start-mycroft.sh 2018-06-08 22:18:28.000000000 +0200
++++ start_ew 2018-06-12 10:44:11.821082101 +0200
+@@ -128,9 +128,6 @@
+ function check-dependencies() {
+ if [ ! -f .installed ] || ! md5sum -c &> /dev/null < .installed; then
+ echo "Please update dependencies by running ./dev_setup.sh again."
+- if command -v notify-send >/dev/null; then
+- notify-send "Mycroft Dependencies Outdated" "Run ./dev_setup.sh again"
+- fi
+ fi
+ }
+