diff options
author | Paulo Alexandre | 2018-04-11 00:12:36 -0300 |
---|---|---|
committer | Paulo Alexandre | 2018-04-11 00:12:36 -0300 |
commit | 9ef47acdbcf719a46cb37f094978a5fb72fa1bd8 (patch) | |
tree | 7083a8945142ef6808bd054c5e7519f0d288f4ed /PKGBUILD | |
download | aur-9ef47acdbcf719a46cb37f094978a5fb72fa1bd8.tar.gz |
v0.1.3
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..dbdc3bb84d55 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,30 @@ +# Creator: Paulo Alexandre Aquino da Costa <contact at pauloalexandre dot com> + +# Maintainer: Paulo Alexandre Aquino da Costa <contact at pauloalexandre dot com> +pkgname='psync' +pkgver='0.1.3' +pkgrel=1 +pkgdesc='A naive tool for syncing partitions using rsync' +arch=('any') +url="https://github.com/paulequilibrio/${pkgname}" +license=('AGPL3') +depends=('python-docopt' 'python-yaml' 'rsync' 'beep') +makedepends=('git') +install="${pkgname}.install" +source=("git+https://github.com/paulequilibrio/${pkgname}") +sha256sums=('SKIP') + +package() { + install -dm 755 "$pkgdir"/{etc,usr/{bin,share/man/man8,lib/$pkgname/source}} + cd "$pkgname" + install -Dm 644 'LICENSE' "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + install -Dm 644 'examples/simple_config.yaml' "$pkgdir/etc/$pkgname/simple_config.yaml" + install -Dm 755 "documentation/${pkgname}.8" "$pkgdir/usr/share/man/man8/${pkgname}.8" + install -Dm 755 "$pkgname" "$pkgdir/usr/lib/$pkgname/$pkgname" + cd source + install -Dm 644 "__init__.py" "$pkgdir/usr/lib/${pkgname}/source/__init__.py" + install -Dm 644 "helpers.py" "$pkgdir/usr/lib/${pkgname}/source/helpers.py" + install -Dm 644 "bash.py" "$pkgdir/usr/lib/${pkgname}/source/bash.py" + install -Dm 755 "${pkgname}.py" "$pkgdir/usr/lib/${pkgname}/source/${pkgname}.py" + ln -s "/usr/lib/$pkgname/$pkgname" "$pkgdir/usr/bin/$pkgname" +} |