blob: 85cf9be536ae4cd2a738a8b9972502c1165454a8 (
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
29
30
31
|
# Maintainer: RubenKelevra
pkgname=python-ipfs-api-mount
_pkgname=ipfs-api-mount
pkgver=0.2.1pre_c1c4389
pkgrel=1
pkgdesc="Mount IPFS directory as local FS"
url="https://github.com/SupraSummus/ipfs-api-mount"
depends=('python'
'flake8'
'python-fusepy>=3.0'
'python-ipfshttpclient>=0.4'
'python-protobuf>=3.6'
'python-multibase>=1.0.0')
license=('MIT')
arch=('any')
#source=("${_pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz")
source=("${_pkgname}-${pkgver}.tar.gz::https://codeload.github.com/SupraSummus/ipfs-api-mount/zip/c1c4389c4cab737eefa2cf1b34335f36c7c4d1d3")
b2sums=('8179d967280999ab8a1ba2458de7843ce5c7e097e46194646c7a1db2ef0bb13216d3f92d634fc01e3e48f7057ce555b0e41c0dcc030de8d9e84cfcc7109a65d7')
build() {
# cd $srcdir/${_pkgname}-${pkgver}
cd $srcdir/ipfs-api-mount-c1c4389c4cab737eefa2cf1b34335f36c7c4d1d3/
python setup.py build
}
package() {
# cd $srcdir/${_pkgname}-${pkgver}
cd $srcdir/ipfs-api-mount-c1c4389c4cab737eefa2cf1b34335f36c7c4d1d3/
python setup.py install --root="$pkgdir" --optimize=1
}
|