summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b6cf3e00a7bdc5a81e27ae6cef05838151279bd4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Contributor: Crotok <crotok [at] mailbox [dot] org>
# Maintainer: Mélanie Chauvel (ariasuni) <perso@hack-libre.org>

_pkgbase=shub
pkgname=shub-bin
pkgver=2.14.2
pkgrel=1
pkgdesc="Scrapinghub Command Line Client"
arch=("x86_64")
conflicts=("${_pkgbase}")
url="https://github.com/scrapinghub/shub/"
license=("BSD")
provides=("shub=${pkgver}")

source=("https://github.com/scrapinghub/shub/releases/download/v2.14.2/shub-Linux.tar.gz"
        "https://raw.githubusercontent.com/scrapinghub/shub/master/LICENSE")
sha256sums=('268aaf4121bc4f526d7cdeab867a29c14d40ad1dc545e0c28ec91eafcc840e1f'
            '49ea6190a7f081686a8c71faba2f915c9dbdbee99572e7b26612f30098a130a1')

package() {
    install -Dm755 "${srcdir}/dist_bin/shub" "${pkgdir}/usr/bin/shub"
    install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}