updated on Thu Jan 19 12:17:07 UTC 2012
[aur-mirror.git] / google-refine / PKGBUILD
blobaeeaad5c38f3bb71778501b69a26cb931aa4ce4c
1 # Maintainer: Dan Serban
3 pkgname=google-refine
4 pkgver=2.1_r2136
5 pkgrel=1
6 pkgdesc="A power tool for working with messy data"
7 arch=(any)
8 url=http://code.google.com/p/google-refine/
9 license=(BSD)
10 depends=(java-runtime)
11 options=('!strip')
12 source=("http://google-refine.googlecode.com/files/google-refine-2.1-r2136.tar.gz")
13 md5sums=('a40459b47aebbe1f211e0dc7fb9c57d5')
15 build()
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}"