summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 803b5c684e30a7674e246134610c129598ceda2b (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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# Maintainer: Aleksei <aur at devass dot club>
# Contributor: Aloxaf <aloxafx at gmail dot com>
# Contributor: Luis Martinez <luis dot martinez at disroot dot org>
# Contributor: Kazuki Sawada <kazuki@6715.jp>
# Contributor: Lalit Maganti <laitmaganti@gmail.com>
# Contributor: Brendan MacDonell <macdonellba at gmail dot com>

pkgname=s3ql
pkgver=5.2.0
pkgrel=2
pkgdesc="A full-featured file system for online data storage."
arch=('x86_64')
url="https://github.com/s3ql/s3ql"
license=('GPL3')
depends=(
	'python-cryptography'
	'python-defusedxml'
	'python-apsw'
	'python-trio'
	'python-pyfuse3'
)
optdepends=(
	'python-systemd: for enabling systemd support'
	'python-requests: for OAuth2 authentication with Google Storage'
	'python-google-auth: for ADC authentication with Google Storage'
	'python-google-auth-oauthlib: for browser-based authentication with Google Storage'
)
makedepends=('python-setuptools' 'python-pip' 'python-wheel' 'cython')
install=s3ql.install
changelog=ChangeLog.rst
source=("https://github.com/s3ql/s3ql/releases/download/s3ql-${pkgver}/s3ql-${pkgver}.tar.gz")
sha256sums=('150e5f67071af334c98afd123bd95f101d4ba293cf353ae71b34c8e7f90a6155')

prepare() {
	cd "$srcdir/s3ql-${pkgver}"
}

build() {
	cd "$srcdir/s3ql-${pkgver}"
	python setup.py build_cython build_ext --inplace
}

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