[arch-commits] Commit in (4 files)

Sven-Hendrik Haase svenstaro at gemini.archlinux.org
Fri Nov 12 19:00:19 UTC 2021


    Date: Friday, November 12, 2021 @ 19:00:19
  Author: svenstaro
Revision: 1044664

Add schemacrawler

Added:
  schemacrawler/
  schemacrawler/repos/
  schemacrawler/trunk/
  schemacrawler/trunk/PKGBUILD

----------+
 PKGBUILD |   31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

Added: schemacrawler/trunk/PKGBUILD
===================================================================
--- schemacrawler/trunk/PKGBUILD	                        (rev 0)
+++ schemacrawler/trunk/PKGBUILD	2021-11-12 19:00:19 UTC (rev 1044664)
@@ -0,0 +1,31 @@
+# Maintainer: Sven-Hendrik Haase <svenstaro at archlinux.org>
+
+pkgname=schemacrawler
+pkgver=16.15.11
+pkgrel=1
+pkgdesc="Free database schema discovery and comprehension tool"
+arch=('any')
+url="https://www.schemacrawler.com"
+license=('GPL3')
+depends=('java-runtime' 'graphviz')
+makedepends=('maven' 'java-environment' 'unzip')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/schemacrawler/SchemaCrawler/archive/refs/tags/v${pkgver}.tar.gz")
+sha512sums=('3fdc404969829e91fce3ea7fb9c40866577c5c091b7a52d183017a258fcebfb6093efc2ec10587a9f1465c9b2d7cea52af7bb7fb27fc2298647e6aadf92951ea')
+
+build() {
+  cd SchemaCrawler-$pkgver
+
+  mvn -Ddistrib package
+}
+
+package() {
+  cd SchemaCrawler-$pkgver/schemacrawler-distrib/target
+  unzip schemacrawler-$pkgver-distribution.zip
+  mkdir -p "$pkgdir"/{opt,usr/bin}
+  cp -r schemacrawler-$pkgver-distribution "$pkgdir"/opt/schemacrawler
+  echo -e "#!/bin/bash\ncd /opt/schemacrawler/_schemacrawler\n./schemacrawler.sh" > "$pkgdir"/usr/bin/schemacrawler
+  chmod -R +r "$pkgdir"/opt/schemacrawler
+  chmod +x "$pkgdir"/usr/bin/schemacrawler
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list