Last active
February 9, 2017 08:51
-
-
Save chrismullins/5a645e35d376661829d4 to your computer and use it in GitHub Desktop.
PKGBUILD for Slicer
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: Tomáš Mládek <tmladek [on] inventati [bop] org> | |
# Contributor: Chris <christopher.r.mullins g-mail> | |
pkgname=3dslicer | |
pkgver=4.5.0 | |
pkgrel=2 | |
pkgdesc="A free, open source software package for image analysis and scientific visualization." | |
url="http://slicer.org" | |
arch=('x86_64') | |
license=('BSD') | |
depends=('glu') | |
source=("Slicer-$pkgver-linux-amd64.tar.gz::http://download.slicer.org/bitstream/461634") | |
sha512sums=('c41dbf0248a07fceee1040cf58a7f6b08e7bec7cc306138663d736e6fd2a02545828655d44df346000805102ad4f1947e5d1e301371a652984545079ae511226') | |
package() { | |
install -d "$pkgdir"/opt/3dslicer "$pkgdir"/usr/bin | |
mv "$srcdir/Slicer-$pkgver-1-linux-amd64/"* "$pkgdir/opt/3dslicer" | |
ln -s /opt/3dslicer/Slicer "$pkgdir/usr/bin" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment