summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD3
2 files changed, 2 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 1bde79d12737..e842cedbb292 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -12,6 +12,6 @@ pkgbase = php-alpm
md5sums = 64708bef3727f94ecdfc88c524fa4ae3
pkgname = php-alpm
- depends = php>=
+ depends = php
depends = pacman>=5.0
diff --git a/PKGBUILD b/PKGBUILD
index 872b037d2bdb..1942bfcae7bf 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -22,8 +22,7 @@ build() {
}
package_php-alpm() {
- php_ver="$(php --version | head -n 1 | awk -F\ '{ print $2 }' | awk -F\. '{ print $1 "." $2 }')"
- depends=("php>=${php_ver}" "pacman>=5.0")
+ depends=("php" "pacman>=5.0")
cd "${pkgname}-${pkgver}"
make INSTALL_ROOT="${pkgdir}" install
echo "extension=${_extname}.so" > "${_extname}.ini"