aboutsummaryrefslogtreecommitdiffstats
path: root/community
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2017-05-02 06:30:01 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2017-05-02 06:30:42 +0000
commite115b401082b3b4715cb2339043c8587380ec8d7 (patch)
treeca2ee02bf3e7b853113bc71376d954068f6ff3e3 /community
parentf8f36802410ae561d6adc10566997df4c06f8b30 (diff)
downloadaports-e115b401082b3b4715cb2339043c8587380ec8d7.tar.bz2
aports-e115b401082b3b4715cb2339043c8587380ec8d7.tar.xz
community/php7-pear-mdb2_driver_mysql: new aport
Depends of nextcloud-mysql
Diffstat (limited to 'community')
-rw-r--r--community/php7-pear-mdb2_driver_mysql/APKBUILD29
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"