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

Massimiliano Torromeo mtorromeo at archlinux.org
Tue Jul 30 10:27:44 UTC 2019


    Date: Tuesday, July 30, 2019 @ 10:27:43
  Author: mtorromeo
Revision: 495187

upgpkg: openfire 4.4.0-1

Modified:
  openfire/trunk/PKGBUILD

----------+
 PKGBUILD |   20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-07-30 09:37:50 UTC (rev 495186)
+++ PKGBUILD	2019-07-30 10:27:43 UTC (rev 495187)
@@ -2,7 +2,7 @@
 # Contributor: Pierre Schmitz <pierre at archlinux.de>
 
 pkgname=openfire
-pkgver=4.2.3
+pkgver=4.4.0
 pkgrel=1
 pkgdesc="High performance XMPP (Jabber) server."
 arch=('any')
@@ -9,7 +9,7 @@
 url='https://www.igniterealtime.org/projects/openfire/'
 license=('APACHE')
 depends=('java-runtime-headless')
-makedepends=('apache-ant')
+makedepends=('maven')
 backup=('etc/conf.d/openfire'
         'etc/openfire/openfire.xml'
         'etc/openfire/security.xml'
@@ -22,7 +22,7 @@
         'openfire.service'
         'user.conf'
         'tmpfile.conf')
-sha256sums=('9a901bcd06920ccb5b417517db029a4a20b775d49aa39d918a996d4aaf47430c'
+sha256sums=('8f9dbb38cd682337bcc87c383e990e6a50dbb64b0ba7fca037c8c502273d7870'
             'c8a612abee90bdc9a2869e562a4bbbf596159c60adcd23368833a0e2ca27c1d4'
             '3e7bca77161777daefd3533d4d6f42ff7970533c887d6f4b7f1c9fdcf7771d05'
             '8bfa51cf8cc88fc69547a8f6e9e3fb242926ca2a100659363e1a6b332f223ba9'
@@ -29,14 +29,13 @@
             'c63396991984a067d05e21094a664255d6aed2bf294bddd3885a7da75472b886')
 
 build() {
-	cd "$srcdir"/openfire_src/build
-	rm -rf ../src/resources/nativeAuth/
-	ant openfire
+	cd "$srcdir"/Openfire-$pkgver
+	make
 }
 
 package() {
 	cd "$pkgdir"
-	install -dm755 usr/lib usr/share/openfire/resources
+	install -dm755 usr/lib usr/share/openfire/resources usr/share/doc
 	install -dm750 etc/openfire
 
 	cd "$srcdir"
@@ -45,8 +44,7 @@
 	install -Dm644 user.conf "$pkgdir"/usr/lib/sysusers.d/openfire.conf
 	install -Dm644 tmpfile.conf "$pkgdir"/usr/lib/tmpfiles.d/openfire.conf
 
-	cd openfire_src/target/openfire
-	rm -rf bin logs lib/tray.dll
+	cd Openfire-$pkgver/distribution/target/distribution-base
 
 	cp -R conf/* "$pkgdir"/etc/openfire/
 
@@ -54,6 +52,8 @@
 	ln -s /etc/openfire/security "$pkgdir"/usr/share/openfire/resources/security
 
 	cp -R plugins "$pkgdir"/usr/share/openfire/
-	cp -R resources/{database,spank} "$pkgdir"/usr/share/openfire/resources/
+	cp -R resources/{database,spank,nativeAuth} "$pkgdir"/usr/share/openfire/resources/
+	rm -rf "$pkgdir"/usr/share/openfire/resources/nativeAuth/{osx,win}*
 	cp -R lib "$pkgdir"/usr/lib/openfire
+	cp -R documentation "$pkgdir"/usr/share/doc/openfire
 }


More information about the arch-commits mailing list