blob: 6cc74a62f3eae4926a560eca8fe60dc925688aa8 (
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
|
# Maintainer: Thomas Schneider <thomas.aur@brainfuck.space>
_pkgname=synapse-s3-storage-provider
pkgname=python3-${_pkgname}
pkgver=1.5.0
pkgrel=0
pkgdesc="Synapse storage provider to fetch and store media in Amazon S3"
arch=('any')
url='https://github.com/matrix-org/synapse-s3-storage-provider'
license=('Apache')
makedepends=('python-setuptools')
depends=('python-boto3' 'matrix-synapse')
source=("${_pkgname}-${pkgver}.tar.gz::${url}/archive/refs/tags/v${pkgver}.tar.gz")
sha256sums=('c162f18be985ba723d0ee9791095741a2465a979b13d690388b6faf4a9f6749f')
build() {
cd ${srcdir}/${_pkgname}-${pkgver}
python setup.py build
}
package() {
cd ${_pkgname}-${pkgver}
python setup.py install --root ${pkgdir}
install -Dm644 ${srcdir}/${_pkgname}-${pkgver}/LICENSE ${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE
}
|