summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9da010ff71c91d13d1ec3fd7df99c909f61dee14 (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
# Maintainer: redfish <redfish@galactica.pw>

pkgname=python-pymultihash
_name=pymultihash
pkgver=0.8.2
pkgrel=1
pkgdesc="Python implementation of the multihash specification"
arch=('any')
url="https://pypi.python.org/pypi/pymultihash" license=('MIT')
depends=('python'
         'python-setuptools'
        )
checkdepends=()
source=("https://pypi.io/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")

build() {
    cd "$_name-$pkgver"
    python setup.py build
}

package() {
    cd "$_name-$pkgver"
    python setup.py install --root="$pkgdir" --optimize=1 --skip-build
    chmod -R a+r "$pkgdir" # upstream installer messes up permissions
}

sha256sums=('49c75a1ae9ecc6d22d259064d4597b3685da3f0258f4ded632e03a3a79af215b')