summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean Lucas2019-06-21 05:27:33 -0400
committerJean Lucas2019-06-21 05:27:33 -0400
commit703a3e190419047f26897d4848c82ffdfd6866df (patch)
tree2f0ae9d994d959cd567f4b439aeb580033ee11cd
parent92accd797bf08affa35c2377e296527c257251fc (diff)
downloadaur-703a3e190419047f26897d4848c82ffdfd6866df.tar.gz
Remove install, remove package variant optdepends, don't generate keys or use files from the system, no sleeping
-rw-r--r--.SRCINFO7
-rw-r--r--PKGBUILD22
-rw-r--r--searx.install3
3 files changed, 3 insertions, 29 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 275073780f62..848e2f875d75 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,11 +1,8 @@
-# Generated by mksrcinfo v8
-# Mon Apr 8 04:45:33 UTC 2019
pkgbase = searx-git
pkgdesc = Privacy-respecting metasearch engine (git)
- pkgver = 0.15.0+47+ga80a2d05
+ pkgver = 0.15.0+77+g8189b0d1
pkgrel = 1
url = https://asciimoo.github.io/searx/
- install = searx.install
arch = any
license = AGPL3
makedepends = git
@@ -22,9 +19,7 @@ pkgbase = searx-git
depends = python2-requests
depends = python2-pysocks
optdepends = filtron: Filtering reverse-HTTP proxy
- optdepends = filtron-git: Filtering reverse-HTTP proxy (git)
optdepends = morty: Privacy-aware web content sanitizer proxy-as-a-service
- optdepends = morty-git: Privacy-aware web content sanitizer proxy-as-a-service (git)
provides = searx
conflicts = searx
backup = etc/searx.conf
diff --git a/PKGBUILD b/PKGBUILD
index f011502c7436..0736a2b05a99 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
# Contributor: Reventlov <contact+aur at volcanis dot me>
pkgname=searx-git
-pkgver=0.15.0+47+ga80a2d05
+pkgver=0.15.0+77+g8189b0d1
pkgrel=1
pkgdesc='Privacy-respecting metasearch engine (git)'
arch=(any)
@@ -21,13 +21,10 @@ depends=(python2-certifi
python2-pysocks)
makedepends=(git openssl)
optdepends=('filtron: Filtering reverse-HTTP proxy'
- 'filtron-git: Filtering reverse-HTTP proxy (git)'
- 'morty: Privacy-aware web content sanitizer proxy-as-a-service'
- 'morty-git: Privacy-aware web content sanitizer proxy-as-a-service (git)')
+ 'morty: Privacy-aware web content sanitizer proxy-as-a-service')
provides=(searx)
conflicts=(searx)
backup=(etc/searx.conf)
-install=searx.install
source=(git+https://github.com/asciimoo/searx
searx.service
searx.sysusers.d
@@ -47,21 +44,6 @@ prepare() {
# Allow newer versions of Python 2 libraries since we like to break stuff
sed -i 's/==/>=/g' requirements.txt
-
- # Generate super secret key
- sed -i "s/ultrasecretkey\" # change this!/`openssl rand -hex 32`\"/" searx/settings.yml
-
- # Add Morty key if it's installed
- msg2 'Checking for Morty...'
- if [ -f /usr/bin/morty ]; then
- sed -i "s/your_morty_proxy_key/`cat /usr/lib/systemd/system/morty.service |
- grep key | awk '{print $5}'`/" searx/settings.yml &&
- msg2 'Morty found; added key to searx settings.'
- else
- msg2 'Morty not found.'
- fi
-
- sleep 4
}
package() {
diff --git a/searx.install b/searx.install
deleted file mode 100644
index 4c556ece97f5..000000000000
--- a/searx.install
+++ /dev/null
@@ -1,3 +0,0 @@
-post_install() {
- echo 'Settings are at /etc/searx.conf'
-}