mirror of
https://github.com/void-linux/void-packages.git
synced 2025-09-04 02:52:58 +02:00
pymol: fix icon
This commit is contained in:
parent
1373552dc0
commit
e8558b788d
1 changed files with 5 additions and 19 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'pymol'
|
# Template file for 'pymol'
|
||||||
pkgname=pymol
|
pkgname=pymol
|
||||||
version=2.5.0
|
version=2.5.0
|
||||||
revision=8
|
revision=9
|
||||||
build_style="python3-module"
|
build_style="python3-module"
|
||||||
build_helper="numpy"
|
build_helper="numpy"
|
||||||
hostmakedepends="python3-setuptools"
|
hostmakedepends="python3-setuptools"
|
||||||
|
@ -13,32 +13,18 @@ short_desc="PyMOL molecular visualization system"
|
||||||
maintainer="Brenton Horne <brentonhorne77@gmail.com>"
|
maintainer="Brenton Horne <brentonhorne77@gmail.com>"
|
||||||
license="custom:PyMOL"
|
license="custom:PyMOL"
|
||||||
homepage="https://pymol.org/"
|
homepage="https://pymol.org/"
|
||||||
distfiles="https://github.com/schrodinger/pymol-open-source/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz
|
distfiles="https://github.com/schrodinger/pymol-open-source/archive/v${version}.tar.gz"
|
||||||
https://c.fsdn.com/allura/p/${pkgname}/icon>${pkgname}.png"
|
checksum="aa828bf5719bd9a14510118a93182a6e0cadc03a574ba1e327e1e9780a0e80b3"
|
||||||
checksum="aa828bf5719bd9a14510118a93182a6e0cadc03a574ba1e327e1e9780a0e80b3
|
|
||||||
0ea81faaf336becc669a193777d0dca55475d303d1236b57df25cf67ff7c2bcd"
|
|
||||||
skip_extraction="${pkgname}.png"
|
|
||||||
|
|
||||||
export PREFIX_PATH="${XBPS_CROSS_BASE}/usr"
|
export PREFIX_PATH="${XBPS_CROSS_BASE}/usr"
|
||||||
# PREFIX_PATH isn't used for the py3 include path
|
# PREFIX_PATH isn't used for the py3 include path
|
||||||
CXXFLAGS="-I${XBPS_CROSS_BASE}/${py3_inc}"
|
CXXFLAGS="-I${XBPS_CROSS_BASE}/${py3_inc}"
|
||||||
|
|
||||||
if [ "$XBPS_TARGET_LIBC" = musl ]; then
|
|
||||||
makedepends+=" libexecinfo-devel"
|
|
||||||
fi
|
|
||||||
|
|
||||||
pre_configure() {
|
|
||||||
if [ "$XBPS_TARGET_LIBC" = musl ]; then
|
|
||||||
# execinfo is linked when building for freebsd, force it for linux with musl
|
|
||||||
vsed -e 's@sys.platform.startswith("freebsd")@True@' \
|
|
||||||
-i setup.py
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
vinstall "${FILESDIR}/${pkgname}.desktop" 755 usr/share/applications
|
vinstall "${FILESDIR}/${pkgname}.desktop" 755 usr/share/applications
|
||||||
vinstall "${XBPS_SRCDISTDIR}/${pkgname}-${version}/${pkgname}.png" 644 usr/share/pixmaps
|
vinstall data/pymol/icons/icon2.svg 644 \
|
||||||
|
usr/share/pixmaps pymol.svg
|
||||||
|
|
||||||
# these tests are written for python2
|
# these tests are written for python2
|
||||||
# LICENSE is vlicense'd
|
# LICENSE is vlicense'd
|
||||||
|
|
Loading…
Add table
Reference in a new issue