Skip to content

Instantly share code, notes, and snippets.

@grzanka grzanka/PKGBUILD.sh forked from chrismullins/PKGBUILD.sh
Last active Feb 9, 2017

Embed
What would you like to do?
PKGBUILD for Slicer
# Maintainer: Tomáš Mládek <tmladek [on] inventati [bop] org>
# Contributor: Chris <christopher.r.mullins g-mail>
pkgname=3dslicer
pkgver=4.6.2
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=('e6d50010f35a39bdf207105709220b783a50928f33e1c9a57c12dd90aaac720e235a76ef886a910b78a4c3c76b13ea6428efb2f5870e1557831967a3f4c577b6')
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
You can’t perform that action at this time.