aboutsummaryrefslogtreecommitdiffstats
path: root/community/zendframework/APKBUILD
blob: 9f86220dde4e12eaad094d67a66014cb2af7848b (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
35
36
37
38
39
40
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=zendframework
pkgver=2.2.5
pkgrel=0
pkgdesc="PHP web application framework"
url="http://framework.zend.com/"
arch="noarch"
license="BSD"
depends=""
depends_dev=""
makedepends=""
install=""
subpackages=""
source="https://packages.zendframework.com/releases/ZendFramework-$pkgver/ZendFramework-$pkgver.tgz"

_builddir="$srcdir"/ZendFramework-$pkgver
prepare() {
	local i
	cd "$_builddir"
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
}

build() {
	cd "$_builddir"
}

package() {
	cd "$_builddir"
	mkdir -p "$pkgdir"/usr/share/php/zend
	cp -a "$_builddir"/* "$pkgdir"/usr/share/php/zend/

}

md5sums="00b07173827269bf4ce5b40812f9fcc2  ZendFramework-2.2.5.tgz"
sha256sums="b4b5aaf3667eb333d5095f8f3d7c1701856b97edb6814ec6ec6e0e5e0f1ea7d5  ZendFramework-2.2.5.tgz"
sha512sums="51b2b5618847d21599b99e5286565bd060f186fb07cf2bb4b761f2f5991234ab67278788149ca0a2a8031747030d55a74e450834f47416e49c85a2e809f1c90c  ZendFramework-2.2.5.tgz"