Date: Friday, April 22, 2022 @ 07:31:36 Author: arojas Revision: 1187292
archrelease: copy trunk to community-any Added: jmol/repos/community-any/PKGBUILD (from rev 1187291, jmol/trunk/PKGBUILD) Deleted: jmol/repos/community-any/PKGBUILD ----------+ PKGBUILD | 68 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 34 insertions(+), 34 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-04-22 07:31:25 UTC (rev 1187291) +++ PKGBUILD 2022-04-22 07:31:36 UTC (rev 1187292) @@ -1,34 +0,0 @@ -# Maintainer: Antonio Rojas <aro...@archlinux.org> -# Contributor: James Spencer <james.s.spen...@gmail.com> - -pkgbase=jmol -pkgname=(jmol jsmol) -pkgver=14.32.50 -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=('1fd0ed50e8a52e500b84d6b9bc166ea1fe1f391db12a9d0a7e94e21564f212a3') - -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 1187291, jmol/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-04-22 07:31:36 UTC (rev 1187292) @@ -0,0 +1,34 @@ +# Maintainer: Antonio Rojas <aro...@archlinux.org> +# Contributor: James Spencer <james.s.spen...@gmail.com> + +pkgbase=jmol +pkgname=(jmol jsmol) +pkgver=14.32.51 +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=('c036afe4a15fa48715058245510e366eaff79ab8e199eb2977dacfa3d0d9e238') + +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/ +}