updated on Wed Jan 18 04:00:29 UTC 2012
[aur-mirror.git] / codeigniter / PKGBUILD
blobcb355a11fc20d63e902c473dac3cac260de19ce2
1 # Maintainer: Zsolt Udvari <udvzsolt@gmail.com>
2 pkgname=codeigniter
3 pkgver=2.1.0
4 pkgrel=2
5 pkgdesc="An object-oriented web-application framework for PHP projects"
6 arch=('any')
7 url="http://codeigniter.com/"
8 license=('other')
9 depends=('php')
10 source=("codeigniter-create-project" "http://downloads.codeigniter.com/reactor/CodeIgniter_$pkgver.zip")
12 md5sums=('6785d8dd7cae1549a08653041e7149aa'
13          '8cb676b0f831114935d7dd1ae2e0d490')
15 build() {
16     true
19 package() {
20     cd "$srcdir/CodeIgniter_$pkgver"
21     install -Dm644 license.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
22     install -d "$pkgdir/usr/share/pear/$pkgname"
23     cp -R index.php application system "$pkgdir/usr/share/pear/$pkgname"
24     install -d "$pkgdir/usr/share/doc/$pkgname"
25     cp -R user_guide/* "$pkgdir/usr/share/doc/$pkgname"
26     install -d "$pkgdir/usr/bin"
27     install -Dm755 ../codeigniter-create-project "$pkgdir/usr/bin"