summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 027392cb3c775bf0870f460991338abce5d2fdf9 (plain)
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
28
# Maintainer: Simon Legner <Simon.Legner@gmail.com>
# Contributor: Raphaƫl Doursenaud <rdoursenaud@gpcsolutions.fr>

pkgname=openrefine
pkgver=3.8.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')
backup=('opt/openrefine/refine.ini')
source=("https://github.com/OpenRefine/OpenRefine/releases/download/$pkgver/openrefine-linux-$pkgver.tar.gz" 'openrefine.sh')
sha512sums=('8567a2b0f3e31fc71d5bd5543507e701bd5efeb0db7ee06a1c8e87e5ceebb5d520adf80fbdd9993bf8b2822963c6eeee2859c9921138f716625e9bb56d3ebd4f'
            '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
}