diff options
author | Husam Bilal | 2023-01-26 02:12:39 +0300 |
---|---|---|
committer | Husam Bilal | 2023-01-26 02:12:39 +0300 |
commit | 68b04fb19d2d5830757765addecc65cc9ee903ac (patch) | |
tree | a47d8bb4cf839fe2a79feaadbe69a0a29997b931 | |
parent | 12931f236dcc3cb1fc3610f49fc1f91388dee0aa (diff) | |
download | aur-68b04fb19d2d5830757765addecc65cc9ee903ac.tar.gz |
Remove non-generic symlinks
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 19 |
2 files changed, 8 insertions, 14 deletions
@@ -3,9 +3,8 @@ pkgbase = php7-symlinks pkgver = 1 pkgrel = 1 arch = any - depends = php7 + depends = php74 provides = php conflicts = php pkgname = php7-symlinks - @@ -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 } |