summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5f6b70aefe00e585b6c9e03f6994aec7210740ad (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
# Maintainer: EndlessEden <eden@deep-rose.org>
# vim: set expandtab ts=2 sw=2:

pkgname=ipget-bin
_pkgname=ipget
pkgver=0.9.1
pkgrel=1
pkgdesc="wget for IPFS: retrieve files over IPFS and save them locally. Binary Version (Requires working go-ipfs)"
arch=('x86_64')
url="https://github.com/ipfs/ipget"
license=('MIT')
makedepends=('go' 'gx' 'gx-go' 'go-ipfs')
depends=('go' 'gx' 'gx-go' 'go-ipfs')
provies=('ipget')
conflicts=('ipget')
source=("http://dist.ipfs.tech.ipns.localhost:8080/ipget/v"${pkgver}"/ipget_v"${pkgver}"_linux-amd64.tar.gz")
sha256sums=('f708fa74af94846460bbdb472dab2393211475bd6a3106ef25772a3275636ffe')

prepare() {
  chmod a+x "${srcdir}/${_pkgname}/ipget"
}

package() {
  install -D "${srcdir}/${_pkgname}/ipget" "${pkgdir}/usr/bin/ipget"
}