Skip to content

Instantly share code, notes, and snippets.

@wackywendell
Last active August 29, 2015 14:18
Show Gist options
  • Save wackywendell/bfb461ead4891e583e70 to your computer and use it in GitHub Desktop.
Save wackywendell/bfb461ead4891e583e70 to your computer and use it in GitHub Desktop.
PKGBUILD for Reduce
#Maintainer: Wendell <[email protected]>
pkgname=reduce
pkgver=3.23.130521
pkgrel=1
pkgdesc="Reduce Software for Adding Hydrogens"
url="http://kinemage.biochem.duke.edu/software/reduce.php"
license=('unknown')
arch=('i686' 'x86_64')
depends=()
makedepends=('make')
optdepends=()
source=(http://kinemage.biochem.duke.edu/downloads/software/reduce31/${pkgname}.${pkgver}.linuxi386.gz
http://kinemage.biochem.duke.edu/downloads/software/reduce/reduce_het_dict.txt.zip
http://kinemage.biochem.duke.edu/downloads/software/reduce/reduce_wwPDB_het_dict.txt.zip)
sha256sums=('3cad24fe5f10534f8f60c1e9e00f420cbc3a291dca4f0881a4960bd278ab37ea'
'382802ebb89332dd0a0f208ef5ca6b9cd0ddca5b7a5d6bf8226d5aa1f506a384'
'71827a7e78269ead3c0e1270534302c0a4d2926cfa4fe26fc79bc784871bbc62')
package() {
mv $srcdir/${pkgname}.${pkgver}.linuxi386 $srcdir/${pkgname}
install -D -m755 $srcdir/${pkgname} ${pkgdir}/usr/bin/reduce
install -D -m644 $srcdir/reduce_het_dict.txt ${pkgdir}/usr/local/reduce_het_dict.txt
install -D -m644 $srcdir/reduce_wwPDB_het_dict.txt ${pkgdir}/usr/local/reduce_wwPDB_het_dict.txt
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment