[arch-commits] Commit in gephi (3 files)

Baptiste Jonglez zorun at archlinux.org
Fri Aug 25 21:06:12 UTC 2017


    Date: Friday, August 25, 2017 @ 21:06:11
  Author: zorun
Revision: 253661

archrelease: copy trunk to community-any

Added:
  gephi/repos/
  gephi/repos/community-any/
  gephi/repos/community-any/PKGBUILD
    (from rev 253660, gephi/trunk/PKGBUILD)

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

Copied: gephi/repos/community-any/PKGBUILD (from rev 253660, gephi/trunk/PKGBUILD)
===================================================================
--- repos/community-any/PKGBUILD	                        (rev 0)
+++ repos/community-any/PKGBUILD	2017-08-25 21:06:11 UTC (rev 253661)
@@ -0,0 +1,35 @@
+# Maintainer: 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.1
+pkgrel=7
+pkgdesc="An interactive graph visualization and exploration platform"
+arch=('any')
+url="http://gephi.org"
+license=('CDDL' 'GPL3')
+depends=('java-runtime' 'libxxf86vm' 'java-environment')
+makedepends=('gendesk')
+options=(!strip)
+source=("https://github.com/gephi/gephi/releases/download/v$pkgver/gephi-$pkgver-linux.tar.gz")
+sha256sums=('f1d54157302df05a53b94e1518880c949c43ba4ab21e52d57f3edcbdaa06c7ee')
+
+prepare() {
+  gendesk --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