diff options
-rw-r--r-- | .SRCINFO | 1 | ||||
-rw-r--r-- | PKGBUILD | 7 |
2 files changed, 8 insertions, 0 deletions
@@ -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 @@ -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() { |