Skip to content

Instantly share code, notes, and snippets.

@alanorth
Last active Oct 4, 2022
Embed
What would you like to do?
PKGBUILD for OpenRefine 3.6.2
# Maintainer: Simon Legner <Simon.Legner@gmail.com>
# Contributor: Raphaël Doursenaud <rdoursenaud@gpcsolutions.fr>
pkgname=openrefine
pkgver=3.6.2
pkgrel=1
pkgdesc="A free, open source power tool for working with messy data and improving it"
arch=('any')
url=https://openrefine.org/
license=('BSD')
depends=('java-runtime>=11' 'bash')
options=('!strip')
source=("https://oss.sonatype.org/service/local/artifact/maven/content?r=releases&g=org.openrefine&a=openrefine&v=${pkgver}&c=linux&p=tar.gz" 'openrefine.sh')
sha512sums=('c8d61d9d496cab5fdd3a1db4d8a6c969b15f75416e51caf5ec94818abdca302cb7fef75b7761ba4204a567807aa7bfb14876a6026e5303589982d2457aa4990c'
'2e3a551c15d99698a3a81051d44514b4e7f1b7c362076d1a9e8b8b3f5902c73f29a2eab367995b078336451037b021a6849219889f97c16524e261cbac180ec1')
package()
{
install -d ${pkgdir}/opt/${pkgname}
cp -a ${srcdir}/${pkgname}-${pkgver}/* ${pkgdir}/opt/${pkgname}
# License
install -d ${pkgdir}/usr/share/licenses/${pkgname}/
install ${srcdir}/${pkgname}-${pkgver}/LICENSE.txt ${pkgdir}/usr/share/licenses/${pkgname}/
# refine is already used by argyllcms
install -d ${pkgdir}/usr/bin
install openrefine.sh ${pkgdir}/usr/bin/openrefine
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment