summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c5bbef0c5ce687ddc941c4747d064259f3e27fa2 (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
# Maintainer: Willy Micieli <fumseckworld at gmail dot com>
# Contributor: Willy Micieli <fumseckworld at gmail dot com>

pkgname=aphrodite
pkgver=1.2
pkgrel=1
pkgdesc="Manage all server websites from one interface"
arch=('any')
url="https://github.com/fumseck/aphrodite"
license=('GPL3')
depends=('php>=7' 'php-apache' 'apache' 'php-pgsql' 'postgresql' 'sqlite' 'mariadb' 'make' 'git' 'composer' 'php-sqlite' )

build()
{
	composer create-project imperium/aphrodite $pkgname $pkgver 
 
}

package()
{
    cd $srcdir
    
    if [ -d  "/srv/http/$pkgname" ];then
        sudo rm -rf "/srv/http/$pkgname"
    fi
    sudo mv $pkgname "/srv/http"
}