Remove PKGBUILD
Removed PKGBUILD since the packages is available in the AUR. Added a note about AUR in README.md
This commit is contained in:
parent
e1ba388296
commit
525f381094
42
PKGBUILD
42
PKGBUILD
@ -1,42 +0,0 @@
|
|||||||
# PKGBUILD
|
|
||||||
|
|
||||||
# Maintainer: Daniele Fucini <dfucini@gmail.com>
|
|
||||||
|
|
||||||
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
|
|
||||||
}
|
|
@ -41,7 +41,9 @@ python -m build --wheel
|
|||||||
python -m installer dist/*.whl
|
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.
|
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.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user