blob: d1637f4064dfdaee23681f18f1ef95315227a6a5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Maintainer: Dimitris Kiziridis <ragouel at outlook dot com>
# Contributor: Nils Czernia <nils[at]czserver[dot[de>
pkgname=grav
pkgver=1.6.22
pkgrel=1
pkgdesc="Modern, Crazy Fast, Ridiculously Easy and Amazingly Powerful Flat-File CMS (without Admin plugin)"
arch=("any")
url="https://getgrav.org"
license=("MIT")
provides=('grav')
depends=('php>=7.1.3' 'php-gd' 'php-fpm')
optdepends=('php-apcu: A userland caching module for PHP'
'xdebug: PHP debugging extension'
'apache: A high performance Unix-based HTTP server'
'nginx: Lightweight HTTP server and IMAP/POP3 proxy server')
install=post_install
source=("https://github.com/getgrav/grav/releases/download/${pkgver}/${pkgname}-v${pkgver}.zip"
'post_install')
sha256sums=('e3c84bb2a7a35dea3c0f430f097498e560074da9cfe9d89418a24b7b4f3a4072'
'96ae16816f0032c12d45e7fa912ec275e8ca6735aef6e0d7e7fe5e30d36181ab')
package() {
cd "${pkgdir}"
install -dm0755 usr/share/webapps/${pkgname}
mv ${srcdir}/${pkgname} ${pkgdir}/usr/share/webapps/
cd ${pkgdir}/usr/share/webapps/${pkgname}
chgrp -R http .
find . -type f | xargs chmod 664
find ./bin -type f | xargs chmod 775
find . -type d | xargs chmod 775
find . -type d | xargs chmod +s
umask 0002
rm -Rf *.md composer.json composer.lock
}
|