summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD8
1 files changed, 6 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index f90adf545443..81dfff0e2e9a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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"