aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2017-05-03 06:18:11 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2017-05-03 06:18:44 +0000
commit2cd9c8b33836eafa35e1f1dc44c15c379097b1dc (patch)
tree94b3f585851a07049bf475f2a4f81fa620b9463e
parentf741c9ab82d6eaf9bf2d86dc12ec97309328335b (diff)
downloadaports-2cd9c8b33836eafa35e1f1dc44c15c379097b1dc.tar.bz2
aports-2cd9c8b33836eafa35e1f1dc44c15c379097b1dc.tar.xz
community/php7-pear-mdb2_driver_pgsql: new aport
Depends of nextcloud-pgsql
-rw-r--r--community/php7-pear-mdb2_driver_pgsql/APKBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/community/php7-pear-mdb2_driver_pgsql/APKBUILD b/community/php7-pear-mdb2_driver_pgsql/APKBUILD
new file mode 100644
index 0000000000..3cb90721c5
--- /dev/null
+++ b/community/php7-pear-mdb2_driver_pgsql/APKBUILD
@@ -0,0 +1,29 @@
+# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
+_php=php7
+pkgname=${_php}-pear-mdb2_driver_pgsql
+_realname=MDB2_Driver_pgsql
+pkgver=1.5.0b4
+pkgrel=0
+pkgdesc="pgsql 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="e3717a412f28e8b93d2c693c021ca2965c02072db91f6fd43ddcfc8913a9bb95ac9a8eb07c9efd6e19d42753c5ae46c2da484c5a7deb83b59673f40ee67c5ad7 MDB2_Driver_pgsql-1.5.0b4.tgz"