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