summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD19
2 files changed, 8 insertions, 14 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 5fc17cf3c2ca..75cd592e350e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -3,9 +3,8 @@ pkgbase = php7-symlinks
pkgver = 1
pkgrel = 1
arch = any
- depends = php7
+ depends = php74
provides = php
conflicts = php
pkgname = php7-symlinks
-
diff --git a/PKGBUILD b/PKGBUILD
index 00502920b70e..a46b1220eca5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,25 +5,20 @@ pkgver=1
pkgrel=1
pkgdesc='Symlinks PHP7 binaries and configuration without the "7" suffix'
arch=('any')
-depends=('php7')
+depends=('php74')
provides=('php')
conflicts=('php')
package() {
install -dm755 "$pkgdir/usr/bin/"
cd "$pkgdir/usr/bin/"
- ln -s php7 php
- ln -s php-fpm7 php-fpm
+ ln -s php74 php
+
+ install -dm755 "$pkgdir/usr/lib/"
+ cd "$pkgdir/usr/lib/"
+ ln -s php74 php
install -dm755 "$pkgdir/etc/"
cd "$pkgdir/etc/"
- ln -s php7 php
-
- install -dm755 "$pkgdir/usr/lib/systemd/system/"
- cd "$pkgdir/usr/lib/systemd/system/"
- ln -s php-fpm7.service php-fpm.service
-
- install -dm755 "$pkgdir/run/"
- cd "$pkgdir/run/"
- ln -s php-fpm7 php-fpm
+ ln -s php74 php
}