1 # Maintainer: Dan Serban
6 pkgdesc="A power tool for working with messy data"
8 url=http://code.google.com/p/google-refine/
10 depends=(java-runtime)
12 source=("http://google-refine.googlecode.com/files/google-refine-2.1-r2136.tar.gz")
13 md5sums=('a40459b47aebbe1f211e0dc7fb9c57d5')
17 mv google-refine-2.1 google-refine
18 chgrp -R users google-refine
19 chmod g+w google-refine
20 mkdir -p "${pkgdir}"/usr/share
21 mv google-refine "${pkgdir}"/usr/share/
22 mkdir -p "${pkgdir}"/usr/bin
23 USRBINFILE="${pkgdir}"/usr/bin/refine
24 echo '#!/bin/bash' > "${USRBINFILE}"
25 echo 'cd /usr/share/google-refine' >> "${USRBINFILE}"
26 echo './refine' >> "${USRBINFILE}"
27 chmod +x "${USRBINFILE}"