public
Last active

CakePHP AUR PKGBUILD

  • Download Gist
gistfile1.sh
Shell
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
pkgname=cakephp
pkgver=2.0.6
pkgrel=1
pkgdesc='The Rapid Development Framework for PHP'
arch=('any')
url='http://cakephp.org/'
license=('MIT')
depends=('php')
optdepends=('php-pgsql: PostgreSQL module for PHP'
'php-mssql: Microsoft SQL Server module for PHP'
'php-sqlite: SQLite module for PHP')
install="$pkgname.install"
source=("$pkgname-$pkgver.tar.gz::https://github.com/$pkgname/$pkgname/tarball/$pkgver"
'cake.sh')
md5sums=('19423d3d1fdb59b09fac054353d915ce'
'03a6d03d078a4c3a22fdb1959632defa')
 
package() {
cd "$srcdir/$pkgname-$pkgname-4ed3d35"
install -D -m 644 lib/Cake/LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
install -D -m 644 README "$pkgdir/usr/share/doc/cakephp/README"
cp -R . "$pkgdir/usr/share/cake"
chmod -R 777 "$pkgdir/usr/share/cake/lib/Cake/Console/Templates/skel/tmp"
install -D -m 755 "$srcdir/cake.sh" "$pkgdir/usr/bin/cake"
}

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.