Import 2.13-1

This commit is contained in:
Brendan MacDonell 2015-06-13 14:26:34 -07:00
commit d8632ead7e
2 changed files with 50 additions and 0 deletions

21
.SRCINFO Normal file
View file

@ -0,0 +1,21 @@
pkgbase = s3ql
pkgdesc = A full-featured file system for online data storage.
pkgver = 2.13
pkgrel = 1
url = https://bitbucket.org/nikratio/s3ql/overview
arch = i686
arch = x86_64
license = GPL3
makedepends = gcc
depends = python
depends = python-apsw
depends = python-crypto
depends = python-defusedxml
depends = python-dugong>=3.2
depends = python-llfuse>=0.40-3
depends = python-requests
source = https://bitbucket.org/nikratio/s3ql/downloads/s3ql-2.13.tar.bz2
md5sums = 361f74730a1bdc6644e4a1ba23d8782b
pkgname = s3ql

29
PKGBUILD Normal file
View file

@ -0,0 +1,29 @@
# Maintainer: Brendan MacDonell <macdonellba at gmail dot com>
pkgname=s3ql
pkgver=2.13
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.40-3' 'python-requests')
makedepends=('gcc')
source=(https://bitbucket.org/nikratio/s3ql/downloads/s3ql-$pkgver.tar.bz2)
md5sums=('361f74730a1bdc6644e4a1ba23d8782b')
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' '{}' ';'
}