diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 16 |
1 files changed, 15 insertions, 1 deletions
@@ -32,7 +32,7 @@ pkgname=( "${pkgbase}-xsl" ) pkgver=7.0.33 -pkgrel=1 +pkgrel=2 pkgdesc='A general-purpose scripting language that is especially suited to web development (old stable 7.0 series)' arch=('i686' 'x86_64') url='http://www.php.net' @@ -215,6 +215,20 @@ build() { cd ../ } +check() { + cd ${srcdir}/${_pkgbase}-${pkgver} + + # Check if sendmail was configured correctly (FS#47600) + ${srcdir}/build/sapi/cli/php -n -r 'echo ini_get("sendmail_path");' | grep -q '/usr/bin/sendmail' + + export REPORT_EXIT_STATUS=1 + export NO_INTERACTION=1 + export SKIP_ONLINE_TESTS=1 + export SKIP_SLOW_TESTS=1 + + ${srcdir}/build/sapi/cli/php -n run-tests.php -n -P {tests,Zend} +} + package_php70() { pkgdesc='A general-purpose scripting language that is especially suited to web development' depends=('libxml2' 'curl' 'libzip' 'pcre') |