aboutsummaryrefslogtreecommitdiffstats
path: root/community/php7-pear-mdb2_driver_mysql/APKBUILD
blob: f493dc65959719d30b803b1bc50c4a2db12bf3e2 (plain) (blame)
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
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
_php=php7
pkgname=${_php}-pear-mdb2_driver_mysql
_realname=MDB2_Driver_mysql
pkgver=1.5.0b4
pkgrel=0
pkgdesc="mysql MDB2 driver"
url="http://pear.php.net/package/$_realname/"
arch="noarch"
license="LGPL"
depends="${_php}-pear"
options="!check"
source="http://download.pear.php.net/package/$_realname-$pkgver.tgz"
builddir="$srcdir"/$_realname-$pkgver

build()	{
	return 0
}

package() {
	_phpdir="usr/share/${_php}"
	cd "$builddir"
	mkdir -p "$pkgdir"/$_phpdir/PEAR && \
		cp -R MDB2 "$pkgdir"/$_phpdir/PEAR
	mkdir -p "$pkgdir"/$_phpdir/test/$_realname && \
		cp -R tests "$pkgdir"/$_phpdir/test/$_realname
}

sha512sums="2c00d15fb81ff921dcbd6c440a533dd561be0728d41f6ad32d7f68a2a72fd2d527a37534f34ea55d28fd9dbabdcadeb40254a46823c58ae58bd8f6a3e9020e9d  MDB2_Driver_mysql-1.5.0b4.tgz"