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