From 525f381094c31afc3c2dc29e4d05a1676b451ada Mon Sep 17 00:00:00 2001 From: Fuxino Date: Thu, 1 Jun 2023 17:23:58 +0200 Subject: [PATCH] Remove PKGBUILD Removed PKGBUILD since the packages is available in the AUR. Added a note about AUR in README.md --- PKGBUILD | 42 ------------------------------------------ README.md | 4 +++- 2 files changed, 3 insertions(+), 43 deletions(-) delete mode 100644 PKGBUILD diff --git a/PKGBUILD b/PKGBUILD deleted file mode 100644 index 8db5063..0000000 --- a/PKGBUILD +++ /dev/null @@ -1,42 +0,0 @@ -# PKGBUILD - -# Maintainer: Daniele Fucini - -pkgname=simple_backup -pkgdesc='Simple backup script that uses rsync to copy files' -pkgver=3.2.7 -pkgrel=1 -epoch=1 -url="https://github.com/Fuxino/${pkgname}" -install=simple_backup.install -arch=('any') -license=('GPL3') -makedepends=('python-setuptools' - 'python-build' - 'python-installer' - 'python-wheel') -depends=('python' - 'rsync' - 'python-dotenv') -optdepends=('python-systemd: use systemd log' - 'python-dbus: for desktop notifications') -conflicts=('simple_backup-git') -source=(${pkgname}-${pkgver}.tar.gz::https://github.com/Fuxino/${pkgname}/archive/${pkgver}.tar.gz - https://github.com/Fuxino/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.gz.sig) -validpgpkeys=('7E12BC1FF3B6EDB2CD8053EB981A2B2A3BBF5514') -sha256sums=('9a441bef4d0948d3a93fbfba5dc667fc1adbd0c58bba870461b77e76ff505c77' - 'SKIP') - -build() -{ - cd ${srcdir}/${pkgname}-${pkgver} - python -m build --wheel --no-isolation -} - -package() -{ - cd ${srcdir}/${pkgname}-${pkgver} - python -m installer --destdir=${pkgdir} dist/*.whl - install -Dm644 ${pkgname}.conf ${pkgdir}/etc/${pkgname}/${pkgname}.conf - install -Dm644 man/${pkgname}.1 ${pkgdir}/usr/share/man/man1/${pkgname}.1 -} diff --git a/README.md b/README.md index 09632a5..c872282 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,9 @@ python -m build --wheel python -m installer dist/*.whl ``` -For Arch Linux, a PKGBUILD that automates this process is provided. +For Arch Linux and Arch-based distros, two packages are available in the AUR (aur.archlinux.org): +- **simple_backup** for the release version +- **simple_backup-git** for the git version After installing, copy simple_backup.conf (if you used the PKGBUILD on Arch, it will be in /etc/simple_backup/) to $HOME/.config/simple_backup and edit is as needed.