[arch-commits] Commit in keycloak/trunk (PKGBUILD)

Sven-Hendrik Haase svenstaro at archlinux.org
Sat May 23 14:12:56 UTC 2020


    Date: Saturday, May 23, 2020 @ 14:12:56
  Author: svenstaro
Revision: 631942

upgpkg: keycloak 10.0.1-2: Put kcadm and kcreg symlinks in /usr/bin for convenience

Modified:
  keycloak/trunk/PKGBUILD

----------+
 PKGBUILD |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-23 14:12:24 UTC (rev 631941)
+++ PKGBUILD	2020-05-23 14:12:56 UTC (rev 631942)
@@ -4,7 +4,7 @@
 pkgname=keycloak
 pkgver=10.0.1
 _postgresql_jdbc=42.2.12
-pkgrel=1
+pkgrel=2
 pkgdesc="Open Source Identity and Access Management For Modern Applications and Services"
 arch=('any')
 url="https://www.keycloak.org/"
@@ -73,6 +73,10 @@
   install -Dm644 "$srcdir"/keycloak.service "$pkgdir"/usr/lib/systemd/system/keycloak.service
   install -Dm644 "$srcdir"/keycloak.sysusers "$pkgdir"/usr/lib/sysusers.d/keycloak.conf
   install -Dm644 "$srcdir"/keycloak.tmpfiles "$pkgdir"/usr/lib/tmpfiles.d/keycloak.conf
+
+  mkdir -p "$pkgdir"/usr/bin
+  ln -s /opt/keycloak/bin/kcadm.sh "$pkgdir"/usr/bin/kcadm
+  ln -s /opt/keycloak/bin/kcreg.sh "$pkgdir"/usr/bin/kcreg
 }
 
 # vim: ts=2 sw=2 et:


More information about the arch-commits mailing list