summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3a2d7b3f2be5a443b88a14e731b2e15093115fa0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Maintainer: Husam Bilal <me@husam.dev>

pkgname=php-legacy-symlinks
pkgver=1
pkgrel=2
pkgdesc='Symlinks PHP legacy binaries and configuration without the "legacy" suffix'
arch=('any')
depends=('php-legacy')
provides=('php')
conflicts=('php')

package() {
  install -dm755 "$pkgdir/usr/bin/"
  cd "$pkgdir/usr/bin/"
  ln -s php-legacy php

  install -dm755 "$pkgdir/usr/lib/"
  cd "$pkgdir/usr/lib/"
  ln -s php-legacy php

  install -dm755 "$pkgdir/etc/"
  cd "$pkgdir/etc/"
  ln -s php-legacy php
}