diff options
author | Drew DeVault <sir@cmpwn.com> | 2019-03-11 16:04:34 -0600 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2019-04-03 08:49:55 +0000 |
commit | 8a901de31fa055ed591d487e12f8bb9ffcc0df21 (patch) | |
tree | 10bc98c626703819e94ec25bf0c2eaa0f6fe2cc9 /non-free/mongo-php7-library | |
parent | fffa6ab6963a4a0045f99432ac487957791685ea (diff) | |
download | aports-8a901de31fa055ed591d487e12f8bb9ffcc0df21.tar.bz2 aports-8a901de31fa055ed591d487e12f8bb9ffcc0df21.tar.xz |
community/mongodb: expunge nonfree software
Upstream has switched to a nonfree license.
Diffstat (limited to 'non-free/mongo-php7-library')
-rw-r--r-- | non-free/mongo-php7-library/APKBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/non-free/mongo-php7-library/APKBUILD b/non-free/mongo-php7-library/APKBUILD new file mode 100644 index 0000000000..f419e643d1 --- /dev/null +++ b/non-free/mongo-php7-library/APKBUILD @@ -0,0 +1,33 @@ +# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org> + +_php=php7 +pkgname=mongo-${_php}-library +_realname=mongo-php-library +pkgver=1.4.2 +pkgrel=0 +pkgdesc="High-level abstraction around the lower-level drivers for PHP" +url="https://github.com/mongodb/mongo-php-library" +arch="noarch" +license="Apache-2.0" +makedepends="$depends_dev ${_php}-mongodb" +subpackages="$pkgname-doc" +options="!check" # require mongodb server +source="$_realname-$pkgver.tar.gz::https://github.com/mongodb/$_realname/archive/$pkgver.tar.gz" +builddir="$srcdir"/$_realname-$pkgver + +build() { + cd "$builddir" + return 0 +} + +package() { + cd "$builddir" + mkdir -p "$pkgdir"/usr/share/doc/mongo-${_php}-library/docs + mkdir -p "$pkgdir"/usr/lib/${_php}/vendor/mongodb/mongodb + mv src/* "$pkgdir"/usr/lib/${_php}/vendor/mongodb/mongodb + mv tests "$pkgdir"/usr/lib/${_php}/vendor/mongodb/mongodb/ + mv docs/* "$pkgdir"/usr/share/doc/mongo-${_php}-library/docs + mv LICENSE README.md "$pkgdir"/usr/share/doc/mongo-${_php}-library +} + +sha512sums="c473b85f60fd942f591c712187d68744b95472f11450af5bcd1768d79fb0e3ffe08c486fad72898fe5fd3002e865ea79959767b80830db92bd92d87f52877f33 mongo-php-library-1.4.2.tar.gz" |