diff options
-rw-r--r-- | community/php7-pear-mdb2_driver_mysql/APKBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/community/php7-pear-mdb2_driver_mysql/APKBUILD b/community/php7-pear-mdb2_driver_mysql/APKBUILD new file mode 100644 index 0000000000..f493dc6595 --- /dev/null +++ b/community/php7-pear-mdb2_driver_mysql/APKBUILD @@ -0,0 +1,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" |