vp-build/srcpkgs/pymol/template

29 lines
1.1 KiB
Bash

# Template for 'pymol'
pkgname=pymol
version=2.2.0
revision=1
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"
depends="python3-numpy tcsh python3-pmw python3-tkinter python3-PyQt5"
short_desc="PyMOL molecular visualization system"
homepage="https://${pkgname}.org/"
maintainer="Brenton Horne <brentonhorne77@gmail.com>"
license="${pkgname}"
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"
skip_extraction="${pkgname}.png"
checksum="58d910103dc494c49c86bc8fd6cd94b1a030647f9d72f69fbd7d7ad25fb11233
0ea81faaf336becc669a193777d0dca55475d303d1236b57df25cf67ff7c2bcd"
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
}