diff options
author | George Rawlinson | 2021-12-08 18:56:24 +0000 |
---|---|---|
committer | George Rawlinson | 2021-12-08 18:56:24 +0000 |
commit | e07f505364d4a651d52ca7ecb77e6813b4ceaab0 (patch) | |
tree | 103575ad312cb6d5012a77dc901a03c447f768eb /PKGBUILD | |
parent | ea0a3f04f7a9dc5a98922d71e35cca1387a20ce3 (diff) | |
download | aur-pgformatter.tar.gz |
upgpkg: pgformatter 5.2-2
Provide symlink to /usr/bin so non-interactive shells can find script.
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -1,8 +1,9 @@ -# Maintainer: Marco44 (Marc Cousin) <cousinmarc at gmail dot com> +# Maintainer: George Rawlinson <grawlinson@archlinux.org> +# Contributor: Marco44 (Marc Cousin) <cousinmarc at gmail dot com> pkgname=pgformatter pkgver=5.2 -pkgrel=1 +pkgrel=2 pkgdesc="A PostgreSQL SQL syntax beautifier" arch=('any') url="https://github.com/darold/pgformatter" @@ -37,6 +38,9 @@ package() { unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT make install INSTALLDIRS=vendor DESTDIR="$pkgdir" + # provide symlink in /usr/bin for non-interactive shells + ln -sf /usr/bin/vendor_perl/pg_format "$pkgdir/usr/bin/pg_format" + # delete usr/lib as it's empty ... rm -rf "$pkgdir/usr/lib" |