public
anonymous / PKGBUILD
Created

inchi PKGBUILD

  • Download Gist
PKGBUILD
Shell
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
pkgname=inchi
pkgver=1.04
pkgrel=1
pkgdesc="IUPAC InChI utility"
arch=('i686' 'x86_64')
url="http://www.iupac.org/inchi/"
license=('LGPL')
makedepends=('gcc' 'make')
source=("http://www.inchi-trust.org/fileadmin/user_upload/software/inchi-v${pkgver}/INCHI-1-API.ZIP"
"http://www.inchi-trust.org/fileadmin/user_upload/software/inchi-v${pkgver}/INCHI-1-DOC.ZIP")
 
build() {
cd "$srcdir/INCHI-1-API/INCHI/gcc/inchi-1"
make
}
 
package() {
install -Dm755 "$srcdir/INCHI-1-API/INCHI/gcc/inchi-1/inchi-1" "$pkgdir/usr/bin/inchi-1"
 
cd "$srcdir/INCHI-1-DOC"
for pdf in *.pdf; do
install -Dm644 "$pdf" "$pkgdir/usr/share/doc/inchi-1/$pdf"
done
}
 
md5sums=('8447bf108af12fe66eecba41bbc89918'
'4b438cc7da7472577307a2063414c973')

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.