Convert to Python
This commit is contained in:
32
PKGBUILD
Normal file
32
PKGBUILD
Normal file
@ -0,0 +1,32 @@
|
||||
#Arch Linux PKGBUILD
|
||||
#
|
||||
#Maintainer: Daniele Fucini <dfucini@gmail.com>
|
||||
#
|
||||
|
||||
pkgname=simple-backup
|
||||
pkgver=1.4.r0.g97d1a14
|
||||
pkgrel=1
|
||||
pkgdesc='Simple backup script that uses rsync to copy files'
|
||||
arch=('any')
|
||||
url="https://github.com/Fuxino"
|
||||
license=('GPL3')
|
||||
makedepends=('git')
|
||||
depends=('python3'
|
||||
'rsync')
|
||||
install=${pkgname}.install
|
||||
source=(git+https://github.com/Fuxino/${pkgname}.git
|
||||
config)
|
||||
sha256sums=('SKIP'
|
||||
'd8b88cbb4e6d9cae68c1605496880065337484dff8ee4c06dce2578357e95574')
|
||||
|
||||
pkgver()
|
||||
{
|
||||
cd "$pkgname"
|
||||
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
|
||||
}
|
||||
|
||||
package()
|
||||
{
|
||||
install -Dm755 "${srcdir}/${pkgname}/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
|
||||
install -Dm644 "${srcdir}/config" "${pkgdir}/etc/${pkgname}/config"
|
||||
}
|
Reference in New Issue
Block a user