summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d5684a592a6183026a6016a08ff116b6c293d720 (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
# 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
    mv $pkgname-$pkgver $pkgname
    
    if [ -d "/srv/http/$pkgname" ];then
        sudo -rf "/srv/http/$pkgname"
    fi  
    
    install -d "$pkgname/srv/http"
}