blob: 91f6d009a7e30881f4dbc255ce47c25dbcbc1778 (
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
33
34
|
# Maintainer: Dylan Ferris <dylan@kanux.org>
pkgname=yii
pkgver=1.1.21
pkgrel=1
pkgdesc='A high-performance component-based PHP framework best for Web 2.0 development.'
arch=('any')
url='http://www.yiiframework.com/'
license=('BSD')
depends=('php')
options=(!strip)
optdepends=(
'php-sqlite: using SQLite database'
'php-pgsql: using PostgreSQL database'
'php-memcache: Memcache support'
'php-apc: APC support'
'php-mcrypt: required by encrypt and decrypt methods'
'php-gd: GD support'
'yii-docs: developer documentation'
)
install='yii.install'
source=("https://github.com/yiisoft/$pkgname/archive/$pkgver.tar.gz")
sha256sums=('584939134395320f956505f135454aa88b25d8858de4a4f2aa0998cbe00bfab0')
package() {
_instdir=/usr/share/webapps/$pkgname
cd $srcdir/$pkgname-$pkgver/framework
install -Dm644 ../LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
mkdir -p $pkgdir/${_instdir}
cp -r . $pkgdir/${_instdir}
install -d $pkgdir/usr/bin/
ln -s ${_instdir}/yiic $pkgdir/usr/bin/yiic
}
# vim:set ts=2 sw=2 et:
|