Skip to content

anonymous /PKGBUILD
Created

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
inchi PKGBUILD
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')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.