Update PKGBUILD

This commit is contained in:
Eric Torres 2019-04-12 07:54:37 -07:00
parent e6d86bec20
commit cc453a9fb8

View File

@ -1,19 +1,19 @@
# Maintainer: Eric Torres <erictorres4@protonmail.com>
pkgname=rbackup
pkgver=0.1
pkgver=0.1.1
pkgrel=1
pkgdesc="An rsync-based tool for backing up files"
arch=('any')
url=""
license=('MIT')
depends=(python rsync)
makedepends=('git' 'python-setuptools')
checkdepends=('python-pytest')
makedepends=(python-setuptools)
checkdepends=(python-hypothesis python-pytest)
backup=(etc/$pkgname/backup.conf
etc/$pkgname/etc-include.conf
etc/$pkgname/include-paths.conf
etc/$pkgname/home-exclude.conf)
source=("${pkgname}-${pkgver}.tar.gz")
sha512sums=('SKIP')
sha512sums=('d46504da5c996f041f276b6045d904b9e6b5dfd18781ae7d7d308175ded1b48851c588db42752f539ab412e77a46f5e53c4d0ca08ea3545073bd1a0fce15882b')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
@ -22,7 +22,7 @@ build() {
check() {
cd "${srcdir}/${pkgname}-${pkgver}"
python -m unittest
pytest
}
package() {
@ -44,6 +44,6 @@ package() {
"${pkgdir}/etc/apparmor.d/usr.bin.backup"
# Install documetation
install -Dm644 README.rst \
"${pkgdir}/usr/share/doc/${pkgname}/README.rst"
install -Dm644 README \
"${pkgdir}/usr/share/doc/${pkgname}/README"
}