[arch-commits] Commit in jmol/repos/community-any (PKGBUILD PKGBUILD)
Antonio Rojas
arojas at gemini.archlinux.org
Thu May 12 06:51:32 UTC 2022
Date: Thursday, May 12, 2022 @ 06:51:32
Author: arojas
Revision: 1198426
archrelease: copy trunk to community-any
Added:
jmol/repos/community-any/PKGBUILD
(from rev 1198425, jmol/trunk/PKGBUILD)
Deleted:
jmol/repos/community-any/PKGBUILD
----------+
PKGBUILD | 69 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 35 insertions(+), 34 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-05-12 06:51:19 UTC (rev 1198425)
+++ PKGBUILD 2022-05-12 06:51:32 UTC (rev 1198426)
@@ -1,34 +0,0 @@
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-# Contributor: James Spencer <james.s.spencer at gmail.com>
-
-pkgbase=jmol
-pkgname=(jmol jsmol)
-pkgver=14.32.54
-pkgrel=1
-arch=(any)
-url='https://jmol.sourceforge.net'
-license=(LGPL)
-makedepends=(unzip)
-source=(https://sourceforge.net/projects/jmol/files/Jmol/Version%20${pkgver%.*}/Jmol%20$pkgver/Jmol-$pkgver-binary.zip)
-sha256sums=('a5bf19264b675ead3ae72790408e945c92e77c366564355ed73bd2bc1b918bd4')
-
-package_jmol() {
- pkgdesc='A Java 3D viewer for chemical structures'
- depends=(java-runtime)
-
- cd $pkgbase-$pkgver
-
- mkdir -p "$pkgdir"/usr/share/$pkgname
- mkdir -p "$pkgdir"/usr/bin
-
- cp *.jar jmol.sh "$pkgdir"/usr/share/$pkgname
- ln -s /usr/share/$pkgname/$pkgname.sh "$pkgdir"/usr/bin/$pkgname
-}
-
-package_jsmol() {
- pkgdesc='A JavaScript 3D viewer for chemical structures'
- cd $pkgbase-$pkgver
-
- mkdir -p "$pkgdir"/usr/share
- unzip jsmol.zip -d "$pkgdir"/usr/share/
-}
Copied: jmol/repos/community-any/PKGBUILD (from rev 1198425, jmol/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-05-12 06:51:32 UTC (rev 1198426)
@@ -0,0 +1,35 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: James Spencer <james.s.spencer at gmail.com>
+
+pkgbase=jmol
+pkgname=(jmol jsmol)
+pkgver=14.32.54
+pkgrel=2
+arch=(any)
+url='https://jmol.sourceforge.net'
+license=(LGPL)
+makedepends=(unzip)
+source=(https://sourceforge.net/projects/jmol/files/Jmol/Version%20${pkgver%.*}/Jmol%20$pkgver/Jmol-$pkgver-binary.zip)
+sha256sums=('a5bf19264b675ead3ae72790408e945c92e77c366564355ed73bd2bc1b918bd4')
+
+package_jmol() {
+ pkgdesc='A Java 3D viewer for chemical structures'
+ depends=(java-runtime)
+
+ cd $pkgbase-$pkgver
+
+ mkdir -p "$pkgdir"/usr/share/$pkgname
+ mkdir -p "$pkgdir"/usr/bin
+
+ cp *.jar "$pkgdir"/usr/share/$pkgname
+ install -Dm755 jmol.sh "$pkgdir"/usr/share/$pkgname
+ ln -s /usr/share/$pkgname/$pkgname.sh "$pkgdir"/usr/bin/$pkgname
+}
+
+package_jsmol() {
+ pkgdesc='A JavaScript 3D viewer for chemical structures'
+ cd $pkgbase-$pkgver
+
+ mkdir -p "$pkgdir"/usr/share
+ unzip jsmol.zip -d "$pkgdir"/usr/share/
+}
More information about the arch-commits
mailing list