diff options
author | invik | 2018-02-02 00:32:58 +0100 |
---|---|---|
committer | invik | 2018-02-02 00:32:58 +0100 |
commit | 17e5f49e17c321e8fc75299f6dc72b518214a6e7 (patch) | |
tree | f8fcd0ee5e6adc7b44568d44509125d6d81de523 | |
download | aur-17e5f49e17c321e8fc75299f6dc72b518214a6e7.tar.gz |
first commit
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 31 |
2 files changed, 48 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..b4845b17bed8 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = pymol2 + pkgdesc = Molecular visualization system on an Open Source foundation with PyQt interface + pkgver = 2.0.7 + pkgrel = 1 + url = https://pymol.org/2/ + arch = x86_64 + license = Commercial + provides = pymol2 + conflicts = pymol2 + noextract = PyMOL-2.0.7_0-Linux-x86_64.tar.bz2 + options = !strip + source = https://pymol.org/installers/PyMOL-2.0.7_0-Linux-x86_64.tar.bz2 + sha1sums = 967495b4810f7bf72f914e0f1a3648a4614f258d + sha256sums = c7fb43f512882f250d006d0cb6eda70951d75671c411ca0fd665321820316bd4 + +pkgname = pymol2 + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..179a40112f1d --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: Ricardo RodrÃguez Schmidt <ricrogz at gmail.com> + +pkgname='pymol2' +_pkgname='pymol2' +pkgver='2.0.7' +pkgrel='1' +pkgdesc='Molecular visualization system on an Open Source foundation with PyQt interface' +arch=('x86_64') +options=(!strip) +url='https://pymol.org/2/' +license=('Commercial') +depends=('') +provides=("${_pkgname}") +conflicts=("${_pkgname}") +source=("https://pymol.org/installers/PyMOL-${pkgver}_0-Linux-${arch}.tar.bz2") +sha1sums=('967495b4810f7bf72f914e0f1a3648a4614f258d') +sha256sums=('c7fb43f512882f250d006d0cb6eda70951d75671c411ca0fd665321820316bd4') +noextract=("PyMOL-${pkgver}_0-Linux-${arch}.tar.bz2") +build() { + mkdir -p "${srcdir}/opt/${pkgname}" + bsdtar --strip-components 1 -jxf PyMOL-${pkgver}_0-Linux-${arch}.tar.bz2 \ + -C "${srcdir}/opt/${pkgname}" +} +package() { + mkdir -p "${pkgdir}/usr/bin/" + + rsync -rtl "${srcdir}/opt" "${pkgdir}" + + ln -s "/opt/${pkgname}/bin/pymol" \ + "${pkgdir}/usr/bin/${pkgname}" +} |