summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFanch2018-11-28 14:17:31 +0100
committerFanch2018-11-28 14:17:31 +0100
commitf463df51adcca130c017ec75690caa984fb19bac (patch)
treeb6804f945a6aea0b736bdacb195b4cd452cf8add
parentc8b791f4dbfb54a70ffedd6269dd0bd7a8e9d987 (diff)
downloadaur-chevereto.tar.gz
Update Version
-rw-r--r--.SRCINFO1
-rw-r--r--PKGBUILD7
2 files changed, 8 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a6fe4e381ba..4ad8659a957 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -9,6 +9,7 @@ pkgbase = chevereto
depends = php
depends = php-gd
depends = mariadb
+ optdepends = php-apache: to use the Apache web server
options = emptydirs
source = https://github.com/Chevereto/Chevereto-Free/archive/1.1.0.tar.gz
source = chevereto.perm.sh
diff --git a/PKGBUILD b/PKGBUILD
index 295c89e5277..b29d2281688 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,6 +5,7 @@ pkgdesc="Chevereto is an image hosting script that allows you to create a beauti
arch=(any)
url="https://chevereto.com/free"
license=("AGPL")
+optdepends=('php-apache: to use the Apache web server')
depends=("php" "php-gd" "mariadb")
install=chevereto.install
options=(emptydirs)
@@ -15,6 +16,12 @@ md5sums=('694fa397ea504e8eb018c5b8392a7c84'
'e7add39512c475948c6709a0a6a9c309')
+pkgver() {
+ curl -Is https://github.com/Chevereto/Chevereto-Free/releases/latest | awk -F'/' '/^Location/ {print $NF}' | sed 's/[^[:print:]]//'
+
+}
+
+
package() {