diff options
author | vlad | 2015-07-08 15:37:38 +0300 |
---|---|---|
committer | vlad | 2015-07-08 15:37:38 +0300 |
commit | 26480bfb5fb8c00e1842cd9ea5bad97a1538de3c (patch) | |
tree | ce97351bf01f71b29c25e09ebffcf1526d61b7a5 | |
download | aur-26480bfb5fb8c00e1842cd9ea5bad97a1538de3c.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 26 |
2 files changed, 43 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..6df277ef24d0 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = attic + pkgdesc = A deduplicating backup program for efficient and secure backups. + pkgver = 0.16 + pkgrel = 1 + url = https://attic-backup.org/ + arch = i686 + arch = x86_64 + license = BSD + makedepends = python-sphinx + depends = openssl + depends = python-msgpack + optdepends = python-llfuse: Mounting backups as a FUSE filesystem + source = https://pypi.python.org/packages/source/A/Attic/Attic-0.16.tar.gz + md5sums = 9c767c883f7f48bf95e7e5307ce6b5ea + +pkgname = attic + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..c0124b6936e1 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: Beneldr <beneldr (dot) aur (at) gmail (dot) com> + +pkgname=attic +pkgver=0.16 +pkgrel=1 +pkgdesc="A deduplicating backup program for efficient and secure backups." +arch=('i686' 'x86_64') +url="https://attic-backup.org/" +license=('BSD') +depends=('openssl' 'python-msgpack') +optdepends=('python-llfuse: Mounting backups as a FUSE filesystem') +makedepends=('python-sphinx') +source=(https://pypi.python.org/packages/source/A/Attic/Attic-$pkgver.tar.gz) +md5sums=('9c767c883f7f48bf95e7e5307ce6b5ea') + +build() { + cd "$srcdir/Attic-$pkgver/docs" + PYTHONPATH=.. make man +} + +package() { + cd "$srcdir/Attic-$pkgver" + install -D -m644 "docs/_build/man/attic-deduplicatingarchiver.1" "$pkgdir/usr/share/man/man1/attic.1" + install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + python3 setup.py -q install --root="$pkgdir" --optimize=1 +} |