summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 59dac61c2e2094eb3f7257a554341c84f71446b6 (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=2
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' 'python-setuptools')
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
}