blob: ea6d5ae259f663da6cc3494dc49b5a463bda3f3d (
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
|
# Maintainer: Brendan MacDonell <macdonellba at gmail dot com>
pkgname=s3ql
pkgver=2.16
pkgrel=1
pkgdesc="A full-featured file system for online data storage."
arch=('i686' 'x86_64')
url="https://bitbucket.org/nikratio/s3ql/overview"
license=('GPL3')
depends=('python' 'python-apsw' 'python-crypto' 'python-defusedxml' 'python-dugong>=3.2'
'python-llfuse>=0.43' 'python-requests')
makedepends=('gcc')
source=(https://bitbucket.org/nikratio/s3ql/downloads/s3ql-$pkgver.tar.bz2)
md5sums=('2025f88cbc048856ad350246c56ff138')
package() {
cd "$srcdir/$pkgname-$pkgver"
python setup.py install --root="$pkgdir" --optimize=1
install -d -m 755 "$pkgdir/usr/share/doc/$pkgname"
install -m 744 doc/manual.pdf "$pkgdir/usr/share/doc/$pkgname/manual.pdf"
# Install the text versions of the docs and contrib. These can be recursive, so
# `install' isn't particularly useful.
cp -r contrib rst "$pkgdir/usr/share/doc/$pkgname/"
chown -R root:root "$pkgdir/usr/share/doc/$pkgname/"
find "$pkgdir/usr/share/doc/$pkgname" -type f -exec chmod 'g-w,g+r,o-w,o+r' '{}' ';'
}
|