[arch-commits] Commit in schemacrawler/repos (community-any community-any/PKGBUILD)
Sven-Hendrik Haase
svenstaro at gemini.archlinux.org
Fri Nov 12 19:00:38 UTC 2021
Date: Friday, November 12, 2021 @ 19:00:38
Author: svenstaro
Revision: 1044665
archrelease: copy trunk to community-any
Added:
schemacrawler/repos/community-any/
schemacrawler/repos/community-any/PKGBUILD
(from rev 1044664, schemacrawler/trunk/PKGBUILD)
----------+
PKGBUILD | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
Copied: schemacrawler/repos/community-any/PKGBUILD (from rev 1044664, schemacrawler/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD (rev 0)
+++ community-any/PKGBUILD 2021-11-12 19:00:38 UTC (rev 1044665)
@@ -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