summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a8aee1c9e81ab3ca224a7aebbfab63c373c54a31 (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
# Maintainer: Marco Martinelli <marco+libzstd-seek@13byte.com>

pkgname=python-indexed-zstd
pkgver=1.6.0
pkgrel=1
pkgdesc="A bridge for libzstd-seek to python"
arch=('x86_64' 'aarch64')
url="https://github.com/martinellimarco/indexed_zstd"
license=('MIT')
depends=('python' 'zstd')
makedepends=('cython' 'git')
options=(!emptydirs)
source=("${pkgname}-${pkgver}::git+https://github.com/martinellimarco/indexed_zstd.git#tag=v${pkgver}")
provides=("indexed_zstd")
sha384sums=('SKIP')

prepare() {
    cd "$srcdir/${pkgname}-${pkgver}"
    git submodule update --init
}

package() {
    cd "$srcdir/${pkgname}-${pkgver}"
    python setup.py install --root="$pkgdir/" --optimize=1
}