diff options
author | Stefan Auditor | 2016-06-13 10:46:34 +0200 |
---|---|---|
committer | Stefan Auditor | 2016-06-13 10:46:34 +0200 |
commit | eed4aada6503374801ca83e1749a2f5a4c7716af (patch) | |
tree | e635b5a0cbcb31c38418dc016c8ce94a9a744bd7 | |
download | aur-eed4aada6503374801ca83e1749a2f5a4c7716af.tar.gz |
Initial import php>=7.0.0 version
-rw-r--r-- | .SRCINFO | 20 | ||||
-rw-r--r-- | PKGBUILD | 33 | ||||
-rw-r--r-- | php-ssh.install | 3 |
3 files changed, 56 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..0f949c6febe8 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,20 @@ +pkgbase = php-ssh-unstable + pkgdesc = An SSH2 extension for PHP + pkgver = 1.0 + pkgrel = 1 + url = http://pecl.php.net/package/ssh2 + install = php-ssh.install + arch = i686 + arch = x86_64 + license = PHP + makedepends = php>=7.0.0 + makedepends = git + depends = php>=7.0.0 + depends = openssh + provides = php-ssh + conflicts = php-ssh + source = php-ssh-unstable::git+https://git.php.net/repository/pecl/networking/ssh2.git + sha512sums = SKIP + +pkgname = php-ssh-unstable + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..2c4fae5770cc --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,33 @@ +# Maintainer: Stefan Auditor <stefan.auditor@erdfisch.de> +# Contributor: jsteel <mail at jsteel dot org> +# Please report issues at https://github.com/sanduhrs/arch-aur-php-ssh-unstable + +_pkgname=php-ssh +pkgname=${_pkgname}-unstable +pkgver=1.0 +pkgrel=1 +pkgdesc="An SSH2 extension for PHP" +url="http://pecl.php.net/package/ssh2" +license=('PHP') +arch=('i686' 'x86_64') +depends=('php>=7.0.0' 'openssh') +makedepends=('php>=7.0.0' 'git') +provides=('php-ssh') +conflicts=('php-ssh') +install=${_pkgname}.install +source=("${pkgname}::git+https://git.php.net/repository/pecl/networking/ssh2.git") +sha512sums=('SKIP') + +build() { + cd "${srcdir}/${pkgname}" + phpize + ./configure --prefix=/usr --with-ssh2 + make +} + +package() { + cd "${srcdir}/${pkgname}" + echo ';extension=ssh2.so' > ssh2.ini + install -Dm644 ssh2.ini "${pkgdir}/etc/php/conf.d/ssh2.ini" + make install INSTALL_ROOT="${pkgdir}/" +} diff --git a/php-ssh.install b/php-ssh.install new file mode 100644 index 000000000000..979f363ca619 --- /dev/null +++ b/php-ssh.install @@ -0,0 +1,3 @@ +post_install() { + echo "To enable uncomment ';extension=ssh2.so' in /etc/php/conf.d/ssh2.ini and restart httpd" +} |