summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 295c89e5277caab740ddec7f6f00cdd9911ccf7c (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
pkgname=chevereto
pkgver=1.1.0
pkgrel=1
pkgdesc="Chevereto is an image hosting script that allows you to create a beautiful and full-featured image hosting website on your own server."
arch=(any)
url="https://chevereto.com/free"
license=("AGPL")
depends=("php" "php-gd" "mariadb")
install=chevereto.install
options=(emptydirs)

source=(https://github.com/Chevereto/Chevereto-Free/archive/${pkgver}.tar.gz
       chevereto.perm.sh)
md5sums=('694fa397ea504e8eb018c5b8392a7c84'
         'e7add39512c475948c6709a0a6a9c309')



package() {

    mkdir -p "${pkgdir}/usr/share/webapps"
    cp -a Chevereto-Free-$pkgver "${pkgdir}/usr/share/webapps/chevereto"
    
    install -D -m755 "${srcdir}/chevereto.perm.sh" "${pkgdir}/usr/bin/set-chevereto-perm"
}