From e2b182ebe6414e99ff6afdd4c7ff896ae21e3626 Mon Sep 17 00:00:00 2001 From: "J. King" Date: Mon, 17 May 2021 15:47:26 -0400 Subject: [PATCH] Fix errors in Arch config file --- dist/arch/PKGBUILD | 7 ++++--- dist/arch/config.php | 4 ++-- dist/arch/nginx/arsse.conf | 2 +- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/dist/arch/PKGBUILD b/dist/arch/PKGBUILD index 2266773..17672b1 100644 --- a/dist/arch/PKGBUILD +++ b/dist/arch/PKGBUILD @@ -1,4 +1,3 @@ -_repopath=`dirname $(dirname $(pwd))` pkgname="arsse" pkgver=0.9.1.r10.7abdf05 pkgrel=1 @@ -11,7 +10,9 @@ groups=() depends=() makedepends=("git" "php" "php-intl" "composer") checkdepends=() -optdepends=("php-pgsql: PostgreSQL database support") +optdepends=("php-pgsql: PostgreSQL database support" + "nginx: HTTP server" + "apache: HTTP server") provides=() conflicts=() replaces=() @@ -19,7 +20,7 @@ backup=("etc/webapps/arsse/config.php" "etc/php/php-fpm.d/arsse.conf") options=() install= changelog= -source=("git+file://$_repopath") +source=("git+file://$(dirname $(dirname $(pwd)))") noextract=() md5sums=("SKIP") diff --git a/dist/arch/config.php b/dist/arch/config.php index 1df1635..a6ac33e 100644 --- a/dist/arch/config.php +++ b/dist/arch/config.php @@ -4,5 +4,5 @@ # for possible configuration parameters return [ - 'dbSQLiteFile' => "/usr/lib/arsse/arsse.db", -]; \ No newline at end of file + 'dbSQLite3File' => "/var/lib/arsse/arsse.db", +]; diff --git a/dist/arch/nginx/arsse.conf b/dist/arch/nginx/arsse.conf index 5d2234b..dd45d5a 100644 --- a/dist/arch/nginx/arsse.conf +++ b/dist/arch/nginx/arsse.conf @@ -1,4 +1,4 @@ -root /usr/share/webapps/arsse/www; # adjust according to your installation path +root /usr/share/webapps/arsse/www; location @arsse { # HTTP authentication may be enabled for this location, though this may impact some features