[arch-commits] Commit in gephi/repos (community-x86_64 community-x86_64/PKGBUILD)

Konstantin Gizdov kgizdov at gemini.archlinux.org
Mon Apr 18 20:07:22 UTC 2022


    Date: Monday, April 18, 2022 @ 20:07:21
  Author: kgizdov
Revision: 1187036

archrelease: copy trunk to community-x86_64

Added:
  gephi/repos/community-x86_64/
  gephi/repos/community-x86_64/PKGBUILD
    (from rev 1187035, gephi/trunk/PKGBUILD)

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

Copied: gephi/repos/community-x86_64/PKGBUILD (from rev 1187035, gephi/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2022-04-18 20:07:21 UTC (rev 1187036)
@@ -0,0 +1,36 @@
+# Maintainer: Konstantin Gizdov <arch at kge dot pw>
+# Contributor: Baptiste Jonglez <baptiste--aur at jonglez dot org>
+# Contributor: Morten Linderud <morten at linderud.pw>
+# Contributor: Andreas Krinke <andreas dot krinke at gmx dot de>
+pkgname=gephi
+pkgver=0.9.4
+pkgrel=1
+pkgdesc="An interactive graph visualization and exploration platform"
+arch=('x86_64')
+url="https://gephi.org"
+license=('CDDL' 'GPL3')
+depends=('java-runtime=11' 'java-environment=11' 'libxxf86vm')
+makedepends=('gendesk')
+options=(!strip)
+source=("https://github.com/gephi/gephi/releases/download/v$pkgver/gephi-$pkgver-linux-x64.tar.gz")
+sha256sums=('63419c60b51246c736ef09bf3d1c731a23375f3f1ad9f264a2e07fec87be1bfc')
+
+prepare() {
+  gendesk -n --name "Gephi - The Open Graph Viz Platform" \
+    --pkgname "$pkgname" \
+    --pkgdesc "$pkgdesc"
+}
+
+package() {
+  cd "$srcdir/gephi-${pkgver}"
+  install -d "${pkgdir}/usr/share/java/${pkgname}"
+  cp -r * "${pkgdir}/usr/share/java/${pkgname}"
+  install -d "${pkgdir}/usr/bin"
+  ln -s "/usr/share/java/${pkgname}/bin/gephi" "${pkgdir}/usr/bin/gephi"
+
+  find "${pkgdir}" -type f -iname \*.dll -delete
+  find "${pkgdir}" -type f -iname \*.exe -delete
+  find "${pkgdir}" -type f -name .lastModified -delete
+
+  install -Dm644 "${srcdir}/${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
+}



More information about the arch-commits mailing list