[arch-commits] Commit in (gephi gephi/trunk gephi/trunk/PKGBUILD)
Baptiste Jonglez
zorun at archlinux.org
Fri Aug 25 21:01:33 UTC 2017
Date: Friday, August 25, 2017 @ 21:01:33
Author: zorun
Revision: 253660
gephi: Import from AUR
Added:
gephi/
gephi/trunk/
gephi/trunk/PKGBUILD
----------+
PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
Added: gephi/trunk/PKGBUILD
===================================================================
--- gephi/trunk/PKGBUILD (rev 0)
+++ gephi/trunk/PKGBUILD 2017-08-25 21:01:33 UTC (rev 253660)
@@ -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