summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0506f0844691ecd9de835a5d96aacbe78cac3235 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: robertfoster
pkgname=cakephp
pkgver=4.0.3
pkgrel=1
pkgdesc='The Rapid Development Framework for PHP'
arch=('any')
url='http://cakephp.org/'
license=('MIT')
depends=('php')
source=("$pkgname-$pkgver.tar.gz::https://github.com/$pkgname/$pkgname/tarball/$pkgver"
        'cake.sh'
	'httpd-cakephp.conf')
md5sums=('ba5308c383a9cec49d003b63da71c6c1'
         'a3a711e2e32fe03976ed7737c22e0c56'
         'd206d584570dc1b740f0c9c252982f6c')
package() {
    cd $srcdir/cakephp-cakephp-*
    mkdir -p $pkgdir/usr/share/webapps
    cp -R $srcdir/cakephp-cakephp-* "$pkgdir/usr/share/webapps/cakephp"
    install -D -m 755 "$srcdir/cake.sh" "$pkgdir/usr/bin/cake"
    install -D -m 755 "$srcdir/httpd-cakephp.conf" "$pkgdir/etc/webapps/cakephp/httpd-cakephp.conf"
    mkdir -p $pkgdir/var/log/httpd/cakephp
}