Date: Thursday, January 12, 2023 @ 07:18:12
Author: grawlinson
Revision: 1383053
archrelease: copy trunk to community-any
Added:
pgformatter/repos/community-any/PKGBUILD
(from rev 1383052, pgformatter/trunk/PKGBUILD)
Deleted:
pgformatter/repos/community-any/PKGBUILD
----------+
PKGBUILD | 112 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 56 insertions(+), 56 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-01-12 07:17:09 UTC (rev 1383052)
+++ PKGBUILD 2023-01-12 07:18:12 UTC (rev 1383053)
@@ -1,56 +0,0 @@
-# Maintainer: George Rawlinson <[email protected]>
-# Contributor: Marco44 (Marc Cousin) <cousinmarc at gmail dot com>
-
-pkgname=pgformatter
-pkgver=5.3
-pkgrel=1
-pkgdesc='A PostgreSQL SQL syntax beautifier'
-arch=('any')
-url='https://github.com/darold/pgformatter'
-license=('BSD')
-depends=('perl')
-makedepends=('git')
-_commit='7fe51997ce020f05efece39174de5e31e7f607fb'
-source=("$pkgname::git+$url#commit=$_commit")
-b2sums=('SKIP')
-
-pkgver() {
- cd "$pkgname"
-
- git describe --tags | sed 's/^v//'
-}
-
-build() {
- cd "$pkgname"
-
- unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
- export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
-
- perl Makefile.PL
- make
-}
-
-check() {
- cd "$pkgname"
-
- unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
- export PERL_MM_USE_DEFAULT=1
-
- make test
-}
-
-package() {
- cd "$pkgname"
-
- 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"
-
- # license
- install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
-}
Copied: pgformatter/repos/community-any/PKGBUILD (from rev 1383052,
pgformatter/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-01-12 07:18:12 UTC (rev 1383053)
@@ -0,0 +1,56 @@
+# Maintainer: George Rawlinson <[email protected]>
+# Contributor: Marco44 (Marc Cousin) <cousinmarc at gmail dot com>
+
+pkgname=pgformatter
+pkgver=5.4
+pkgrel=1
+pkgdesc='A PostgreSQL SQL syntax beautifier'
+arch=('any')
+url='https://github.com/darold/pgformatter'
+license=('BSD')
+depends=('perl')
+makedepends=('git')
+_commit='1ce343debc797b49356c8adc60ef18135b6a78c1'
+source=("$pkgname::git+$url#commit=$_commit")
+b2sums=('SKIP')
+
+pkgver() {
+ cd "$pkgname"
+
+ git describe --tags | sed 's/^v//'
+}
+
+build() {
+ cd "$pkgname"
+
+ unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
+ export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
+
+ perl Makefile.PL
+ make
+}
+
+check() {
+ cd "$pkgname"
+
+ unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
+ export PERL_MM_USE_DEFAULT=1
+
+ make test
+}
+
+package() {
+ cd "$pkgname"
+
+ 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"
+
+ # license
+ install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
+}