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 /PKGBUILD | |
parent | 12931f236dcc3cb1fc3610f49fc1f91388dee0aa (diff) | |
download | aur-php7-symlinks.tar.gz |
Remove non-generic symlinks
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 19 |
1 files changed, 7 insertions, 12 deletions
@@ -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 } |