# Maintainer: Tomasz Zok pkgname=x3dna-dssr pkgver=1.6.8_20170328 pkgrel=2 pkgdesc="DSSR, an integrated software tool for Dissecting the Spatial Structure of RNA. Please see: http://forum.x3dna.org/site-announcements/download-instructions/" arch=('x86_64') url="http://x3dna.org/" license=('custom') depends=('glibc') source=("${pkgname}.md5") md5sums=('f40400877c244f196db341968472bb37') package() { if [[ ! -r "../${pkgname}" ]]; then echo 'You must download x3dna-dssr binary on your own from the project webpage' echo 'See: http://forum.x3dna.org/site-announcements/download-instructions/' return 1 fi if ! md5sum --quiet --check "${pkgname}.md5"; then echo 'Invalid checksum!' return 1 fi install -D ../${pkgname} ${pkgdir}/usr/bin/${pkgname} }