void-packages/srcpkgs/pymol/template

29 lines
1.1 KiB
Bash

# Template file for 'pymol'
pkgname=pymol
version=2.3.0
revision=2
wrksrc=${pkgname}-open-source-${version}
build_style="python3-module"
makedepends="msgpack-devel python3-numpy freetype-devel libfreeglut-devel glew-devel
glm python3-devel libxml2-devel python3-PyQt5 mmtf-cpp"
depends="python3-numpy tcsh python3-pmw python3-tkinter python3-PyQt5"
short_desc="PyMOL molecular visualization system"
maintainer="Brenton Horne <brentonhorne77@gmail.com>"
license="PyMOL"
homepage="https://pymol.org/"
distfiles="https://github.com/schrodinger/pymol-open-source/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz
https://c.fsdn.com/allura/p/${pkgname}/icon>${pkgname}.png"
checksum="62aa21fafd1db805c876f89466e47513809f8198395e1f00a5f5cc40d6f40ed0
0ea81faaf336becc669a193777d0dca55475d303d1236b57df25cf67ff7c2bcd"
skip_extraction="${pkgname}.png"
case $XBPS_TARGET_MACHINE in
*-musl) broken="segfaults on start";;
esac
post_install() {
vlicense LICENSE
vinstall "${FILESDIR}/${pkgname}.desktop" 755 usr/share/applications
vinstall "${XBPS_SRCDISTDIR}/${pkgname}-${version}/${pkgname}.png" 644 usr/share/pixmaps
}