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

pkgname=aphrodite
pkgver=1.0
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' )
source=(http://git.fumseck.eu/cgit/aphrodite/snapshot/$pkgname-$pkgver.tar.gz)
md5sums=('10a9aa2467b2d112a4a83df58f6eca24')

build()
{
    cd $pkgname-$pkgver
    
    make  
}

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