diff options
author | Husam Bilal | 2023-01-15 11:20:37 +0300 |
---|---|---|
committer | Husam Bilal | 2023-01-15 11:20:37 +0300 |
commit | 3adda1c58c728f50480ee669dc237a4962ff8b6c (patch) | |
tree | c9cf5af0daeda6877efdb61711948606018ee790 | |
download | aur-3adda1c58c728f50480ee669dc237a4962ff8b6c.tar.gz |
Initial.
-rw-r--r-- | .SRCINFO | 10 | ||||
-rw-r--r-- | PKGBUILD | 20 |
2 files changed, 30 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..7b571f33f878 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,10 @@ +pkgbase = php-legacy-symlinks + pkgdesc = Symlinks PHP legacy binaries and configuration without the "legacy" suffix + pkgver = 1 + pkgrel = 1 + arch = any + depends = php-legacy + provides = php + conflicts = php + +pkgname = php-legacy-symlinks diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..88b7125490dc --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,20 @@ +# Maintainer: Husam Bilal <me@husam.dev> + +pkgname=php-legacy-symlinks +pkgver=1 +pkgrel=1 +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/etc/" + cd "$pkgdir/etc/" + ln -s php-legacy php +} |