summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorFanch2018-11-28 14:17:31 +0100
committerFanch2018-11-28 14:17:31 +0100
commitf463df51adcca130c017ec75690caa984fb19bac (patch)
treeb6804f945a6aea0b736bdacb195b4cd452cf8add /PKGBUILD
parentc8b791f4dbfb54a70ffedd6269dd0bd7a8e9d987 (diff)
downloadaur-f463df51adcca130c017ec75690caa984fb19bac.tar.gz
Update Version
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD7
1 files changed, 7 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 295c89e5277c..b29d22816887 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() {